10 Terminal Tricks for Mac OS x
Upcoming SlideShare
Loading in...5
×
 

10 Terminal Tricks for Mac OS x

on

  • 4,990 views

 

Statistics

Views

Total Views
4,990
Views on SlideShare
4,935
Embed Views
55

Actions

Likes
6
Downloads
74
Comments
2

4 Embeds 55

http://localhost 37
http://youcours.freeserver.me 16
http://www.slideshare.net 1
http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Congratulations !!! This is an excellent work.Thank you for sharing. We have selected your presentation for the reference in our group Slideshare 'BANK OF KNOWLEDGE'. We would be honored by your support through your membership. You are invited to join us ! I wish you a nice day. Greetings from France. Nadine

    http://www.slideshare.net/group/bank-of-knowledge
    Are you sure you want to
    Your message goes here
    Processing…
  • Jerome Renard mentionned I forgot this one:

    !$

    to recall the last argument of the last executed command.

    http://twitter.com/jeromerenard/status/20139045034
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

10 Terminal Tricks for Mac OS x 10 Terminal Tricks for Mac OS x Presentation Transcript

  • 10 Terminal Tricks for Mac OS x by lejoe from L//P
  • open . obvious....
  • Ctrl+R interactively search through your shell history
  • grep 'lala' file.txt | pbcopy pastes to clipboard
  • pbpaste > file.txt use content of clipboard
  • mfind file.txt spotlight from the command line
  • !! Re-runs the last command again ( usefull for sudo !! )
  • ^X^E Ctrl-X Ctrl-E (edit current command line in editor)
  • say “local.ch rocks” fancy text-to-speech
  • hold option and click a position in the current line to move your cursor to that position
  • pdfman() { man $1 -t | open - f -a Preview; }; open man pages as PDF
  • source: http://superuser.com/questions/52483