Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
1
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-1.sh
Normal file
1
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-1.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$ sh -c ls
|
||||
1
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-2.sh
Normal file
1
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-2.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$ sh -c "echo hello"
|
||||
3
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-3.sh
Normal file
3
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-3.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$ bash -c 'paste <(echo 1) <(echo 2)'
|
||||
$ ksh -c 'let i=3+4; print $i'
|
||||
$ zsh -c 'if [[ 5 -lt 6 ]] { echo ok };'
|
||||
3
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-4.sh
Normal file
3
Task/Shell-one-liner/UNIX-Shell/shell-one-liner-4.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$ VAR=`echo hello` # obsolescent backtick notation
|
||||
$ VAR=$(echo hello) # modern POSIX notation
|
||||
$ (echo hello) # execute in another shell process, not in this one
|
||||
Loading…
Add table
Add a link
Reference in a new issue