0
0
This commit is contained in:
Guy Baconniere
2021-08-20 10:02:38 +02:00
parent 5aa02c94b5
commit d30270c485
354 changed files with 0 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
id -Gn $FT_USER | tr ' ' ',' | tr -d '\n'
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
find . -type f -name '*.sh' -exec basename '{}' .sh \;
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
find . \( -type f -o -type d \) | wc -l | tr -d ' '
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
ifconfig | grep -oE 'ether .*' | cut -c7-23
+1
View File
@@ -0,0 +1 @@
42
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
ls -l | awk '{ if ((NR + 1) % 2 == 0) print $0 }'
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
grep -v "#" /etc/passwd | sed -n 'n;p' | awk -F ':' '{ print $1 }' | rev | sort -r | sed -n "${FT_LINE1-1},${FT_LINE2-42}p" | tr '\n' ' ' | sed 's/ $/./; s/ /, /g'