≡ Menu

Novice Linux / Unix System Administrator Tutorials

These tutorials assumes that you have basic understanding of Unix like operating systems and you are familiar with – Unix/Linux and its commands at the user level, know how to edit files, familiar with the Bourne shell/Bash/Ksh shell, know how to perform standard file processing tasks (such as find/move/copy/delete/) and so on. ( rss feed )

How to enable colorized output for the ls command in Mac OS X Terminal

I am new to Apple OS X. How do I enable colorized output for my ls command on Apple Mac OS X just like the ones that shown on my Ubuntu Linux server? How do I configure Mac OS X Terminal app to have color ls output?
[click to continue…]

{ 2 comments }

Ubuntu Linux check cron log file error or messages in /var/log/cron.log file

I am trying to find errors or message for my cron job on Ubuntu Linux server. Where is the cron log in Ubuntu Linux 12.04/14.04 LTS server? How do I check cron logs in Ubuntu server? How to check if crond server is enabled and/or is running properly on Ubuntu Linux server?
[click to continue…]

{ 1 comment }

How to use curl command with proxy username and password on Linux or Unix

My sysadmin provided me the following proxy details:
       IP: 202.54.1.1
       Port: 3128
       Username: foo
       Password: bar

The settings worked perfectly with Google Chrome and Firefox browser. How do I use it with the curl command? How do I tell the curl command to use my proxy settings from Google Chrome browser?
[click to continue…]

{ 0 comments }

The OpenSSH project released an ssh client bug info that can leak private keys to malicious servers. A man-in-the-middle kind of attack identified and fixed in OpenSSH are dubbed CVE-2016-0777 and CVE-2016-0778. How do I fix OpenSSH’s client vulnerability on a Linux or Unix-like operating system?
[click to continue…]

{ 4 comments }

How to find out when Debian or Ubuntu package installed or updated

How do I find and list installed Debian or Ubuntu Linux packages date? How can I see when packages got updated on my systems?
[click to continue…]

{ 0 comments }

How to undefine and unset a bash environment variable on Linux or Unix

I have set the shell variable. I no longer need the variable. How do I undefine or unset a variable in bash on a Linux or Unix-like desktop system?
[click to continue…]

{ 3 comments }

How to list all iptables rules with line numbers on Linux

I recently added NAT rules on my RHEL 6.x system. How do I see the rules including line numbers that I just added in Linux?
[click to continue…]

{ 0 comments }