quoting ''man bash':
'SHELL' holds the user 'login shell' - which does not change when you change your shell interpreter [bash -> csh]. WHereas '$cho $0' gives you your current shell interpreter in a given shell [regardless of your 'login shell'].
Hey, I'm new to Linux. I have a few questions about it. I run Slackware.
After the installation the Linux installation had problems with my old hardware (network card, sound card) so I removed them and Linux would start.
But now, I can't seem to use the network card in Linux because it's not... (3 Replies)
I'm trying to find out what all is involved with setting up SFTP?
1) Do Solaris machines come with a SFTP server and client already installed.
2) If so would I have to install SFTP clients on windows, if I want to transfer files to a Solaris box?
3) If SFTP doesn't come prepackaged would I... (1 Reply)
when you see something like this
export SOMEDATA=.:/somedir/files
what does the ".:" mean?
I think the the "." alone would mean current directory but the ":" together is kind of new to me. (6 Replies)
I have multiple questions
How to list or find only Nov month's files?
How can I get state of process like running, stop, or sleep etc?
How can I check dependences of processes?
plz ans any if u can
thx regards,
Mazhar Hussain (3 Replies)
Hi all
today i gone through worst interview of my life that for hour questions were so basic but i never though about them now i am figuring out answers my self but i would appreciate if you ppl help me ... i am listing some of the questions i remember ..
1 )
$ cat a.sh
#! /usr/bin/ksh... (4 Replies)
hello,
first, I'm quite new to solaris.
I've installed solaris 10 basic (item 4 on the install-menue).
now I had to realize that I don't have any option for connecting the machine from remote. ssh isn't even installed although I've coosed 'yes' for remote access. no matter what solaris is... (10 Replies)
Discussion started by: fourty2
10 Replies
LEARN ABOUT MOJAVE
aliasadm
aliasadm(1M) System Administration Commands aliasadm(1M)NAME
aliasadm - manipulate the NIS+ aliases map
SYNOPSIS
aliasadm -a alias expansion [options comments] optional flags
aliasadm -c alias expansion [ options comments] [ optional flags]
aliasadm -d alias [ optional flags]
aliasadm -e alias [ optional flags]
aliasadm -l alias [ optional flags]
aliasadm -m alias [ optional flags]
aliasadm [-I] [-D domainname] [-f filename] [-M mapname]
DESCRIPTION
aliasadm makes changes to the alias map.
The alias map is an NIS+ table object with four columns:
alias The name of the alias as a null terminated string.
expansion The value of the alias as it would appear in a sendmail /etc/aliases file.
options A list of options applicable to this alias. The only option currently supported is CANON. With this option, if the user
has requested an inverse alias lookup, and there is more than one alias with this expansion, this alias is given prefer-
ence.
comments An arbitrary string containing comments about this alias. The sendmail(1M) command reads this map in addition to the NIS
aliases map and the local /etc/aliases database.
OPTIONS -a Add an alias.
-c Change an alias.
-d Delete an alias.
-e Edit the alias map.
-I Initialize the NIS+ aliases database.
-l List the alias map.
-m Print or match an alias.
-D domainname Edit the map in domain domainname instead of the current domain.
-f filename When editing or listing the database, use filename instead of invoking the editor.
-M mapname Edit mapname instead of mail_aliases.
FILES
/etc/aliases mail aliases for the local host in ASCII format
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO sendmail(1M), attributes(5)NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 12 Dec 2001 aliasadm(1M)