I was browsing around my company's internal wiki while looking for some teaching aids on teaching the Red Hat RH033 course this week and next. While there, I found this fun little gem (provided by Joseph Hall):
When teaching file permissions, create a directory called 'base' and in that directory a number of base? files:
aaron@kratos:~$ mkdir base; cd base aaron@kratos:~/base$ touch base{1,2,3,4} aaron@kratos:~/base$ ls -l total 0 -rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base1 -rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base2 -rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base3 -rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base4 aaron@kratos:~/base$ su - Password: root@kratos:~# useradd us root@kratos:~# cd /home/aaron root@kratos:/home/aaron# chown -R us.us base/ root@kratos:/home/aaron# ls -l base/ total 0 -rw-r--r-- 1 us us 0 Nov 4 01:59 base1 -rw-r--r-- 1 us us 0 Nov 4 01:59 base2 -rw-r--r-- 1 us us 0 Nov 4 01:59 base3 -rw-r--r-- 1 us us 0 Nov 4 01:59 base4
Now that's pretty good! Anyone who even remotely claims to be a geek better get the reference to that joke.
{ 13 } Comments