shell
#2166
Create a tar.gz file for each file : Add datetime in bash history : To replace the first occurrence of a pattern with a given string, use ${parameter/pattern/string}: To replace all occurrences, use ${parameter//pattern/string}: Show path in bash prompt Add following line in .bashrc Check keyboard input and call associated function: Script used to ask […]
bash, How-to, linux, shell
#1558
L’année dernière, ça ne vous a pas échappé, Bash a fait son apparition sous Windows 10. C’est pour moi, la meilleure chose qui soit arrivée à Windows depuis un moment, car ça permet de lancer des outils Linux et de développer ses propres scripts Shell directement sous Windows. Le pied ! Mais même si c’est […]
bash, shell
#1552
Explains how to use history bash command to get a history of all commands with date and time listed as well. Source: Bash History: Display Date And Time For Each Command
bash, shell
#1222
bash, shell
#964
http://toolkt.com/site/virtualbox-shared-folders-with-centos-server-guest/
bash, CentOS, shell, virtualbox
#698
Go to /etc/init.d Create a startup script called “SCRIPT_NAME” like : Make the script executable Add it to the list of script to start : Manual start : Manual Stop :
bash, shell
#161
bash, linux, shell, solaris
#149
Create new user : -m : create Home directory -d : path to home directory -s : define shell -c : define full user name Create new group : or Add user to group : Change folder’s group owner : Change folder’s owner :
bash, linux, shell
#99
ssh_identity_file : link to the SSH identification file user_name : remote user name remote_hostname : remote hostname / Identity File : More information Rsync -avrhzOz option : Rsync –progress option : Show progress during transfer Rsync –stats option : Give some file transfer stats
backup, bash, rsync, shell, ssh
#77
To add ‘top’ in Solaris : to add ‘wget’ in Solaris : —————————————- Filtered history : Create an .inputrc file in the home folder with following content :
bash, linux, shell, solaris, unix