Thread View: news.software.nntp
3 messages
3 total messages
Started by John F. Morse
Sat, 14 Mar 2009 04:03
Odd file in /var/log/news/OLD directory
Author: John F. Morse
Date: Sat, 14 Mar 2009 04:03
Date: Sat, 14 Mar 2009 04:03
14 lines
1336 bytes
1336 bytes
I have discovered an odd file in the /var/log/news/OLD directory: -rw-r--r-- 1 root root 184320 2006-07-27 11:29 -al No idea what it is, why it is there, nor how to access it with cat, less, mv, rm, .... Debian 3.1 is the OS. Any ideas? -- John
Re: Odd file in /var/log/news/OLD directory
Author: Ray Banana
Date: Sat, 14 Mar 2009 05:01
Date: Sat, 14 Mar 2009 05:01
18 lines
1912 bytes
1912 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid> > I have discovered an odd file in the /var/log/news/OLD directory: > -rw-r--r-- 1 root root 184320 2006-07-27 11:29 -al > No idea what it is, why it is there, nor how to access it with cat, > less, mv, rm, .... Such files are often the result of a typo on the command line. I guess your file will contain the output from a redirected ls command. cat -- -al will show you the content of the file ( -- tells cat that -al is actually the file name and not an option for cat). hth -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Odd file in /var/log/news/OLD directory
Author: John F. Morse
Date: Sat, 14 Mar 2009 05:27
Date: Sat, 14 Mar 2009 05:27
34 lines
2534 bytes
2534 bytes
Ray Banana wrote: > Thus spake "John F. Morse" <xanadu.bbs@example.invalid> > > >> I have discovered an odd file in the /var/log/news/OLD directory: >> -rw-r--r-- 1 root root 184320 2006-07-27 11:29 -al >> No idea what it is, why it is there, nor how to access it with cat, >> less, mv, rm, .... >> > > Such files are often the result of a typo on the command line. I guess > your file will contain the output from a redirected ls command. > > cat -- -al will show you the content of the file ( -- tells cat that -al > is actually the file name and not an option for cat). > > > > hth Yep. It was a portion of /var/log/news from way back. The "rm -- -al" works too. ;-) Thanks for reminding me about the "--" end of options. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads