Tag: Linux
Get the First Line of Command Output in Shell
Get just the first line of the output of a command… <command>|head -n1 ls -1|head -n1
Remove Extension in Shell Scripting
This command will list all the files a folder without their extensions. Comes handy when doing shell scripting perl -e…
Extracting DAA Image Files
I once got a DAA file from a P2P network. Initally I was at a lose about how to extract…
Using Awk
Simple uses for awk Get the second column from the output ps aux | awk ‘{print $2}’ Use a different…
Install Win32Codecs in Linux
Win32Codecs is a collection of important codes to play videos in linux Download http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 Extract into /usr/lib/codecs/
Mount ISO Images
Mounting ISO Images in Linux mount -t iso9660 -o loop <Image_File> <Mount_Point> How to Mount ISO/MDF Images in Linux
Install Recoll
Recoll is a personal full text search tool for Unix/Linux. It is based on the very strong Xapian backend, for…
Compile and Install LAMP Server from Source – PHP5, Apache2, MySQL5
MySQL ./configure –prefix=/usr/local/mysql –localstatedir=/var/lib/mysql –with-mysqld-user=mysql –with-unix-socket-path=/tmp/mysql.sock –without-comment –without-debug –without-bench make make install cp support-files/my-medium.cnf /etc/my.cnf chown root:sys /etc/my.cnf chmod 644…
Remove an existing Kernel
The final numbers(2.6.20.6) is the version of you kernel. You can get this using uname -r (for the current kernel)…
Compiling a 2.6 Linux kernel
Get the latest Kernel from kernel.org Get a default .config file cp /boot/config-`uname -r` ./.config OR make defconfig Then configure…
Recent Comments