![]() |
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 |
| understanding the prstat log | dipashre | SUN Solaris | 9 | 01-29-2009 04:37 PM |
| Understanding cut | krishmaths | Shell Programming and Scripting | 3 | 01-22-2009 07:46 AM |
| Understanding ZFS: Compression | iBot | Solaris BigAdmin RSS | 0 | 11-19-2008 05:40 PM |
| need further understanding of init.d | jigarlakhani | UNIX for Advanced & Expert Users | 1 | 09-20-2002 03:11 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Understanding 2>&1
Hi,
I have this line in a script: if mt -f /dev/nst0 rewind > /tmp/status_nst0.log 2>&1 ; then [more code] What does the 2>&1 mean? I think the line is saying that after rewinding the device if the log file does not exist then execute the code but I do not understand the contribution of the 2>&1. Thanks! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|