|
|
UNIX commands for newbies
|
|
|
|
Mac Enthusiast
Join Date: Mar 2003
Location: Outside of Boston, MA
Status:
Offline
|
|
is there a website out there that can give a new unix user a simple list of commands and what they do?
|
Another PC to PB17 Switcher
Became the proud new owner of a PB17 on 03/22/03
http://www.mattmargolis.com (Part of the Vast Right-Wing Conspiracy)
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2002
Location: Manitoba
Status:
Offline
|
|
probably but the man command can do alot for you to there is not an entry for every commandline application but most:
man <whateverapp>
example:
man grep
Code:
GREP(1) GREP(1)
NAME
grep, egrep, fgrep - print lines matching a pattern
SYNOPSIS
grep [options] PATTERN [FILE...]
grep [options] [-e PATTERN | -f FILE] [FILE...]
DESCRIPTION
Grep searches the named input FILEs (or standard input if
no files are named, or the file name - is given) for lines
containing a match to the given PATTERN. By default, grep
prints the matching lines.
In addition, two variant programs egrep and fgrep are
available. Egrep is the same as grep -E. Fgrep is the
same as grep -F.
OPTIONS
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status:
Offline
|
|
Originally posted by Sarah31:
probably but the man command can do alot for you to there is not an entry for every commandline application but most:
man <whateverapp>
example:
man grep
Code:
GREP(1) GREP(1)
NAME
grep, egrep, fgrep - print lines matching a pattern
SYNOPSIS
grep [options] PATTERN [FILE...]
grep [options] [-e PATTERN | -f FILE] [FILE...]
DESCRIPTION
Grep searches the named input FILEs (or standard input if
no files are named, or the file name - is given) for lines
containing a match to the given PATTERN. By default, grep
prints the matching lines.
In addition, two variant programs egrep and fgrep are
available. Egrep is the same as grep -E. Fgrep is the
same as grep -F.
OPTIONS
Thing is, if you're a newbie, you might not know about a specific command. Meaning you can't look at the man-page for it (which is where a newbie friendly website about commands would come in handy)
Anyway, if you take a look at the thread called "5-10 most essential Terminal Commands" just a bit below this one, you'll see many useful commands.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Dec 2000
Location: Orono, ME
Status:
Offline
|
|
Another useful thing to know is that if you type:
man -k <some keyword>
it will list all the commands that have that keyword in their description. For instance if you are looking for a command regarding networks:
man -k network
will give you gobs of info on various network related commands. Since my brother told me about this I have been able to figure out pretty much anything I need to do.
Dan
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jun 2000
Status:
Offline
|
|
To find out new commands, type a letter and press tab. You'll then get a listing of all (?) the commands that begin with that letter. If you're running 10.2, you might have to type 'zsh' first to get this to work.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Oct 2002
Location: Atlanta
Status:
Offline
|
|
Originally posted by Glenstorm:
Another useful thing to know is that if you type:
man -k <some keyword>
it will list all the commands that have that keyword in their description. For instance if you are looking for a command regarding networks:
man -k network
will give you gobs of info on various network related commands. Since my brother told me about this I have been able to figure out pretty much anything I need to do.
Dan
Interesting. I didn't know about man -k. However, I've been using apropos or whatis which do exactly the same thing. Cool thing about UNIX is that there's a hundred ways to do the same thing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|