http://techrepublic.com.com/5138-10877-5716607.html
If you are familiar with Linux, you probably have several commands you would like to see added to the download. What commands are missing?
Discussion on:
DOWNLOAD: 12 useful Linux file manipulation commands
View:
Show:
Ok here is what I say:
1) Show some options with the commands. For example ls -lah is a great command list -long, all (include hidden), and the size in human redable format. rm -rf (recusive, force) is another very useful command for removing directories or just toasting a number of files. cp -r and mv -r are also handy (-r for recursive)
2) df -h for disk free in human readable format.
3) explain chmod xxx. 1 - X, 2 - W, 4 - R.
4) commands to add: mount, umount, shutdown, reboot, less, grep, apropos, su, rpm, tar, lpr, and lpq.
5) Add options to the list. Don't be all inclusive, just common options (like my -r example) or stuff to make their lives easier (eg shutdown -h now)
1) Show some options with the commands. For example ls -lah is a great command list -long, all (include hidden), and the size in human redable format. rm -rf (recusive, force) is another very useful command for removing directories or just toasting a number of files. cp -r and mv -r are also handy (-r for recursive)
2) df -h for disk free in human readable format.
3) explain chmod xxx. 1 - X, 2 - W, 4 - R.
4) commands to add: mount, umount, shutdown, reboot, less, grep, apropos, su, rpm, tar, lpr, and lpq.
5) Add options to the list. Don't be all inclusive, just common options (like my -r example) or stuff to make their lives easier (eg shutdown -h now)
I agree - more detail in the options of each commands and what happened to ps aux, pstree and kill?
These commands also work with Unix and Mac OS X from the terminal window. They are extremely useful when things just don't work in the GUI - I have removed partially downloaded files that the GUI can't delete, killed processes that have hung the system and other tasks that Mac users consider "magic" with the command line.
These commands also work with Unix and Mac OS X from the terminal window. They are extremely useful when things just don't work in the GUI - I have removed partially downloaded files that the GUI can't delete, killed processes that have hung the system and other tasks that Mac users consider "magic" with the command line.
The ps and kill commands are not file commands. This download was for file commands.
The locate cmd is alot quicker than a find -- remember to discuss the updatedb utility.
The which cmd is great to see the full path.
The which cmd is great to see the full path.
now why would you want a simple list when the lists are all there to start with (assuming you had the sense to put at least the basic man pages on)
makewhatis
apropos
are the only two things you really need to know about - makewhatis will make a database of lookup strings to reference man pages - apropos (or whatis - either works) will lookup a command based on a short description string
e.g.
apropos "list directory"
dir (1) - list directory contents
ls (1) - list directory contents
vdir (1) - list directory contents
you can then either check out the man page (using man ) or try --help for some options/info
makewhatis
apropos
are the only two things you really need to know about - makewhatis will make a database of lookup strings to reference man pages - apropos (or whatis - either works) will lookup a command based on a short description string
e.g.
apropos "list directory"
dir (1) - list directory contents
ls (1) - list directory contents
vdir (1) - list directory contents
you can then either check out the man page (using man ) or try --help for some options/info
I'm a newbie in linux. What comes to mind when I read the downloads is "Great! Now, if only I'm told where to start typing these command lines..."
You need to open a terminal emulator if you're in a GUI environment. Which terminal emulator you have handy depends on what GUI environment you're using.
If you're using KDE, you'll have Konsole available to you. If you're using Gnome, it'll be gterm. Either way, there's probably an icon on your taskbar / panel / whatever, at the bottom of the screen, that looks like a computer monitor with a black screen and maybe a command prompt or a seashell attached to it. That icon will open a terminal emulator.
If you're using KDE, you'll have Konsole available to you. If you're using Gnome, it'll be gterm. Either way, there's probably an icon on your taskbar / panel / whatever, at the bottom of the screen, that looks like a computer monitor with a black screen and maybe a command prompt or a seashell attached to it. That icon will open a terminal emulator.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































