≡ 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 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 }

How to check boot path (partition) in Linux

How do I identify the boot device or boot path in Linux operating system?
[click to continue…]

{ 5 comments }

FreeBSD find CPU (processor) temperature command

I‘m a new FreeBSD unix user. How do I get the temperature of an Intel or AMD processor (CPU) in FreeBSD using command line option?
[click to continue…]

{ 1 comment }

How to change system’s hostname on HP-UX Unix system

I‘m a new HP-UX system user. How do I set the system hostname using shell prompt on a HP-UX?
[click to continue…]

{ 2 comments }

How to delete a single command from history on a Linux, OS X and Unix Bash shell

I‘m working in Ubuntu bash terminal application and remotely on a RHEL server in cloud platform. I typed the wrong and dangerous command. I no longer wish to remember dangerous command in the history file. How can I remove or delete a single command from bash history file?
[click to continue…]

{ 6 comments }

How to find out zone information for given country on Linux or Unix

How do I find out the current time for each zone name specified on the command line on a Linux, FreeBSD, OS X or Unix-like system? How do I report time zone information for Singapore or Japan on the command line?
[click to continue…]

{ 0 comments }