The commands are very basic.. Nothing fancy here. Actually when I started using linux, I started this list because I couldn't remember any of these commands. Now I can remember. :D And I thought of helping the society. Enough of the talks now. Here ya go... Just drop a comment if you think I should add something. ;)
# Using Apache2
/etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean}
# Quick restart Kubuntu
CTRL + ALT + BACKSPACE
# Interesting config files
/home/
# Make Konqueror close tabs with middle mouse button
kwriteconfig --file konquerorrc --group "FMSettings" --key MouseMiddleClickClosesTab --type bool true
# Create or edit xxx in vi
vi xxx
# Start vi with cursor at end of file
vi + xxx
# vi starts in Command mode. Moving around in the file can be done there.
# To go to Insert mode in vi
a
# Back to Command mode in vi
# Save without exit
:w
# Save and exit vi
:wq
# Exit vi without saving
:q!
# Delete line in vi
dd
# Erase new lines in vi
:g/^$/ d
# Install xxx
sudo apt-get install xxx
# Remove xxx
sudo apt-get remove xxx
# Remove xxx and all its dependencies provided no other programs are using them
sudo apt-get autoremove xxx
# Search for xxx
apt-cache search xxx
# Show info for xxx
apt-cache show xxx
# Copy all files to /usr/local/lib/codecs/
sudo cp * /usr/local/lib/codecs/
# Delete file 'xxx yyy.zzz'
rm 'xxx yyy.zzz'
# Get list of files installed for xxx
dpkg -L xxx
# Rename/Move xxx to yyy
mv xxx yyy
# Make folder
mkdir xxx
# Get from /jevin/Downloads/xxx to /jevin/Downloads/
cd ..
# To fix blank startup screen, change window resolution values in /etc/usplash.conf to whatever your system is using.
# Then do
sudo update-initramfs -u
:p nice quick and fast. hmm to blog is nicer to look at with all black like that :p
hellloooo hybernating blogger, wake up... hmm, bann old bloggers la seems to be dead, mo p al wake up a few la moi... lack of role maybe..
etaaa june 08 sa post la... wake up