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 [2024/02/14 06:45] (current) – [Linux.Bash] admin
Line 10: Line 10:
 </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 153:
 ===== 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 186:
   echo "$skipped_lines"   echo "$skipped_lines"
 fi fi
-</bash>+</code>
  • linux/bash.1697281486.txt.gz
  • Last modified: 2023/10/14 11:04
  • by admin