≡ Menu

Linux and Unix Commands

Tips and tricks about Linux, OS X, *BSD and Unix commands. Includes commands, syntax, hacks and much more for both new users and sysadmins ( rss feed ).

I'm running a process to complete backup and covert images in Mac OS X laptop. I do not wish to disable sleep manually from my OS X power options (Energy Saver). How do I temporarily prevent a Mac from sleeping while my process is still active in Mac OS X Unix operating systems? How can I prevent the system from sleeping temporarily from the command prompt?
[click to continue…]

How do I find out my FreeBSD server version and patch level of the installed system using command line option?
[click to continue…]

I'm a new Unix system user. How can I manage process on a FreeBSD operating systems?
[click to continue…]

I am a new Unix system shell user. I need to find and list all hidden files including directories on a Linux or Unix-like system. How can I recursively list all hidden files and directories? How do I save result in a text file?
[click to continue…]

Sometime my VLC application gets crashed on a Mac OS X system. The screen goes blank and VLC stays hang running on my desktop or MacBook. How can I solve this issue and quit an unresponsive VLC application on a Mac OS X without a hard reboot?
[click to continue…]

Linux / Unix: chroot Command Examples

chroot command

I am a new Linux and Unix user. How do I change the root directory of a command? How do I change the root directory of a process such as web-server using a chroot command to isolate file system? How do I use a chroot to recover password or fix the damaged Linux/Unix based environment?
[click to continue…]

curl Command Resume Broken Download

I know wget can resume a failed download. I am on a Mac OS X and do now want to install wget command. How can I resume a failed download using curl command on Linux or Unix-like systems?
[click to continue…]