Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 4, 2012, 02:46 PM   #1
1member1
macrumors 6502
 
Join Date: Sep 2012
Do you know how to use Terminal ?

Just wondering. Most people say mac users don't know how to use it or why they need it.

There's nothing bad about it but it still intresting for me.


Wish i knew how to post pool instead
1member1 is offline   0 Reply With Quote
Old Oct 4, 2012, 02:57 PM   #2
mrapplegate
macrumors 68030
 
Join Date: Feb 2011
Location: Cincinnati, OH
Quote:
Originally Posted by 1member1 View Post
Just wondering. Most people say mac users don't know how to use it or why they need it.

There's nothing bad about it but it still intresting for me.


Wish i knew how to post pool instead
Yes, I do know how to use Terminal.
At the bottom of Post a New Thread there is the option for a Poll not a wet pool
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-10-04 at 3.56.08 PM.png
Views:	21
Size:	19.9 KB
ID:	366428  
mrapplegate is offline   1 Reply With Quote
Old Oct 4, 2012, 02:59 PM   #3
sensorian
macrumors member
 
Join Date: Sep 2012
Location: Manchester, UK
No,

No but then again I don't know how to change the timing belt on my car either but it still works ok.....
sensorian is offline   1 Reply With Quote
Old Oct 4, 2012, 03:32 PM   #4
Mattie Num Nums
macrumors 68030
 
Mattie Num Nums's Avatar
 
Join Date: Mar 2009
Location: USA
I live in terminal. I write scripts and manage Macs for a living.
__________________
I like Apple stuff but, I am not in the Apple cult.
Mattie Num Nums is offline   0 Reply With Quote
Old Oct 4, 2012, 03:48 PM   #5
old-wiz
macrumors 604
 
Join Date: Mar 2008
Location: West Suburban Boston Ma
Before I retired I worked with various forms of *NIX, and before that in Multics, so I am very comfortable with terminal. However, I usually avoid it now. When I worked in *NIX, I was involved in the system code that interfaced between "terminal" and the OS itself.

I can remember setting up extremely contorted shell scripts which could be a pain to debug.
old-wiz is offline   0 Reply With Quote
Old Oct 4, 2012, 03:51 PM   #6
peeaanuut
Banned
 
Join Date: Sep 2007
Location: Southern California
Send a message via AIM to peeaanuut
I know how to use it but find I rarely ever need to use it. I have a friend that is always in it doing tasks that he could do otherwise because he thinks it makes him look all techy like. But he also just started watching Dr. Who because thats what the cool kids do.

the necessity of a user also being a coder is over.
peeaanuut is offline   0 Reply With Quote
Old Oct 4, 2012, 07:22 PM   #7
Risco
macrumors 65816
 
Join Date: Jul 2010
Location: United Kingdom
I don't have the first clue about terminal, but that is because I only recently converted to Mac after being a 25 year windows user.
__________________
15" Macbook Pro 2012, 2.3ghz, 8GB Ram, 256GB SSD | iPhone 5s 32GB Space Grey
Risco is offline   0 Reply With Quote
Old Oct 4, 2012, 10:04 PM   #8
old-wiz
macrumors 604
 
Join Date: Mar 2008
Location: West Suburban Boston Ma
Quote:
Originally Posted by Risco View Post
I don't have the first clue about terminal, but that is because I only recently converted to Mac after being a 25 year windows user.
One big problem with terminal is that it is very easy to make an awful mess and render your Mac unbootable.
old-wiz is offline   0 Reply With Quote
Old Oct 4, 2012, 10:32 PM   #9
mfram
macrumors 6502a
 
Join Date: Jan 2010
Very easy? Hardly. You'd have to use 'sudo' to delete anything that would keep your machine from booting. If you blindly type in commands others tell you, then you certainly can mess up the system. Never use 'sudo' and you won't completely mess up your Mac. You could certainly delete your own files, however. There's no trashcan when you use 'rm'.

Mac OS Terminal uses the "bash" shell just like many other Unix systems. Underneath that Mac clothing lies a real Unix system. The details are a little different than BSD or Linux, but most of it is still the same.

Buy a book on bash shell programming if you want to learn more about the shell used in the Terminal.

I'm very comfortable with the Terminal shell having used and administered Unix and Linux systems for 20 years. If you want to learn some scripting, it's all there. python, perl, and bash scripting are all ready to go. If you use something like MacPorts you can bring over other Unix open-source software that's not already installed. If you install XCode, you'll get a C/C++/Objective-C compiler as well.

Last edited by mfram; Oct 4, 2012 at 10:43 PM.
mfram is offline   4 Reply With Quote
Old Oct 4, 2012, 10:38 PM   #10
mobilehaathi
macrumors 68040
 
mobilehaathi's Avatar
 
Join Date: Aug 2008
Location: Bay Area, CA
I use terminal everyday....
__________________
The true way is along a rope that is not spanned high in the air, but only just above the ground. It seems intended more to cause stumbling than to be walked along.
mobilehaathi is offline   0 Reply With Quote
Old Oct 4, 2012, 11:03 PM   #11
slrandall
macrumors 6502
 
Join Date: Jun 2011
Sure; Terminal is handy for all sorts of stuff.

For someone just getting into it, just try navigating around and inspecting your system with the "cd" and "ls" commands. Try out editors like vi and emacs; try the interactive Ruby or Python shells; try writing simple bash scripts.

There's also a number of "easter eggs" that can be found with the Terminal, like:

- Type "telnet towel.blinkenlights.nl" to watch ASCII Star Wars
- Type "emacs", then Escape+x, and then "tetris"

As an aside, one of the most horrible pranks I've ever seen played on someone was recommending that they type in "sudo rm -rf /" into Terminal, followed by their password. This command is granted full administrative power ("sudo") and deletes ("rm") everything starting at the root directory ("/") recursively (meaning it deletes subfolders too) and without any prompting ("-rf"). Essentially, it wipes the entire drive. Haha, right?

Let this be a lesson to all Terminal newcomers: BE EXTREMELY CAREFUL ABOUT ANY COMMANDS YOU TYPE INTO TERMINAL IF YOU DO NOT KNOW WHAT THEY DO.
slrandall is offline   2 Reply With Quote
Old Oct 4, 2012, 11:56 PM   #12
Watabou
macrumors 68020
 
Watabou's Avatar
 
Join Date: Feb 2008
Location: United States
Yep, I use terminal everyday. I never close it either. I just open a tmux session and I do my programming in the terminal with vim. It's just so much faster.
__________________
Haswell 15" rMBP, 2.3GHz, 16GB, 512GB SSD, 750M
iPhone 5
Early 2008 MBP, iPhone 3GS (retired)
Watabou is offline   0 Reply With Quote
Old Oct 5, 2012, 02:32 AM   #13
throttlemeister
macrumors 6502
 
Join Date: Mar 2009
Location: Netherlands
The fact that OS X is a UNIX system and it has a UNIX terminal was the prime reason for me to switch to a Mac in the first place. I can't function without the terminal.
__________________
Macbook Pro 2.93 | 8GB | 120GB OWC Extreme Pro + 320GB/7200rpm | 24" LED Cinema Screen
Macbook Pro Retina 2.7 | 16GB | 512MB Flash | 1TB Crucial SSD external over Thunderbolt
throttlemeister is offline   1 Reply With Quote
Old Oct 5, 2012, 04:14 AM   #14
dontpannic
macrumors 6502
 
Join Date: May 2011
Location: Orpington, Kent, UK
Quote:
Originally Posted by slrandall View Post
Sure; Terminal is handy for all sorts of stuff.

For someone just getting into it, just try navigating around and inspecting your system with the "cd" and "ls" commands. Try out editors like vi and emacs; try the interactive Ruby or Python shells; try writing simple bash scripts.

There's also a number of "easter eggs" that can be found with the Terminal, like:

- Type "telnet towel.blinkenlights.nl" to watch ASCII Star Wars
- Type "emacs", then Escape+x, and then "tetris"

As an aside, one of the most horrible pranks I've ever seen played on someone was recommending that they type in "sudo rm -rf /" into Terminal, followed by their password. This command is granted full administrative power ("sudo") and deletes ("rm") everything starting at the root directory ("/") recursively (meaning it deletes subfolders too) and without any prompting ("-rf"). Essentially, it wipes the entire drive. Haha, right?

Let this be a lesson to all Terminal newcomers: BE EXTREMELY CAREFUL ABOUT ANY COMMANDS YOU TYPE INTO TERMINAL IF YOU DO NOT KNOW WHAT THEY DO.
That rm -rf does work. I tried it on a working Mountain Lion beta install before I installed the final version. You would have thought there would be some kind of thing in place to stop you doing it! lol
dontpannic is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 01:27 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC