New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

The Terminal


Post Reply New Thread Subscribe

 
Thread Tools
Fomer
Guest
 
Posts: n/a

I would like to learn how to use the Terminal. I feel... "un-mac'ish" not knowing. Before making the switch months and months ago I knew Windows inside out. And is there any way I can "learn" the Terminal... maybe a website.Or is it of any use, really? I've been using OS X now for almost a year and I am ready to deepen my knowledge on the Terminal and more.
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
pwd shows current directory print working directory

cd (directory) changes to the desired directory ls LS lower case lists what's in the current directory ls /tmp (or other) lists what's in that directory without leaving the current.

top lists everything running.
(switching to root - superuser) sudo sh /etc/daily > this needs to be done /weekly (instead of daily) and monthly. again with all apps closed >these are how crons are run in terminal

here's more Remember to type exit when done in Terminal
QUOTE Thanks
Strider

 
Strider's Avatar
 
Member Since: Apr 09, 2004
Location: Dubai
Posts: 973
Strider is on a distinguished road
Mac Specs: 15" MBP 2.16GHz ^ATI Radeon X1600 256MB ^100GB @ 7200 rpm ^2GB RAM ^Glossy Screen +iPod 4G 20 gigs

Strider is offline
LOL witeshark, please please please, try using punctuation marks in ur sentences. better still, press return to use a new line for every command ur explaining.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,131
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Caution: don't use sudo or su until you DO learn about the terminal.
It's not necessary to type exit unless you're logged in as someone else using su, just quit Terminal.
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
(ok Strider .. ) Also never be root or use sudo while on line
QUOTE Thanks
Osiris22x

 
Osiris22x's Avatar
 
Member Since: Feb 25, 2004
Location: Portland, OR
Posts: 475
Osiris22x will become famous soon enough
Mac Specs: 15" MacBook Pro, 13" MacBook Black, 15" iMac G4, 24" iMac (soon!)

Osiris22x is offline
Quote:
Originally Posted by witeshark
pwd shows current directory print working directory cd (directory) changes to the desired directory ls LS lower case lists what's in the current directory ls /tmp (or other) lists what's in that directory without leaving the current. top lists everything running. (switching to root - superuser) sudo sh /etc/daily > this needs to be done /weekly (instead of daily) and monthly. again with all apps closed >these are how crons are run in terminal here's more Remember to type exit when done in Terminal
I completely agree, witeshark's posts are generally so difficult to read that I just skip over them now. Some punctuation and proper capitalization would go a long ways. His "how to run crons" paste that he uses all the time just looks like gibberish to me.
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
I edited it now it's easier to read. Guess I'm just used to reading scripts
QUOTE Thanks
Osiris22x

 
Osiris22x's Avatar
 
Member Since: Feb 25, 2004
Location: Portland, OR
Posts: 475
Osiris22x will become famous soon enough
Mac Specs: 15" MacBook Pro, 13" MacBook Black, 15" iMac G4, 24" iMac (soon!)

Osiris22x is offline
Quote:
Originally Posted by Fomer
I would like to learn how to use the Terminal. I feel... "un-mac'ish" not knowing. Before making the switch months and months ago I knew Windows inside out. And is there any way I can "learn" the Terminal... maybe a website.Or is it of any use, really? I've been using OS X now for almost a year and I am ready to deepen my knowledge on the Terminal and more.
Don't feel bad. 95% of all Mac users don't know how to use Unix (which is all the Terminal is). Get yourself a nice Unix book, or look for Linux/Unix tutorials online.

I could sit here and spew out commands at you but that isn't going to do you much good. You need to learn the file structure, and how Unix really works to get a good grasp on it.

Run a Google search and you'll find all sorts of good online tutorials that should get you enough information to get you started.
QUOTE Thanks
Orange
Guest
 
Posts: n/a

just SU and do a rm *
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
SU in Linux is SUDO in OS X, and rm is a very powerful delete command to be used very carefully!
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,131
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Actually su and sudo are two different things. Using su will log you in as root until you type exit. sudo only works for the command used after it.

And everyone is right, be VERY carefull using rm!!!
( or mv for that matter)
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
su is for switch user. This command is use to change to another user. Be it root or any other ID you have the pass word to.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Quote:
Originally Posted by cradom
Actually su and sudo are two different things. Using su will log you in as root until you type exit. sudo only works for the command used after it.

And everyone is right, be VERY carefull using rm!!!
( or mv for that matter)
Ah, thanks for the clarification
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,131
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Quite true rman, i was just making a point.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Quote:
Originally Posted by cradom
Quite true rman, i was just making a point.
Just trying help you make it clear.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks

Post Reply New Thread Subscribe


« Quick Button Switching...? | Disk Utility Always Crashes »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Terminal nbizm 3 for the price of 1 Bo Eddy OS X - Development and Darwin 5 05-04-2004 12:40 PM
looking for a terminal emulator and command shell in Mac OSX CandiMarie OS X - Operating System 9 03-05-2004 03:53 PM
newbie help (dumb terminal settings?) CaptainMack OS X - Development and Darwin 10 02-17-2004 07:25 PM
terminal window sexton Running Windows (or anything else) on your Mac 3 10-22-2003 12:40 AM
terminal issue pi_edpiper OS X - Operating System 1 09-04-2003 08:36 PM

All times are GMT -4. The time now is 08:29 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?