tmac

Mac community

  • Post new topic
  • Reply to topic

Terminal Commands

Share

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Terminal Commands

Post by krypto on Sat Jan 10, 2009 12:11 am

I have been using Terminal a lot recently. Here some commands that I have been learning
http://www.ss64.com/osx/

blade
Apple I
Apple I

Posts: 4562
Join date: 2007-11-12
Age: 25
Location: Georgia

Re: Terminal Commands

Post by blade on Sat Jan 10, 2009 1:48 am

cool. i'll check out the link. you should probably put some of the commands in here though, so we can easily see them when we need them


_________________
"Loose lips sink ships."

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:09 pm

okay
the move command is 'mv' and type the path of the file and the directory you want to move the file to

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:10 pm

example
Code:
Macintosh:~ krypto$ mv "HCA Calender.doc" /Volumes/Gotenks/

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:13 pm

the Quick Look command is 'qlmanage -p filename.extension'
you have to be in the same directory as the file for it to work

Last edited by krypto on Sat Jan 10, 2009 8:17 pm; edited 1 time in total

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:15 pm

example:
Code:
Macintosh:~ krypto$ qlmanage -p "HCA Calender.pages"

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:16 pm

note that i can't post screenshots for obvious reasons

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:21 pm

there are a couple of test editors in terminal that I have found.
one, a simple one, is 'pico'. (just type in 'pico')
another one, a little more complex which i am still not fully familiar with, is 'vim'. (just type in 'vim') this is used more for editing programming text, from what i learned.

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sat Jan 10, 2009 8:30 pm

more info about vim
http://en.wikipedia.org/wiki/Vim_(text_editor)

goten
Super Saiyan
Super Saiyan

Posts: 266
Join date: 2008-12-21

Re: Terminal Commands

Post by goten on Sun Jan 11, 2009 12:08 am

cool. even though you misspelled some of that (test editors, i assume you meant "text" editors).

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Sun Jan 11, 2009 1:31 am

yeah, i did mean "text" editors;
in 'pico', after i tried to save the file, i'd get this bus error and it would go back to my home directory

goten
Super Saiyan
Super Saiyan

Posts: 266
Join date: 2008-12-21

Re: Terminal Commands

Post by goten on Mon Mar 02, 2009 3:53 pm

doesn't sound good

krypto
Super Saiyan 4
Super Saiyan 4

Posts: 2675
Join date: 2008-01-06
Age: 15
Location: Hoschton, GA

Re: Terminal Commands

Post by krypto on Mon Mar 02, 2009 5:01 pm

nope

goten
Super Saiyan
Super Saiyan

Posts: 266
Join date: 2008-12-21

Re: Terminal Commands

Post by goten on Wed Mar 04, 2009 8:15 pm

okay
  • Post new topic
  • Reply to topic

Current date/time is Sat Nov 28, 2009 9:22 pm