first commit
This commit is contained in:
1
ended/shell01/ex01/print_groups.sh
Normal file
1
ended/shell01/ex01/print_groups.sh
Normal file
@ -0,0 +1 @@
|
||||
id -G -n $FT_USER | tr ' ' , | tr -d '\n'
|
1
ended/shell01/ex02/find_sh.sh
Normal file
1
ended/shell01/ex02/find_sh.sh
Normal file
@ -0,0 +1 @@
|
||||
find . -type f -name "*.sh" -exec basename {} .sh \;
|
1
ended/shell01/ex03/count_files.sh
Normal file
1
ended/shell01/ex03/count_files.sh
Normal file
@ -0,0 +1 @@
|
||||
find . -type f,d | wc -l
|
1
ended/shell01/ex04/MAC.sh
Normal file
1
ended/shell01/ex04/MAC.sh
Normal file
@ -0,0 +1 @@
|
||||
ifconfig | grep -o '..:..:..:..:..:..'
|
1
ended/shell01/ex05/_/_$_'MaRViN'_$_/_
Normal file
1
ended/shell01/ex05/_/_$_'MaRViN'_$_/_
Normal file
@ -0,0 +1 @@
|
||||
42
|
1
ended/shell01/ex06/skip.sh
Normal file
1
ended/shell01/ex06/skip.sh
Normal file
@ -0,0 +1 @@
|
||||
ls -l | sed -n "1~2p"
|
1
ended/shell01/ex07/r_dwssap.sh
Normal file
1
ended/shell01/ex07/r_dwssap.sh
Normal file
@ -0,0 +1 @@
|
||||
cat /etc/passwd | awk -F : '{ print $1 }' | sed '1~2d' | rev | sort -r | sed -n ''$FT_LINE1','$FT_LINE2'p' | awk '{print $0 ", "}' | tr -d '\n' | awk '{ print substr( $0, 1, length($0)-2 ) }' | tr '\n' '.'
|
Reference in New Issue
Block a user