Unix commands Questions

1

Recompiling Unix kernel on existing system
I have downloaded the latest kernel sources from www.kernel.org.How do I recompile the kernel and install it on the existing system

Answer Question   |  September 22, 2010  5:26 PM
Kernels, Unix, Unix administration, Unix commands, Unix migration
asked by:
5 pts.

AIX backup and restore
Just a background, my volume group backup consumes 5 tapes. Backup using the “find . -print….” Now, I would like to restore a file which i know is from the 3rd tape. Using restore command restore -xvqf /dev/rmtx ./ /[filename] The system always ask for the first tape. Is there a restore command that can [...]

Answer Question   |  June 9, 2010  11:13 PM
AIX, Backup, Storage in 2010, Unix administration, Unix commands, Unix Servers, Unix tools
asked by:
300 pts.

Using awk to sum a field in a file
I am using the following command to sum the 3rd column in a ~ delimited file. awk -F~ ‘{total+=$3} END{print total}’ /tmp/foo Can I add conditions to this command e.g. sum column 3 if column 5 greater than 160 and less than 171 etc? Thanks

Answer Question   |  August 4, 2009  7:45 PM
Unix, Unix administration, Unix commands, Unix OS
asked by:
25 pts.

Last 5 lines of my log file
Hi, I am looking for a UNIX command that would return me the last 5 lines of my file. Can anyone help? Thanks

Answer Question   |  September 30, 2008  7:52 AM
Log files, Unix, Unix commands
asked by:
20 pts.

1