9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
We want to add the 'from' email address to mailx command in all our linux script. After searching this site I am able to find the command '-- -f' to add the from the email address. Bu the problem is our from email address is :- "Proper Support Name <support@company.com>"
Now when I... (6 Replies)
Discussion started by: Amey Joshi
6 Replies
2. UNIX for Dummies Questions & Answers
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies
3. Shell Programming and Scripting
Hi
i have a user "SYSTEM"
i want to set the below command in his .profile for an alias:
who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}
i tried as below:
alias stop = " who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}"
... (3 Replies)
Discussion started by: joycesolomon
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have created alias in UNIX environment (ie in .cshrc file). But when i use the alias in the UNIX script, getting an error message as that is not found. But when i use that alias, outside the script it is working fine.
Let me know if you need more details
For example:
alias cderror... (6 Replies)
Discussion started by: Naveen_5960
6 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a software package consisting of a group of BASH shell scripts. There is a master script which calls a series of subscripts. To run the software users must open the master script, modify and save it, and then run it. To open the script you can either double-click on it, or you can... (2 Replies)
Discussion started by: msb65
2 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I have a requirement for which i need to create an aliase for an username(userid) .
suppose the user name is "sanjay.sahoo@localhost.localdomain " . If i will send to any user from this userid then all of them will see from: "the alias of the userid not the... (1 Reply)
Discussion started by: sanjay.login
1 Replies
7. UNIX for Dummies Questions & Answers
i used 'alias' command for a set of daily used long commands. But i noticed they are gone once i log out of the ssh session.
Can any one plz let me know if there is a way to set it permanently for my user. (1 Reply)
Discussion started by: pharos467
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have to set up a printer in the system.Generally the alias is given like sdclbl1 etc.So when I ping i get the IP address.
This time they have provided the IP adress.Is there any way to find the alias from this.Ping did not give the alias.
Thanks and Regards,
Gideon. (2 Replies)
Discussion started by: preethgideon
2 Replies
9. Shell Programming and Scripting
how implement functionality alias in the same way as in csh? (use Bourne type sh or bash) (3 Replies)
Discussion started by: sunhata
3 Replies