Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ls -R
- grep include ./*
- for f in *.*; do mv “$f” Unix_”$f”; done
- for f in *.txt; do d="$(head -1 "$f") ;x=”$(cut -d " " -f1 $f)” ; mv $f $x; done
- wc –l *.txt
- for i in ./*foo*;do mv -- "$i" "${i//foo/bar}";done
- history | sort | cut –d-10 -n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement