≡ 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 ).

How to Prevent & Disable Mac OS X From Sleeping From the Command Line Terminal Application

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 To Find Out FreeBSD Version and Patch Level Number

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…]

Linux / Unix: Find And List All Hidden Files Recursively

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…]

Mac OS X: Force Quit An Unresponsive Full Screen Application Shortcut Key

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…]

Ubuntu Copy File Command

I'm a new Ubuntu Linux user. This seems like a newbie question, but I can not seem to find examples to copy files on Ubuntu. How do I copy file to another directory on Ubuntu Linux using command line terminal application? How can I copy files via terminal on Ubuntu Linux desktop?
[click to continue…]

Linux / Unix: Check Last Time User Logged In On The System

I am a new Unix system admin. How do I find ouw who has recently use the Linux or Unix-like server? Which terminals they used, and when they logged in and out of the my server?
[click to continue…]

Linux / Unix: whereis Command Examples

whereis command

I am a new Linux and Unix-like system command line user. How do I find and locate the binary, source, and manual page files for a given command?
[click to continue…]