Computer Hope
Software => BSD, Linux, and Unix => Topic started by: dgigga on October 22, 2013, 01:47:22 PM
-
Hi everyone,
I am a newbie and working on my class assignment. Any help or assistance would be greatly appreciated.
Create an alias called whopw
alias whopw='ypcat passwd | grep `whoami`'
When executed, will the alias output your entry from the ypcat passwd file?
Thanks in advance!
-
Please do not use bold for the whole post.
At a console you can type
man alias
at get concise information about alias.
OR
you can also search the internet the same way.
Here is one of many
(http://manpages.ubuntu.com/manpages/hardy/man1/alias.1posix.html)Ubuntu man pages alias[/url]
DESCRIPTION
The alias utility shall create or redefine alias definitions or write
the values of existing alias definitions to standard output. An alias
definition provides a string value that shall replace a command name
when it is encountered; see Alias Substitution .
...
The CH forum does not do homework. Even a note from Mum.