Difference between revisions of "Syntax"
Jump to navigation
Jump to search
m |
|||
| Line 1: | Line 1: | ||
[[Category:Technical]] | [[Category:Technical]] | ||
| + | |||
| + | ===iptables=== | ||
| + | 287 iptables -F | ||
| + | 288 iptables -A SSH -s 122.133.144.0/24 -j ACCEPT | ||
| + | 289 iptables -A INPUT -p tcp --dport 22 -j SSH | ||
| + | 290 iptables -A SSH -j DROP | ||
| + | 291 iptables -L | ||
| + | 292 iptables-save > a | ||
| + | |||
| + | |||
The following command forces the system to reread /etc/fstab and mount all the file systems: | The following command forces the system to reread /etc/fstab and mount all the file systems: | ||
Revision as of 14:00, 16 February 2007
iptables
287 iptables -F 288 iptables -A SSH -s 122.133.144.0/24 -j ACCEPT 289 iptables -A INPUT -p tcp --dport 22 -j SSH 290 iptables -A SSH -j DROP 291 iptables -L 292 iptables-save > a
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