scripting:bash:history
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| scripting:bash:history [2023/05/12 10:53] – created warnaud | scripting:bash:history [2023/05/12 10:57] (current) – warnaud | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== History command ====== | ||
| + | by default returns an history of latest command ran on this login\\ | ||
| + | it is ~the latest " | ||
| + | ===== remove the number ===== | ||
| + | <code bash> | ||
| + | Reference: https:// | ||
| + | ===== Avoid registering a command ===== | ||
| + | When you pass some arguments like passwords, you can skip the registration of the command by adding a space before the command | ||
| + | <code bash> command -pass XXXXXXXXXXXXXXXXXXXXXXXXX</ | ||
