![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to create alias | mumashankar | UNIX for Dummies Questions & Answers | 3 | 05-01-2008 11:21 AM |
| Create Alias on Desktop | yodomino6 | UNIX for Dummies Questions & Answers | 0 | 02-19-2008 02:36 PM |
| How to create a alias with an argument | ting123 | UNIX for Dummies Questions & Answers | 1 | 07-11-2007 08:43 PM |
| I want to create a command alias | cstovall | UNIX for Dummies Questions & Answers | 2 | 12-03-2002 10:20 AM |
| How do I create desktop icons for the shell programs I create??? | TRUEST | UNIX Desktop for Dummies Questions & Answers | 7 | 05-15-2002 12:40 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I want to create an alias that will grep the passwd file for the logged in persons username and then it will return the password file entry. I want to pipe the whoami info to the grep command. I have created the following: % alias whopw grep ‘\!*’ /etc/passwd.
I know there is a more efficient way to do this by using the whoami command but I can't figure it out. Please help!! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|