Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.- cut -d : -f 1 /etc/passwd | sort
- 2.- cut -d : -f 1 /etc/passwd | grep [A-Z]
- 3.- cut -d : -f 4 /etc/passwd | uniq -d
- 4.- cut -d # -f 1 /etc/inittab
- 5.- "lectura del archivo" | tr [:blank:] '\n' | sort | grep -c "palabra"
- 6.- cut -d : -f 7 /etc/passwd | sort | uniq | wc -l
- 7.- cut -d : -f 3 /etc/passwd | sort -n | uniq -d
- 8.- find /dev \( -type c -o -type d \) -print | wc -l
- 9.- ps -e | grep -c gnome
- 10.- ps -eo time,pid,uname | sort -n -r | grep luis || ps -u "Nombre de usuario" -o time,pid | sort -nr
- 11.- find / ! -user root ! -group 0 -size 1M
- 12.- find / -user luis -atime -7
- 13.- find /home -user luis -exec chown juan {} \;
- 14.- find . -user luis -name \*.ksh -exec cat {} \; > mis_scripts.ksh
Add Comment
Please, Sign In to add comment