How to Create Nested Directories in Unix
Assume that you want to create nested directories in Unix with one command. You can achieve this by adding the …
Assume that you want to create nested directories in Unix with one command. You can achieve this by adding the …
In Unix, we have the following directories: /bin Commands/Programs /etc Configurations /home User Home Directories /lib System Libraries /tmp Temporary …
you can go back to your previous directory by typing:
We know that the cd command stands for the “change directory”. If we want to go one step back, we …
Let’s see how we can get banners in Unix using figlet. You can play with the -f options for different …
Up/Down arrow keys: Go to previous/next commands Ctrl+a: Moves the cursor at the beginning of the line Ctrl+e: Moves the …
This cheatsheet helps you to decide between $$, ; etc Sources: Ask Ubuntu
This is an example of how you can run a function with parameters in Bash. This function, at the beginning …
We will provide a simple example of the “read” statement showing how you can interact with an end-user. Note, that …
In Linux, every command has an exit code that takes values from 0 to 255. What we should keep in …