I created this Bash basic Commands that will make the job easier on a daily basis.
There is a few needs in Linux, one of them is to increase History commands.
To do that, open Linux Terminal and edit ~./bash_profile.
Add these commands and save.
(It will set to save unlimited history commands)
Save the history command immediately
Force bash to save each command you type,
Edit .bash_profile that is located in ~/.bash.profile:
Don’t store specific commands
Force bash not to save duplicate commands, edit .bash_profile that is located ~/.bash_profile:
Force bash not to save lines that start with a space, edit .bash_profile that is located <homeDir>/.bash_profile:
Force bash not to save both space and duplicates, edit .bash_profile that is located in <homeDir/.bash_profile:
Setting the time – system time and hardware time
Setting time and date:
Setting the hardware time using the system’s time:
SSH autentication without Password
When you are trying to SSH to Linux server from terminal (ssh
You need to enter Password, use key-Gen authentication without password: