![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Grabing Date from filename and adding to the end of each line in the file. | rkumar28 | Shell Programming and Scripting | 1 | 05-01-2007 09:25 PM |
| What to change my username | alnita | Post Here to Contact Site Administrators and Moderators | 1 | 04-10-2007 05:05 PM |
| Get username in script | willc0de4food | Shell Programming and Scripting | 9 | 02-13-2007 03:00 AM |
| how to find my username? | kirrran | UNIX for Advanced & Expert Users | 2 | 08-07-2006 07:42 PM |
| Grabing a file from a directory | geomonap | Shell Programming and Scripting | 1 | 02-01-2006 04:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Grabing the username
Hi,
Is there a way to grab the username who is running the shell script. I am trying to do is: $ who am i Peterd123 pts/5 Mar 20 09:30 (H0021563.xyz.com) Is there a way to display only the user name above, which is"Peterd123". Thanks Raj |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|