Syntax

From Mesopoly 3.0
Revision as of 14:50, 16 February 2007 by Zlatko (talk | contribs)
Jump to navigation Jump to search


iptables

iptables -F                                    # flushing
iptables -N SSH                                # creating named chain
iptables -A SSH -s 122.133.144.0/24 -j ACCEPT  # 
iptables -A INPUT -p tcp --dport 22 -j SSH     #
iptables -A SSH -j DROP                        #
iptables -L                                    # listing
iptables-save > a                              #

route

The following command forces the system to reread /etc/fstab and mount all the file systems:

/usr/sbin/mount -a

____________

linux temperature software - search for 'lm_sensors'

_____________

to convert avi for upload on http://video.google.com

mencoder beer.avi -o test.avi -ovc lavc -oac mp3lame -lavcopts acodec=mp3 -ffourcc DX50