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

®îçhå®?

macrumors 68000
Original poster
Mar 7, 2006
1,826
2
I was wondering first of all if anyone has any cool things that there can do in Terminal. If there is, post it here with a how to please. Secondly, i was wondering if someone could teach me how to use Terminal because it looks pretty cool.
Richard
 
I use it to download files sometimes.

First, get the http:// link for a file (control-click on a hyperlink, "copy link).

$ cd ~/Desktop
$ wget [type Cmd-V, hit return]

If it gets disconnected, use the up arrow to get the last command (wget) and hit return again.

-kev
 
You can also quickly automate basic tasks, like if you happen to need a bunch of directories temp1, temp2, temp3, etc:

$ for i in 1 2 3 4 5 ; do mkdir temp$i ; done

-kev
 
khammack said:
$ cd ~/Desktop
$ wget [type Cmd-V, hit return]

wget doesn't come with OSX I don't believe. For someone new to terminal/unix you they might want to try whats available to them before going and building/installing their own utilities to do the job. 'curl' does come defaulty though, you just need to specify an output file.

$ curl url/fileaddress > whatever.filetype
 
Terminal Reply

Okay so what you do is open up Terminal... Then type emacs Then hit escape button and "x" button at the same time. Then type any of the following: Snake Tetris Pong and then you get to play a game, and when you finish it, die, or want to play a new game just simply hit the escape and "x" buttons again and then retype one of the games. A new hack is a way to force quit an application of your choice... what you do is open a new Terminal and type killalll (then hit the space bar once and type the application exactly, and then hit enter" that all i got I hope it helps :D


I was wondering first of all if anyone has any cool things that there can do in Terminal. If there is, post it here with a how to please. Secondly, i was wondering if someone could teach me how to use Terminal because it looks pretty cool.
Richard
 
I bought a shell account with http://silenceisdefeat.org and you can use terminal to log onto the server using the SSH command. I use it to chat on IRC but you can also set up SSH tunnelling to browse the web securely. Beware though, if you want to this then expect it to be unbearbly slow as people are using their silenceisdefeat accounts for download torrents and hogging a lot of bandwidth.
 
can't work with terminal

Hi I am a new user and just a new Mac user as well! my problem is when I want to copy some larg files to WD external my book HDD, it doesn't do that! I heard there is a fast way in terminal which I can do that in every acount(Mine is Admin).
Also don't know how to address a file into my internal HDD for exmaple Macintosh HD/:movie/001.mov
Plz help!!!
 
Sometimes I use elinks in the Terminal for webbrowsing. Plus you can use it to easily filter out information using grep and the likes.
 
If you have two Macs, remote login to a Mac using (ssh) and typing in the say command with some text. The remote computer will talk. It is the perfect setup for a joke if you have someone use the second Mac in the next room.

If you need any help with a UNIX command, use the man command (short for manual). For example "man say" or "man ssh".
 
Terminal is great for getting at hidden files.
You can get at all the files on iPods using it :)
Something I didn't know before (being a n00b) was that you can get at all the commands you've recently run by pressing the up arrow, so if you've just misspelled a long command, you don't have to type it all out again

A question I had.... does anybody know of a tip to speed up the cursor movement in terminal? If I've typed in a long command and want to scroll back to the start (e.g. to edit one of the letters) it takes an age.
I've been using Backtrack 3 (linux distro) and the scrolling on that is super-fast :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.