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 > Mac OS X > most useful terminal commands?

most useful terminal commands?
Thread Tools
Dedicated MacNNer
Join Date: Dec 2002
Location: London, UK
Status: Offline
Reply With Quote
Dec 27, 2002, 08:36 PM
 
as a newbie I would like to learn a bit more about the terminal. Does anyone have any links for a quick guide or feel like posting the commands that they find most useful?

I use rm lots but understand there is a way to have the files deleted 3 time for security could someone tell me how please.

Thankyou
iBook G3 366mhz as a web server:
http://kieren.demon.co.uk/wordpress/
     
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Dec 28, 2002, 06:02 AM
 
Originally posted by ixus_123:
as a newbie I would like to learn a bit more about the terminal. Does anyone have any links for a quick guide or feel like posting the commands that they find most useful?

I use rm lots but understand there is a way to have the files deleted 3 time for security could someone tell me how please.

Thankyou
You are looking for this:

rm -P

For useful commands... Start with this:

man

For example if you had typed `man rm' you would have found out pretty soon that the "option" you need to use with `rm' is "-P".

Type `man -k something" to find the command that deals with "something" [replace "something" with, say, "copy" or "move" or... use your imagination]
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Online
Reply With Quote
Dec 28, 2002, 07:11 AM
 
echo 15 k 1 3 \/ p | dc

a simple command line arbitrary-precision calculator.
I don't suffer from insanity, I enjoy every minute of it.
     
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Dec 28, 2002, 11:48 AM
 
I guess a good start would be :

ls
(or alternatively ls -l)

to list files in the current folder.

and

cd folder_name

to go into a folder.
     
Dedicated MacNNer
Join Date: Dec 2002
Location: London, UK
Status: Offline
Reply With Quote
Dec 28, 2002, 05:43 PM
 
Thanks guys! - to be honest I thought I might get a bit of a newbie bashing there. The manual help is pretty useful thanks. Since I posted I've found out a bit more too like the airport listings etc - i would post it but as quick as I found it I lost it - if I find the command again I'll post it.

Thanks again guys
iBook G3 366mhz as a web server:
http://kieren.demon.co.uk/wordpress/
     
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Dec 28, 2002, 11:31 PM
 
You can find a load of information for different levels of skill here: http://www.geek-girl.com/unix.html
     
Dedicated MacNNer
Join Date: Dec 2002
Location: London, UK
Status: Offline
Reply With Quote
Jan 2, 2003, 07:00 AM
 
Thanks for that link, it looks like it has everything I need to get me started. Thanks.
iBook G3 366mhz as a web server:
http://kieren.demon.co.uk/wordpress/
     
   
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:46 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2