10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. Shell Programming and Scripting
I have a script I'm working on. I needed to figure out a way to display the following information for our Linux servers: What application runs on the server (app), who owns the application (owner) and the hostname.
This is done by looking at a text file "test_owner_list" that has info like... (2 Replies)
Discussion started by: lombardi4851
2 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am required to create a bash shell script with either emacs or vi. It must include the year 2014 calendar on... (9 Replies)
Discussion started by: dandanhelpmeman
9 Replies
4. Fedora
Hey guys,
Not sure if this is the best place for this question, but, after using Fedora now for about a year, I'm still getting used to it but I'm using it practically all the time now and instead of having a dual boot with Windows 7, I want to create an image of my Windows 7 installation,... (3 Replies)
Discussion started by: jimbob01
3 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
How do I create shortcuts? For example:
I just want to type one key "l" and have it output the command of "ls -lah"
I believe it's creating a file called l with 755 permissions but I'm not sure where to put the file.
*if it matters, I'm on a shared hosting web server using cPanel with... (2 Replies)
Discussion started by: ijustsawmars
2 Replies
7. Shell Programming and Scripting
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
8. UNIX for Dummies Questions & Answers
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
9. AIX
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies
10. UNIX for Dummies Questions & Answers
Hi
I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message
No utpmx entry: you must exec "login" from lowest level "shell" :confused:
What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies
AMSERVERCONFIG(8) System Administration Commands AMSERVERCONFIG(8)
NAME
amserverconfig - program to setup initial Amanda configuration
SYNOPSIS
amserverconfig config [--template template] [--no-vtape] [--tapetype tapetype] [--tpchanger tpchanger] [--tapedev tapedev]
[--changerfile changerfile] [--changerdev changerdev] [--labelstr labelstr] [--mailto mailto] [--dumpcycle dumpcycle]
[--runspercycle runspercycle] [--runtapes runtapes] [--tapecycle tapecycle] [--help]
DESCRIPTION
After Amanda rpms are successfully installed, amserverconfig will setup initial Amanda configuration files. It will create
/var/lib/amanda/guntar-lists directory if one does not exist. amserverconfig does not change existing Amanda configurations.
amserverconfig must be run by user amandabackup.
OPTIONS
Options may be abbreviated, as long as the abbreviation is not ambiguous. Option argument can either separated by '=' or a space. Example:
--templ=harddisk --tapedev /dev/nst0
amserverconfig builds a new "config" Amanda configuration. Customize the configuration with the options below.
--template template
build Amanda configuration with pre-configured template files. Currently, harddisk, single-tape, tape-changer and S3 are the valid
inputs for this option. Pre-configured template files can be found in /var/lib/amanda/template.d. This option may be combined with
other options.
If tape-changer is chosen for this option, program mtx is required. amserverconfig will search for mtx in the following directory:
"/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and amandabackup's PATH.
If harddisk is chosen and --no-vtape is not specified, amserverconfig will create and label virtual tape
file://var/lib/amanda/vtapes/$config.
--no-vtape
Do not create virtual tapes in the harddisk template case.
--tapedev tapedev
The path name of non-rewinding tape device. default [file://var/lib/amanda/vtapes/$config]
--tpchanger tpchanger
The name of the tape changer. default [chg-disk]
--changerdev changerdev
A tape changer configuration parameter. default [/dev/null]
--changerfile changerfile
A tape changer configuration parameter. default [/etc/amanda/$config/changer.conf]
--labelstr labelstr
The tape label constraint regular expression. default [^$config-[0-9][0-9]*$]
If this option is used with --template=harddisk, only alphanumeric string is supported.
--tapetype tapetype
The type of tape drive associated with tapedev or tpchanger. default [HARDDISK]
--mailto mailto
A space separated list of recipients for mail reports. default [amandabackup]
--dumpcycle dumpcycle
The number of days in the backup cycle. default [1week]
--runspercycle runspercycle
The number of days in the backup cycle. default [5]
--runtapes runtapes
The maximum number of tapes used in a single run. default [1]
--tapecycle tapecycle
The size of tape rotation. default [25]
--help
Display usage.
FILES
/var/lib/amanda/template.d
Amanda configuration template files install location
/var/lib/amanda
amandabackup home directory
/var/lib/amanda/gnutar-lists
A directory which contains backup timestamp and list of files backed up.
/etc/amanda/$config
Amanda configuration files location for $config(e.g: DailySet1).
/etc/amanda/template.d
A directory contains dumptypes and tapetypes files used by all Amanda configurations.
/etc/amandates
Amanda file on the client. It keeps track of structures of previous dumps.
/tmp/amanda
directory contains Amanda debug log files.
RETURN VALUE
On success, zero is returned. On error, 1 is returned.
SEE ALSO
amanda(8), amanda.conf(5), amaddclient(8)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Kevin Till <kevin.till@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMSERVERCONFIG(8)