![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| please help me regarding alias | naree | Shell Programming and Scripting | 17 | 06-03-2008 04:14 AM |
| How to get the alias,when we have the IP. | preethgideon | UNIX for Dummies Questions & Answers | 2 | 07-24-2007 02:53 PM |
| alias help | shafique | UNIX for Dummies Questions & Answers | 5 | 10-03-2006 12:56 PM |
| alias | klannon | Filesystems, Disks and Memory | 6 | 04-27-2006 08:36 AM |
| using alias... | DebianJ | UNIX for Advanced & Expert Users | 2 | 05-12-2005 09:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Alias
I'm trying to do the following:
Create an alias called whopw that will change directory to the /etc directory and grep the password file for my username to return my password file entry. One assumption: Once the alias works, I will be letting all of my friends copy and use it. In other words, the alias must locate their password entry when it is run by them without them having to make any changes to the alias. I think the string 'who' could help solve my problem. Any suggestions? |
|
||||
|
Do both a "who" and "whoami" to see if the output of either of those commands might help. Make sure you understand nesting a command inside another. Research running commands inside of parentheses, and what that does for you. And although you might not need it for this particular assignment, make sure you understand piping the output of a command into the next.
And finally, make sure you understand the rules of this forum regarding homework assignments. Good luck! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|