Copy the output from Mac OSX Terminal to clipboard
Answer:
To copy the output in Mac OSX Terminal to clipboard, you can use the the command pbcopy
# date | pbcopy
The paste it into your favorite editor.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Copy the output from Mac OSX Terminal to clipboard
Answer:
To copy the output in Mac OSX Terminal to clipboard, you can use the the command pbcopy
# date | pbcopy
The paste it into your favorite editor.
Simple Text To Speech in Mac OSX
Answer:
It is easy to invoke the internal Mac OSX Text To Speech engine using command in Terminal.
# say "Hello World"
It is all you need.
Restart Apache web server in Mac OSX
Answer:
Open the terminal, and type
sudo apachectl -k restart
To stop it, type
sudo apachectl -k stop
To start it, type
sudo apachectl -k start
Mac OS X: How to Add Hosts to Local Hosts File
Mac OS X 10.0 through 10.1.5
Opens the current folder in Finder in Mac OSX Terminal
Answer:
Assume you are currently in folder /tmp/ in Terminal, and you want open this folder in Finder, you can type the following command:
# cd /tmp/
# open .