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

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

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

CentOS / RHEL: See Detailed History Of yum Commands

I would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on CentOS / RHEL 6.x based server? How do I undo or redo or rollback packages using yum command?
[click to continue…]

Mac OS X: Install wget Network Downloader Utility

I recently learned that "wget" can continue getting a partially-downloaded (resume download) file. I am unable to find wget command on Mac OS X. How do I install install wget on Mac OS X (Mountain Lion/ Mavericks / Snow Leopard)? How can I install wget in Mac OS X without 3rd-party repo such as Homebrew or MacPorts?
[click to continue…]

I see lots of seasoned admins and cloud provider wrapper scripts use ssh client command as follows in shell:

ssh nixcraft@server1.cyberciti.biz --

What the double -- (dash) does here? Why it is used in this shell command and why not just use the following?

ssh nixcraft@server1.cyberciti.biz
[click to continue…]

Mac OS X: Install Go Programming Language

How do I install Go language on Apple Mac OS X? How to setup GO lanuage on Mac OS X? How do I install Go language version 1.2+ on OS X?
[click to continue…]