Code Snippet

Just another Code Snippet site

shell

[Bash] How-To

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 […]

, , ,

Installer le shell Bash (Linux) sous Windows 10 – Korben

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] Aliases

To add ‘top’ in Solaris : to add ‘wget’ in Solaris : —————————————- Filtered history : Create an .inputrc file in the home folder with following content :

, , , ,