Ana Sayfa / Tag Archives: Bash Script (Sayfa 3)

Tag Archives: Bash Script

Word Splitting

Parameter Details IFS Internal field separator-x Print commands and their arguments as they are executed (Shell option) What, when and Why? When the shell performs parameter expansion, command substitution, variable …

Devamını Oku..

File Transfer using scp

scp transferring file To transfer a file securely to another machine – type: scp file1.txt tom@server2:$HOME This example presents transferring file1.txt from our host to server2’s user tom’s home directory. …

Devamını Oku..

Job Control

List background processes $ jobs [1] Running sleep 500 & (wd: ~) [2]- Running sleep 600 & (wd: ~) [3]+ Running ./Fritzing & First field shows the job ids. The …

Devamını Oku..

Case statement

Simple case statement In its simplest form supported by all versions of bash, case statement executes the case that matches the pattern. ;; operator breaks after the first match, if …

Devamını Oku..