Updated: 2015-01-29 03:17 EST
vi/vim, nano
head, tail
find
using “wildcard” (GLOB) patterns - same as shell GLOB.bashrc
fileCheck the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant.
PS1, find, mkdir, mv
The worksheets are available in four formats: Open Office (ODT), PDF, HTML, and Text. Only the Open Office format allows you “fill in the blanks” in the worksheet. The PDF format looks good but doesn’t allow you to type into the blanks in the worksheet. The HTML format is crude but useful for quick for viewing online.
Do NOT open the ODT files using any Microsoft products; they will mangle the format and mis-number the questions. Use the free Libre Office or Open Office programs to open these ODT documents. On campus, you can download Libre Office here.
alias, sum, unalias
date, head, nl, tail, tr, wc
vim
vimtutor
program on the CLS.Bonus (optional) Assignment #04 HTML is ready
Finish the above assignments, which involve work on the first two worksheets.
Read the Test Instructions (all the words) before your first midterm test.
Tests take place in your 8am lecture hour, not in your lab period.
This week, we learn about pathname GLOB (wildcard) patterns.
rmdir
command will only remove an empty directory.
cp
will not copy directories unless you use the right option. (You know this option from doing Section 3 of Worksheet #03 HTML.)Useful commands:
head, tail, fgrep, wc
ls /bin/*sh | wc
idallen
(83 lines on the CLS):
fgrep 'idallen' /etc/passwd | wc
fgrep -c 'idallen' /etc/passwd
fgrep 'refused connect' /var/log/auth.log | tail
fgrep 'password' /var/log/auth.log | tail
fgrep 'idallen' /etc/passwd | tail
last abcd0001 | head
fgrep -c "refused connect" /var/log/auth.log
fgrep "refused connect" /var/log/auth.log | wc
fgrep 'refused connect' /var/log/auth.log | tail
less /etc/hosts.evil