bash and Linux OS provides an error code on encountering failure or exist status code. As a numeric code is displayed it is for the user to understand and act on that error code. find the ready reference to the exit codes and error codes with their meaning to help debug the issues faster.
Category: Basics
Strace Examples, Options & Usage
strace is an important debug tool in Linux and Unix systems to trace system calls and signals. strace is used where the program does not provide sufficient information for the cause of failures and we need to go a level deeper in to system calls and signal levels to find out potential issues.
netstat – 10 Most common usage with examples
netstat is one of the most commonly used command to print the network information, However the output of netstat may be difficult to understand with lots of rows and columns of data. With examples in this article you will be able to to use right option to get the right information along with complete understanding of the netstat command output.
Continue reading “netstat – 10 Most common usage with examples”
vi editor cheat sheet in pdf format
vi editor , pronounced as Vee Iee editor is the default text editor in Unix and Linux distribution. For new learners it may be difficult to get used to vi editor commands. To make this easy here is the vi editor cheat sheet in PDF format which can be printed and used for ready reference.
ssh Without Password in Few Simple Steps
ssh access without password is a time saver and a must for automated scripts to copy files and transfer data across different servers. Setting us password less access can be tricky but you should be able to configure it using examples in this article.
bash for loop Explained with Examples
bash for loop is one of the most popular used function for the data processing . Learn more about bash for loop basic construction , how to process a range of data, define increments, using command outputs as inputs to for loop and more
find command : Top 14 Ways to find files in Unix and Linux
find command can find files based on many file attributes besides just the file name here are 14 ways to find files in your Unix and Linux system when you don’t have complete file information but only few clues to find it.
Continue reading “find command : Top 14 Ways to find files in Unix and Linux”
Bash Positional Parameters, Arguments
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. bash scripts uses positional parameters to process command line arguments in a bash shell script, to get process status, exit status and options flag.as an arguments to process the inputs. Learn to identify, and use these parameters to add more logic and functionality in your bash scripts.
rmdir force in Linux ? – How to force remove Linux directories
rmdir is a command in windows to force remove directories. The equivalent command in Linux and Unix is – rm , the command is used to remove file and directories. Learn more about using rm command in Linux to force remove directories .
Continue reading “rmdir force in Linux ? – How to force remove Linux directories”
Red Hat 7.x Installation : Step by Step Guide
You can try Red hat Linux on your laptop or desktop at home or office. Red hat Linux is a paid product but you can get a 60 day trial version of their Enterprise Linux server to try it out and learn. Here are the complete steps to guide you through the installation process if you are installing it for the first time.
Continue reading “Red Hat 7.x Installation : Step by Step Guide”