What are some of the everyday commands used for an average user?
What are some of the useful everyday commands used by an average user to accomplish tasks like finding all files containing "xxx" text, unpacking compressed files, finding a certain file doing a search starting from the root, delete, copying, and moving files. I think that the syntax might be different from distro to distro but the main commands would be very helpful. I could look in the man/info pages for more detail on the files to get a better understanding if I run into problems.
Thanx |
finding text in files: grep
(un)packing: gzip, bzip2, tar, cpio finding files: find copy: cp delete: rm move: mv |
Thanxs alot ...will look into them, if you can think of anymore useful ones then I will appreciate it greatly....again thanx
|
also
finding files: locate, updatedb (to update the locate db) making symbolic links e.g. to devices: ln -s to remove a non-empty dir: rm -fR dirname (if you have permission) to change permissions of a file: chmod to copy a dir: cp -r dirname copydirname caid |
man
man -k (alias apropos) whereis which chown chgrp ls :} cd pwd Cheers, Tink |
man pages you might want to read:
shell: bash editor: vi, emacs permissions: chmod, chown watching files: tail reading files: cat, more, less tools: sort, uniq, grep, find, wc, sed, awk programming: perl regular expressions: - http://en2.wikipedia.org/wiki/Regular_expression, - Mastering Regular Expressions (the Hip Owl Book): ISBN 1-56592-257-3 |
All times are GMT -5. The time now is 01:36 AM. |