LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What are some of the everyday commands used for an average user? (https://www.linuxquestions.org/questions/linux-newbie-8/what-are-some-of-the-everyday-commands-used-for-an-average-user-126481/)

statyk 12-16-2003 08:52 PM

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

AltF4 12-16-2003 09:13 PM

finding text in files: grep
(un)packing: gzip, bzip2, tar, cpio
finding files: find
copy: cp
delete: rm
move: mv

statyk 12-16-2003 09:17 PM

Thanxs alot ...will look into them, if you can think of anymore useful ones then I will appreciate it greatly....again thanx

caid 12-16-2003 09:24 PM

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

Tinkster 12-16-2003 09:39 PM

man
man -k (alias apropos)
whereis
which
chown
chgrp
ls :}
cd
pwd



Cheers,
Tink

AltF4 12-16-2003 09:47 PM

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.