Simplify the Linux commands
From: Adam (adams_forum_at_yahoo.ca)
Date: 03/22/04
- Previous message: Myron Turner: "Memory, Swap Memory and Large throughputs"
- Next in thread: Daniel Ganek: "Re: Simplify the Linux commands"
- Reply: Daniel Ganek: "Re: Simplify the Linux commands"
- Reply: Alex: "Re: Simplify the Linux commands"
- Reply: David Tubbs: "Re: Simplify the Linux commands"
- Reply: Mark Mitchell: "Re: Simplify the Linux commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Mar 2004 08:08:45 -0800
I'm wondering what you all think about the idea of getting rid of some
of the redundant options in the basic commands. For example, ls has
an option -1, which is the same as --width=1. In fact, I think ls
should even not worry about the columns of its output, and just put 1
file per row and have another program, maybe called "cols", which you
can pipe the output to to split it into columns. A lot of the basic
commands have way too many options in my opinion, and if some of them
were removed the commands would be no less powerful.
Of course, some of you might be concerned about
backwards-compatability. A possible solution to this is to simply
rename the simplified commands, for example "files" instead of "ls".
Most UNIX commands are horribly named anyway, so this would fix 2
problems at once. The downside to this approach is that the old
commands still need to be on your system; but maybe over you could
make your scripts would stop using them and they could be removed.
- Previous message: Myron Turner: "Memory, Swap Memory and Large throughputs"
- Next in thread: Daniel Ganek: "Re: Simplify the Linux commands"
- Reply: Daniel Ganek: "Re: Simplify the Linux commands"
- Reply: Alex: "Re: Simplify the Linux commands"
- Reply: David Tubbs: "Re: Simplify the Linux commands"
- Reply: Mark Mitchell: "Re: Simplify the Linux commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|