Category: Command Line
Using Awk
Simple uses for awk Get the second column from the output ps aux | awk ‘{print $2}’ Use a different…
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…
Installing Perl Modules
Install Perl modules on a linux system – must be connected to the net perl -MCPAN -e shell If CPAN…
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…
Shutdown A Windows System from Command Line
ShutDown.EXE [/shutdown][/restart][/poweroff][/logoff][/lockws][/hibernate][/standby][/fshutdown][/frestart][/fpoweroff][/flogoff][/flockws][/fhibernate][/fstandby][/hide][/show] Switch Description Available for /shutdown ShutDown Windows Windows (all) /restart Restart Windows Windows (all) /poweroff Power Off Windows …
Decompiling CHM File to HTML
hh.exe -decompile <FolderName> <Chm_File_Name> Example hh.exe -decompile “E:\Backup\” E:\All Song4s.chm [tags]windows,chm,help,decompile,html,file[/tags]
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)…
Sharing an Internet Connection from A Linux System using IPTables
To setup internet connection sharing in Linux system using IPTables Enable IP forwarding Run as root sysctl -w net.ipv4.ip_forward=1 To…
Yum Options
Using yum command usage: yum [options] < upgrade, install, update, info, search > Use the -y option to bypass the…
Recent Comments