linux:bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:bash [2023/10/14 11:04] – [Scripting] adminlinux:bash [2026/06/06 05:22] (current) admin
Line 1: Line 1:
 ===== Linux.Bash ===== ===== Linux.Bash =====
 +https://www.youtube.com/watch?v=tmnd3M1k5Jw 5 cli best tools \\
 +
 +
 <code BASH> PS bash/zsh ${SSH_CLIENT+ssh:}${(%):-%m}  <code BASH> PS bash/zsh ${SSH_CLIENT+ssh:}${(%):-%m} 
  
Line 10: Line 13:
 </code> </code>
  
 +<code BASH>
 +# check xterm color
 +msgcat 
 +</code>
 +++++ Пример|
 +{{:linux:linux:bash:pasted:20240214-064440.png}}
 +++++
 <code BASH> <code BASH>
 # grep for configuration without comment line # grep for configuration without comment line
Line 146: Line 156:
 ===== Scripting-code ===== ===== Scripting-code =====
   * read line by line - https://phoenixnap.com/kb/bash-read-file-line-by-line   * read line by line - https://phoenixnap.com/kb/bash-read-file-line-by-line
 +
 <code BASH> <code BASH>
 +
 #!/bin/bash #!/bin/bash
  
Line 177: Line 189:
   echo "$skipped_lines"   echo "$skipped_lines"
 fi fi
-</bash>+</code>
  • linux/bash.1697281486.txt.gz
  • Last modified: 2023/10/14 11:04
  • by admin