1. ls -la egrep '^[^d]' > allfiles
2. cat a-j_malenames.txt k-z_malenames.txt > a-z_malenames.text
3. wc -w /usr/local/linuxgym-data/gutenberg/0ws0310.txt > count.output
4. cat /usr/local/linuxgym-data/gutenberg/0ws0310.txt wc –m > pipecount
5. ls /usr/local/linuxgym-data/Gutenberg egrep 'rd' > rdfiles.txt
6. Mkdir s2-files
cd /usr/local/linuxgym-data/gutenberg
cp *s2* s2-files
7. Ls -l sort-r awk '{print $8}' > large_to_small
8. pico wcscript.sh
#!/bin/bash
wc -w $1 awk '{print $1}'
chmod u+x wcscript.sh
./wcscript.sh a.txt
9. egrep -w 'Anne' /usr/local/linuxgym-data/gutenberg/12frd10.txt > anne-words.txt
10. egrep -v '' femalenames.txt egrep '^MAT^NAT' femalenames.txt > natmat.txt
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment