Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

1member1

macrumors 6502
Original poster
Sep 8, 2012
383
0
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 :D
 

mrapplegate

macrumors 68030
Feb 26, 2011
2,818
8
Cincinnati, OH
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 :D

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 :D
 

Attachments

  • Screen Shot 2012-10-04 at 3.56.08 PM.png
    Screen Shot 2012-10-04 at 3.56.08 PM.png
    19.9 KB · Views: 96

old-wiz

macrumors G3
Mar 26, 2008
8,331
228
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.
 

peeaanuut

macrumors 65816
Sep 10, 2007
1,048
1
Southern California
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.
 

Risco

macrumors 68000
Jul 22, 2010
1,956
313
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.
 

mfram

Contributor
Jan 23, 2010
1,356
406
San Diego, CA USA
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:

slrandall

macrumors 6502
Jun 15, 2011
412
0
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.
 

Watabou

macrumors 68040
Feb 10, 2008
3,426
759
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.
 

throttlemeister

macrumors 6502a
Mar 31, 2009
550
63
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.
 

dontpannic

macrumors 6502
May 16, 2011
460
4
Orpington, Kent, UK
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.