|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | 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. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Thanks ppl for the quick reply. Sudhamacs, you answered before I got a chance to post the version but here is the information you requested.. Code:
je# uname -srp FreeBSD 6.2-RELEASE i386 je# Don't think that permissions is the issue here since the issue is ls isn't recognizing '2' as a valid operator. Hence ls with the d switch will fail. Another note i should add is that when i hit up (history) i find that the system executes with a space. ls -ld /usr /foo 1>/dev/null/ .. works on they system as .. ls -ld /usr /foo 1 > /dev/null/ ^^Not sure if this is relevant or not. Also, here's some additional information.. Code:
je# ls -l /dev/null crw-rw-rw- 1 root wheel 0, 6 Aug 28 14:35 /dev/null je# ls -l /dev/st* /dev/fd lrwxr-xr-x 1 root wheel 4 Dec 31 1969 /dev/stderr -> fd/2 lrwxr-xr-x 1 root wheel 4 Dec 31 1969 /dev/stdin -> fd/0 lrwxr-xr-x 1 root wheel 4 Dec 31 1969 /dev/stdout -> fd/1 /dev/fd: total 0 crw-rw-rw- 1 root wheel 0, 18 Jul 27 21:37 0 crw-rw-rw- 1 root wheel 0, 20 Jul 27 21:37 1 crw-rw-rw- 1 root wheel 0, 22 Jul 27 21:37 2 je# |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem redirecting output of command to variable | nunovc | Shell Programming and Scripting | 2 | 08-08-2008 01:15 PM |
| Adding custom mesg. when redirecting "exec 2>stderr.err" ? | snurani | Shell Programming and Scripting | 0 | 07-10-2008 01:19 PM |
| Redirecting STDERR message to STDOUT & file at same time | vikashtulsiyan | Shell Programming and Scripting | 10 | 04-09-2008 03:34 PM |
| Redirecting stderr while live | jjinno | Shell Programming and Scripting | 1 | 10-16-2007 04:10 PM |
| redirecting STDOUT & STDERR | jshinaman | Shell Programming and Scripting | 9 | 06-22-2007 01:04 AM |