1.

Solve : Alias in Unix?

Answer»

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

Quote

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.


Discussion

No Comment Found