OpenSSH Config File Examples

How do I create and setup an OpenSSH config file to create shortcuts for servers I frequently access under Linux or Unix desktop operating systems? A global or local configuration file for SSH client can…

Mac OS X: Terminal Download File Command

I often need to download files using the Terminal. However, I am unable to find the wget command on OS X. How do download files from the web via the Mac OS X bash command…

HowTo: Unpack .tgz File On a Linux

I am a new Linux user. I am having problem with the Terminal. How do I unpack .tgz (tar.gz) file on a Linux using command line option?   Most Linux and open source software files…

HowTo: Unpack .tgz File On a Linux

I am a new Linux user. I am having problem with the Terminal. How do I unpack .tgz (tar.gz) file on a Linux using command line option?   Most Linux and open source software files…

What Does –– (double dash) Mean In SSH Shell Command?

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…

Mac OS X Sierra 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…

Linux / Unix: whereis Command Examples

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?   You need to use the whereiscommand…

Unix / Linux: Check New Files In File System /var/www/uploads/

R ecently, I switched from MS-Windows based web-server to CentOS Linux based Apache web-server. All user uploaded files are stored in /var/www/uploads/ directory. Is there command that can give me a list of files that…

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…

Explain: {,} in cp or mv Bash Shell Commands

I often see commands as follows posted on blog or forums cp /etc/httpd/httpd.{,.bakup} OR mv resume{z,}.doc What is the purpose of {,} in Linux and Unix shell commands?   {} is nothing but brace expansion…