eric.c.mi Posted July 6, 2006 Share Posted July 6, 2006 I'll get this started. I use "lsof -i TCP" often to get a listing of open ports. Post some of your favorites here. Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/ Share on other sites More sharing options...
hujan Posted September 12, 2006 Share Posted September 12, 2006 me a lots of "ls -a" Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-186545 Share on other sites More sharing options...
rogabean Posted September 12, 2006 Share Posted September 12, 2006 rm -rf /* Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-186733 Share on other sites More sharing options...
bwhsh8r Posted September 12, 2006 Share Posted September 12, 2006 sudo root Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-187178 Share on other sites More sharing options...
Rammjet Posted September 12, 2006 Share Posted September 12, 2006 say {censored} Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-187190 Share on other sites More sharing options...
miggi Posted October 3, 2006 Share Posted October 3, 2006 ps -aux netstat -a killall Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-201000 Share on other sites More sharing options...
BRP Posted October 6, 2006 Share Posted October 6, 2006 I hate to be a killjoy, but some of these ain't Linux commands and some of them wouldn't work in OS X. Or anywhere. ps auxw (show every process, don't cut off at one line) sudo su (if you're permitted to su by sudo, you don't have to type the root password with this puppy. Useful if you want to give someone root access without giving them a root password, especially) killall <process> (sends a TERM signal to every process with that name) killall -KILL <process> (sends the KILL signal - the process will be killed without mercy! You can also use -9) Linux commands that you might find fun to impress people with (not in OS X since it doesn't use UNIX-style init scripts): init 6 (or telinit 6 - reboots the machine in most distros) init 0 (or telinit 0 - shuts the machine down in most distros) Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-203375 Share on other sites More sharing options...
Colonel Posted October 6, 2006 Share Posted October 6, 2006 apt-get Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-203447 Share on other sites More sharing options...
lord_muad_dib Posted October 6, 2006 Share Posted October 6, 2006 emerge -uDN world Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-203451 Share on other sites More sharing options...
joe75 Posted October 7, 2006 Share Posted October 7, 2006 say {censored} sudo say {censored} Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-204065 Share on other sites More sharing options...
Dragon Posted October 10, 2006 Share Posted October 10, 2006 i knew someone would say it. rm -rf /* Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-206083 Share on other sites More sharing options...
SleeplessMedia Posted October 13, 2006 Share Posted October 13, 2006 Reboot, Kill, Format.....Linux sucks Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-208291 Share on other sites More sharing options...
krazykit Posted October 15, 2006 Share Posted October 15, 2006 zsh dump bash as your default shell. zsh is superior: better shortcuts and better tab completion. Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-209967 Share on other sites More sharing options...
alicheusz Posted October 18, 2006 Share Posted October 18, 2006 My best linux command is ffmpeg -i "$(find ~/.mozilla -regex '.*Cache.*' -a -not -regex \ '.*_CACHE_.*' -printf '%T+ %p\n' | \ sort -n | awk '{ print $2 }' | xargs file | \ grep -i "Video" | tail -1 | awk -F : '{ print $1 }')" \ -vcodec msmpeg4v2 -bf 2 -b 200 -ab 64 -ar 22050 -s 320x240 \ /tmp/video.avi to dump played youtube videos to some mp4 yes I type it by hand always I use it Just kidding more at http://www.paganini.net/index.cgi/linux/capturing_flv.html Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-211653 Share on other sites More sharing options...
McSkywalker Posted October 18, 2006 Share Posted October 18, 2006 #1 - "kextload" then drag and drop whatever the kext you want to be loaded to the terminal window. #2 - "kextstat" #3 - "fink install" Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-211665 Share on other sites More sharing options...
BRP Posted October 29, 2006 Share Posted October 29, 2006 emerge -uDN world emerge -uNDa world zsh is for people who like getting screwed over when they try to use a different OS with the same account (I've seen it happen, yeah I mean YOU, BRJ) Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-219344 Share on other sites More sharing options...
lord_muad_dib Posted October 31, 2006 Share Posted October 31, 2006 eheh yeah.. i just waited for some noobs complaining about problems i'm mad! Link to comment https://www.insanelymac.com/forum/topic/21355-post-your-favorite-useful-linux-commands/#findComment-220748 Share on other sites More sharing options...
Recommended Posts