Welcome To Snipplr
Everyone's Recent Snippets Tagged terminal
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Useful to remotely assist another person.
1. Connect to his computer using ssh
2. Execute first command listed below
3. The other person must open a terminal and execute the second command
4. Both are connected to the same terminal "screen"
1
1056
posted 15 years ago by Dorgendubal
simple way to join avi files on the command line (need to have mplayer installed)
0
780
posted 15 years ago by inkdeep
Clear files in /tmp directory that are older than three days - terminal/cron
this is a very simple example - could also remove by last access time, etc.
0
785
posted 15 years ago by inkdeep
https://www.chrisjmendez.com/2008/07/05/create-a-tar-gz-archive-using-terminal-os-x/
9
1747
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2
891
posted 16 years ago by chrisaiv
//for options available, see:
http://www.ss64.com/bash/shopt.html
1
849
posted 16 years ago by cczona
Open up terminal, paste the code below, then log your user out.
0
792
posted 16 years ago by chrisaiv
qlmanage -p foo.png, the image immediately pops up in a Quick Look pane.
Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures....
0
654
posted 17 years ago by jrphelps
A great way to work on website in Mac OS X is to set up a vhost. Doing so is very easy. In System Preferences click on Sharing and then make sure you have Personal Web Sharing turned on. Then, open or create your vhosts.conf file (/private/etc/httpd/...
4
1309
posted 18 years ago by jonhenshaw