Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > UNIX commands for newbies

UNIX commands for newbies
Thread Tools
Jacket
Mac Enthusiast
Join Date: Mar 2003
Location: Outside of Boston, MA
Status: Offline
Reply With Quote
May 8, 2003, 05:39 PM
 
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)
     
Sarah31
Forum Regular
Join Date: Jan 2002
Location: Manitoba
Status: Offline
Reply With Quote
May 8, 2003, 06:08 PM
 
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
     
warpmoon
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
May 8, 2003, 06:33 PM
 
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.
     
Glenstorm
Junior Member
Join Date: Dec 2000
Location: Orono, ME
Status: Offline
Reply With Quote
May 9, 2003, 11:10 PM
 
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
     
bradoesch
Professional Poster
Join Date: Jun 2000
Status: Offline
Reply With Quote
May 10, 2003, 09:50 AM
 
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.
     
leffo
Forum Regular
Join Date: Oct 2002
Location: Atlanta
Status: Offline
Reply With Quote
May 10, 2003, 10:47 AM
 
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
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:18 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,