Full Disclosure mailing list archives
Re: FAT32 input > output = null?
From: Nico Golde <nion () gmx net>
Date: Thu, 8 Apr 2004 11:50:18 +0200
Hallo chris, * chris <chris () defcon org> [2004-04-08 11:20]:
This also works with the 2.4.24 Linux kernel (Slackware 9.1): chris@roamer:~$ more testfile.txt Let's try this in Linux chris@roamer:~$ ls -al testfile.txt - -rw-r--r-- 1 chris users 24 Apr 7 12:43 testfile.txt chris@roamer:~$ testfile.txt>testfile.txt - -bash: ./testfile.txt: Permission denied chris@roamer:~$ more testfile.txt chris@roamer:~$ ls -al testfile.txt - -rw-r--r-- 1 chris users 0 Apr 7 12:44 testfile.txt chris@roamer:~$
i don't understand your problem. i tried: [nico@golde:~] $ ls -al test -rw-r--r-- 1 nico users 6 2004-04-08 11:46 test [nico@golde:~] $ test>test [nico@golde:~] $ ls -al test -rw-r--r-- 1 nico users 0 2004-04-08 11:47 test but it is not wondering because you put the output of the first command in the file after the >. because you have not a real command and you have no real output you overwrite the file with an empty output stream and the file is 0 byte after it. haven't i understand your problem correctly? regards nico -- Nico Golde | nico () ngolde de | 310777820@ICQ | nion () gmx net http://www.ngolde.de | GnuPG Key: http://www.ngolde.de/gpg/nico_golde.gpg Fingerprint | FF46 E565 5CC1 E2E5 3F69 C739 1D87 E549 7364 7CFF vim -c ":%s/^/WhfgTNabgureRIvzSUnpxreT-Tavba/|:%s/[R-T]/ /Ig|:normal ggVGg?" _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- FAT32 input > output = null? morning_wood (Apr 06)
- Re: FAT32 input > output = null? bipin gautam (Apr 07)
- <Possible follow-ups>
- Re: FAT32 input > output = null? chris (Apr 07)
- Re: FAT32 input > output = null? Chris Palmer (Apr 07)
- Re: FAT32 input > output = null? jamie (Apr 08)
- Re: FAT32 input > output = null? madsaxon (Apr 08)
- Re: FAT32 input > output = null? Chris Palmer (Apr 07)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? Nico Golde (Apr 08)
- Re: FAT32 input > output = null? Hugh Mann (Apr 07)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? J.A. Terranson (Apr 07)
- RE: FAT32 input > output = null? Aditya, ALD [Aditya Lalit Deshmukh] (Apr 08)
- Re: FAT32 input > output = null? morning_wood (Apr 08)
- Re: FAT32 input > output = null? Harlan Carvey (Apr 08)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? Frederic Pasteleurs (Apr 08)
- Re: FAT32 input > output = null? harry (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)