10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Within a session we have created some aliases. How to unset all the aliases in the session or specific alias? (1 Reply)
Discussion started by: pandeesh
1 Replies
2. Shell Programming and Scripting
Hi all,
I have and alias set in .profile like
alias ll='ls -la'
I am writing a shell script in which i am using "ll" but it gives command not found . Can anyone please tell me how source aliases in the script we write do i need to define it again in every script i write is there any oher... (1 Reply)
Discussion started by: firestar
1 Replies
3. UNIX for Dummies Questions & Answers
I work on a MAC. And i have the need to connect to various servers on a daily basis. So I use aliases in bash shell. The aliases work fine in bash shell. But they dont work with tcsh.
Can anybody clarify what might be wrong? (1 Reply)
Discussion started by: newprofile
1 Replies
4. Solaris
I'm at a bit of a loss here, any help is appreciated...
I have Solaris 10, and in submit.cf, sendmail.cf I have the mail relay setup to our companys relay server which works fine when I type a full email address on the command like (i.e. #echo hello | mail me@work.com).
However, I am trying... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
5. Solaris
According to Sun documentation (Ldoms 1.1 Administration Guide), To access the ldm(1M) man page, add the directory path /opt/SUNWldm/man to the variable $MANPATH. When I add the lines:
MANPATH=$MANPATH:/opt/SUNWldm/man
export MANPATH
to .profile, exit root and re-login, I would have "man ldm"... (5 Replies)
Discussion started by: StarSol
5 Replies
6. Shell Programming and Scripting
Hello:
i have several server with own etc aliases. right now i want to combine it all into a general etc aliases in a new freebsd server. cause it consist hundred thousand of record user inside how to make a shell script to combine it or configure it.
all etc aliases record example: ... (0 Replies)
Discussion started by: peterLfs
0 Replies
7. Shell Programming and Scripting
HI
I have 5000 users on sendmail server, also there entries of these users Mail ID in /etc/mail/aliases as per Diparments. Same Mail ID can occures in Diff Departments as per req.
I have to remove 500 users from server also there entry from /etc/mail/aliases file. which occures many times.
... (1 Reply)
Discussion started by: Kumarsharad
1 Replies
8. UNIX for Dummies Questions & Answers
Is there a way to view what aliases are running on a given session? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
9. Programming
Hi.
I have a C program that is using the **environ pointer and I am trying to set up aliases for a system("/bin/ksh") call. This works for other environment variables but not for the aliases. Does anyone know if this can be done? Thanks ahead of time. (1 Reply)
Discussion started by: mluey61
1 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to make a script that will automatically read incoming mail, parse the recipient, then send a file off to the recipient.
(Name of file = mail.pl)
#!/usr/bin/perl
$mailDir = "/var/spool/mail/"
$user = print `cat <STDIN> | grep To: | cut -b5-`;
print `elm -s Awaiting Mail $user <... (1 Reply)
Discussion started by: ComTec
1 Replies