![]() |
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 |
| Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bilski: What It Means, Part 1 -- Red Hat on What It Means for FOSS | iBot | UNIX and Linux RSS News | 0 | 03-01-2009 04:05 PM |
| logfile | naveeng.81 | Shell Programming and Scripting | 1 | 04-07-2008 11:32 AM |
| last month's logfile | deep_kol | Shell Programming and Scripting | 2 | 06-26-2007 02:27 PM |
| sort a logfile | joerg | Shell Programming and Scripting | 7 | 06-23-2004 01:28 AM |
| get last section from large logfile | kburrows | Shell Programming and Scripting | 9 | 05-23-2004 07:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
$who and $logfile = a script variable, defined by the writer. Would have to see more of the script to tell you.
>> = append the output of a command (or in your case, value of the $who variable) to the end of a file. 2>&1 means to direct both STDOUT and STDERR to the same place, typically for logging purposes or even to suppress output of a script (like with cron) In conclusion, it will append STDOUT and STDERR of $who to $logfile Last edited by chompy; 08-19-2009 at 02:34 AM.. Reason: Forgot my conclusion |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|