Code Snippet

Just another Code Snippet site

bash

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

,

[Linux] Mount Network drive

Create local folder : Mounting remote folder : Variables : <username>/<password> : remote user/password <remote_host> : hostname/IP of the network server <remote_folder> : remote shared folder <mount_name> : local folder

, ,

Previous Posts