[clug] Command of the Hour
Michael James
Michael.James at csiro.au
Tue Sep 16 02:14:56 GMT 2008
On Tue, 16 Sep 2008 04:25:35 am Ian wrote:
> random, obscure and useful commands
lsof
# What mis-begotten spawn of the devil has bound my http port?
> lsof -i:http
# The service is running but outside clients can't see it.
# What ports do I need to open in the firewall?
> lsof -i -u squeezecenter
# And I couldn't have come up with the last example without "man"
> man lsof
Lots of stuff about how to run lsof
# Which brings up my least favourite command, ever seen this?
"The full documentation for ls is maintained as a Texinfo manual.
If the info and ls programs are properly installed at your site,
the command
info coreutils 'ls invocation'
should give you access to the complete manual."
# So try it ... 8^(
> info ls
You will be plunged into an emaxian hell
from which there are only 2 escapes:
- A PhD in computing science
- Closing the shell window
# Further study will reveal that all this pain
# is a primitive* attempt to implement hyperlinks.
# The web provides a useful implementation so try:
http://localhost/cgi-bin/info2html
# And I couldn't finish without mentioning the Command of the Century
> rsync
# And then there's the Command of the Next Century
> refloat <path 1> <path2>
Which finds similar branches below the paths given,
and is an antidote to one to many rsync commands.
my $.02
--
Michael James michael.james at csiro.au
System Administrator voice: 02 6246 5040
CSIRO Bioinformatics Facility fax: 02 6246 5166
No matter how much you pay for software,
you always get less than you hoped.
Unless you pay nothing, then you get more.
* For values of "primitive" < "the big bang"
More information about the linux
mailing list