#File: sol_3

1.	strings /bin |more
	strings .
	od -c /bin |more
	od -c .

2.	df -i
	- If you run out of inodes, either remove files or backup the file 
	  system then create a new one (newfs) with more inodes.
	- Another strategy might be to tar unused directories into a single
	  tar file and then compress them to save room and gain inodes.

3.      ls -ld dir1 dir2
	du dir1 dir2

4.	find /var/adm -name "*log*" -print
	find $HOME -name core -exec rm {} \;
	find / -name core -exec rm {} \;

5a.	echo This is a small text file > file1
 b.	ln file1 file2
 c.	ln -s file1 file3
 d.	- yes: ln -s file3 file3sym
 e.	ls -l
	ls -i
 f.	rm file1
	- Yes, the data is still there because there is a link (hard link) to 
	  it, called file2, therefore the link count is still > 0.
	cat file2   -- it works.
	cat file3   -- no, because it is a symbolic link to file1 which no
	               longer exists.
 g.	rm file2
	- No, the data is gone because the link count went to zero.
	- No you can't cat file3 because file1 is still gone. 

6.	First, you may wish to use the mount command to find the dev file
	for the mounted disk devices.
	
	ls -l /dev/root	
	ls -l /dev/zero
	ls -l /dev/null
	ls -l /dev/fd
	ls -l /dev/*tty* |more
	ls -l /dev/*lp*
	ls -l /dev/*pty* |more

7.	ls -l / |grep ^l
	      or
	ls -l / |grep " ->" 

	Note the space before the ->.  It is required so grep doesn't try
	to consider the > an option.
