1. What command can you use to review boot messages? dmesg 2. To display a list of all manual pages containing the keyword "date", what command would you type? man –k date 3. What utility can you use to show a dynamic listing of running processes?
In the Linux filesystems, there are a number of additional file attributes that are available beyond the standard bits accessible through chmod. If you haven't seen it already, take a look at the manpage for chattr and its companion, lsattr.One of the very useful new attributes is -i, the immutable flag. With this bit set, attempts to unlink, rename, overwrite, or append to the file are forbidden. Even making a hard link is denied (so
[root@desktop1 ~]# yum install lshw ( Note : lshw package can be download and installed from "rpmforge" repository).root@desktop1 ~]# lshw You will get detailed output on terminal screen as follows : *-cpu description: CPU product: Athlon II (To Be Filled By O.E.M.) vendor: Advanced Micro Devices [AMD] physical id: 3 bus info: cpu@0 version: AMD Athlon(tm) II X2 260 Processor serial: To Be Filled By O.E.M. slot: AM3 size: 3200MHz capacity: 3200MHz width: 64 bits
To enable packet forwarding: echo "1" > /proc/sys/net/ipv4/ip_forward To make this permanent: set the variable net.ipv4.ip_forward = 1 in the /etc/sysctl.conf file. Then configure iptables to handle Network Address Translation /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE service iptables save To view the rule iptables -t nat -L