All Entries in the "Linux" Category
File System Permission
Every file on the system has associated with it a set of permissions. Permissions tell UNIX what can be done with that file and by whom. There are three things you can (or can’t) do with a given file: read it, write (modify) it and execute it. Unix permissions specify which of [...]
Iptables Common rules
Looking for some common rules to be implemented on your Firewall? below are few examples that you can use or give you some idea on how you can get on. 1. This blocks everything except normal web traffic, encrypted (ssl), and the file transfer protocol. iptables -I FORWARD 1 -p tcp -m multiport –dports 21,80,443 [...]
How To Compile Custom Kernel in Linux
Here is how you can compile custom kernel for your linux machine. Please note that I used Ubuntu 11.10 (Oneiric Ocelot) to create these instructions, but the principles should apply to most Linux systems. Step # 1 Get Latest Linux kernel code sudo mkdir /development cd /development wget http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.35/linux-2.6.35.13.tar.bz2 Note: I’ve downloaded older version kernel [...]
Vi Quick Guide
Are you new to Vi? Can’t get your head around while using Vi? Here is the quick guide which can be very useful. Vi Quick Guide Insert -> To add text Esc -> To exit text & enter navigation mode wq [...]