Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| info:bash [2022/08/07 08:14] – radeff | info:bash [2026/01/16 07:52] (Version actuelle) – [Doc] radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Bash / Terminal ====== | + | ====== Bash / Terminal |
| (acronyme de Bourne-Again shell) est un interpréteur en ligne de commande de type script. C'est le shell Unix du projet GNU | (acronyme de Bourne-Again shell) est un interpréteur en ligne de commande de type script. C'est le shell Unix du projet GNU | ||
| - | voir aussi: [[info:unix|*nix (linux/ | + | voir aussi: [[info:linux|*nix (linux/ |
| //note Fred: all the linux' | //note Fred: all the linux' | ||
| - | ====== Doc ====== | + | ===== maitriser-conditions-bash |
| - | ===== Bash Keyboard Shortcuts ===== | + | * http:// |
| + | * https:// | ||
| - | Moving the cursor: | + | ===== Doc ===== |
| - | + | ||
| - | Ctrl + a Go to the beginning of the line (Home) | + | |
| - | Ctrl + e Go to the End of the line (End) | + | |
| - | Ctrl + p | + | |
| - | Ctrl + n Next command (Down arrow) | + | |
| - | Alt + b Back (left) one word | + | |
| - | Alt + f | + | |
| - | Ctrl + f | + | |
| - | Ctrl + b | + | |
| - | Ctrl + xx Toggle between the start of line and current cursor position | + | |
| - | + | ||
| - | Editing: | + | |
| - | + | ||
| - | Ctrl + L Clear the Screen, similar to the clear command | + | |
| - | + | ||
| - | Alt + Del Delete the Word before the cursor. | + | |
| - | Alt + d | + | |
| - | Ctrl + d | + | |
| - | Ctrl + h | + | |
| - | + | ||
| - | Ctrl + w Cut the Word before the cursor to the clipboard. | + | |
| - | Ctrl + k Cut the Line after the cursor to the clipboard. | + | |
| - | Ctrl + u | + | |
| - | + | ||
| - | Alt + t Swap current word with previous | + | |
| - | Ctrl + t Swap the last two characters before the cursor (typo). | + | |
| - | | + | |
| - | + | ||
| - | ctrl + y Paste the last thing to be cut (yank) | + | |
| - | Alt + u UPPER capitalize every character from the cursor to the end of the current word. | + | |
| - | Alt + l Lower the case of every character from the cursor to the end of the current word. | + | |
| - | Alt + c | + | |
| - | Alt + r | + | |
| - | ===== Web ===== | + | |
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| - | * [[http:// | + | * [[http:// |
| - | ===== Books ===== | + | * [[bash_gnome-terminal|force a bash script on a localhost to remain open]] |
| - | * [[http://tldp.org/ | + | * [[bash_loop]] Script to automatically backup files using simple FTP |
| - | * [[http:// | + | * [[image_delete.sh]]remove image from download, tmp and desktop directories with a bash loop / array |
| - | * Shell Scripting: Expert Recipes for Linux, Bash, and More, Parker & Steve | + | * [[info: |
| - | * Soulard, Hervé: Le shell bash | + | * [[info:uppercase|bash: convertir une chaîne de caratères en majuscules (uppercase)]] |
| + | * [[bash loop]] | ||
| + | * [[shai|shai, intelligence artificielle dans bash]] | ||
| - | {{info: | ||
| - | |||
| - | ====== Tips ====== | ||
| - | | ||
| - | ===== espace blanc dans le bash? ===== | ||
| - | si vous avez un espace blanc après l' | ||
| - | |||
| - | //terminal autocompletion adds space after " | ||
| - | |||
| - | solution: | ||
| - | |||
| - | sudo rm / | ||
| - | |||
| - | voir | ||
| - | |||
| - | https:// | ||
| - | |||
| - | |||
| - | [[bash_gnome-terminal|force a bash script on a localhost to remain open]] | ||
| - | |||
| - | [[bash_loop]] Script to automatically backup files using simple FTP | ||
| - | |||
| - | [[image_delete.sh]]remove image from download, tmp and desktop directories with a bash loop / array | ||
| - | |||
| - | [[info: | ||
| - | |||
| - | [[info: | ||
| - | |||
| - | [[bash loop]] | ||
| ====== Softs ====== | ====== Softs ====== | ||
| Ligne 90: | Ligne 30: | ||
| https:// | https:// | ||
| - | ===== xfce4-terminal ===== | ||
| - | |||
| - | |||
| - | https:// | ||
| - | ===== terminator ===== | ||
| - | Terminator est un terminal virtuel qui a la particularité de permettre de partager la fenêtre selon vos envies et ainsi organiser plus simplement vos différentes fenêtres. | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ===== konsole ===== | ||
| - | le terminal de KDE | ||
| - | |||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * | ||
| + | ===== Voir aussi ===== | ||
| + | * [[info: | ||