0
0

Add all git folders

This commit is contained in:
Baco
2021-08-15 23:30:40 +02:00
parent 0abd1f86bc
commit a808b91a50
123 changed files with 2391 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
#!/bin/sh
id -Gn $FT_USER | tr ' ' ',' | tr -d '\n'

View File

@@ -0,0 +1,2 @@
#!/bin/sh
find . -type f -name '*.sh' -exec basename '{}' .sh \;

View File

@@ -0,0 +1,2 @@
#!/bin/sh
find . \( -type f -o -type d \) | wc -l | tr -d ' '

View File

@@ -0,0 +1,2 @@
#!/bin/sh
ifconfig | grep -oE 'ether .*' | cut -c7-23

View File

@@ -0,0 +1 @@
42

View File

@@ -0,0 +1,2 @@
#!/bin/sh
ls -l | awk '{ if ((NR + 1) % 2 == 0) print $0 }'

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'

View File

@@ -0,0 +1,2 @@
#!/bin/sh
id -Gn $FT_USER | tr ' ' ',' | tr -d '\n'

View File

@@ -0,0 +1,2 @@
#!/bin/sh
find . -type f -name '*.sh' -exec basename '{}' .sh \;

View File

@@ -0,0 +1,2 @@
#!/bin/sh
find . \( -type f -o -type d \) | wc -l | tr -d ' '

View File

@@ -0,0 +1,2 @@
#!/bin/sh
ifconfig | grep -oE 'ether .*' | cut -c7-23

View File

@@ -0,0 +1 @@
42

View File

@@ -0,0 +1,2 @@
#!/bin/sh
ls -l | awk '{ if ((NR + 1) % 2 == 0) print $0 }'

View File

@@ -0,0 +1,2 @@
#!/bin/sh
awk -F ':' '!/^#/ { n++; login=$1; rev="rev <<<"login; rev | getline revlogin; close(rev); print ((n > 1) && ((n+1) % 2 == 0))? revlogin:login }' /etc/passwd | sort -rh | tr '\n' ' ' | sed 's/ $/./; s/ /, /g;'