10-29-2007
Thanks cfajohnson, I will try that out......
Well what I am looking for is this - in our zsh environment, when I execute the following command manually;
cd @TEST <Tab> # where TEST is a MNEMONIC defined in the Version control system.
becomes
cd /dev/appli/adaptation/sw/sw_platform/ssun/test
<Tab> key press takes us to the location of the MNEMONIC in our folder structure. I want to replicate the same from within a script.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, :)
When i press TAB key twice at $ prompt i am getting the following mesage
"Display all 3797 possibilities? (y or n)"
could u pls tell me the meaning of this message.
cheers
RRK (1 Reply)
Discussion started by: ravi raj kumar
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to use the TAB key to list directory (or go to directory or file).
For example,
dir1/dir2/file1
now if i do
$ cd /d and hit TAB it should go to 'dir1'.
Thanks (1 Reply)
Discussion started by: welldone
1 Replies
3. HP-UX
Hi,
I'm newbie with HP-UX. My Unix install with DB Oracle. In linux, when we type directory we don't need to type full. We can use Tab key. In Unix, i cannot use Tab key and i need to write whole directory. Other thing, how use Arrow key in Unix? I mean use command already i type.
Is it... (1 Reply)
Discussion started by: mzainal
1 Replies
4. UNIX for Advanced & Expert Users
I am using MKS Toolkit on windows7, i observed that when i use "tab" key to complete a file/dir name converts into lower case.
Eg:
I am having a directory named "Dir1", note "D" is in caps. In unix if i had tried pressing "d" and "<tab>" resulted in no result. However in mksnt toolkit, it... (1 Reply)
Discussion started by: sarbjit
1 Replies
5. Solaris
Hi,
On Solaris 10, how do I enable the auto tab key? For example, on the Linux, I can type few letters and press the tab key. How do I do the same on Solaris?
Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies
6. Shell Programming and Scripting
Hi all,
I have a little problem with my shell script (reading user input, save user input to variable, invisible characters in the log file :()
printf "1. What's your file path?"
/path/to/my/file
read -e FILE
I have invisible characters in my log file (e.g. <ESC> or ^G) when I'm... (3 Replies)
Discussion started by: splendid
3 Replies
7. Shell Programming and Scripting
Hi ,
I am looking to print the whole string from file2.txt but it is only printing 77 but not the whole matched string from File2.txt Any help is appreciated.
Thanks,
Script
awk '
BEGIN {
OFS="\t"
out = "a.txt"}
NR==FNR && NF {a=$0; next}
function print_65_11() {
if... (11 Replies)
Discussion started by: High-T
11 Replies
8. Shell Programming and Scripting
Hello,
I have a very weird problem with my ssh connection. After I log on the server for a while, when I wanted to change directory by pressing Tab key to save some typing, my connection to the server is lost!
First I checked my bash-completion setting, which I could not find any problem with,... (9 Replies)
Discussion started by: yifangt
9 Replies
9. UNIX for Beginners Questions & Answers
I thought I had this figured out but was wrong so am humbly asking for help.
The task is to add an additional column to FILE 1 based on records in FILE 2.
The key is in COLUMN 1 for FILE 1 and in COLUMN 1 OR COLUMN 2 for FILE 2.
I want to add the third column from FILE 2 to the beginning of... (8 Replies)
Discussion started by: andmal
8 Replies
LEARN ABOUT CENTOS
script-email
SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
NAME
script-email - Amanda script to send email notifications
DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the
addresses specified in the MAILTO property.
PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
MAILTO
List of email addresses that will receive an email on command execution. It is a multi-valued property:
property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to
the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require
notification.
define script-tool pre-email {
comment "email me before this DLE is backed up"
plugin "script-email"
execute-on pre-dle-backup
execute-where server
property "mailto" "amanda"
}
define dumptype user-tar-email {
user-tar
script "pre-email"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 SCRIPT-EMAIL(8)