Quantcast
Channel: Linux by Examples » which
Browsing all 7 articles
Browse latest View live

tabs in vim 7

This was amazing when I get to know that vim can do tab. Okay to do that, it is easy, what you need is to do a key binding. Create a file .vimrc into your home folder, and paste the lines bellow into...

View Article



allow root privilage GUI application run with user login.

For running root access GUI apps under user login desktop, you can do this at fedora, and other red hat based distro. sudo gnome-terminal This will not run correctly at ubuntu or debian based distro,...

View Article

check the file type

A command file is a good tool to help you determine what file type of a file. To check for a file type simply do this file filename Let say i want to check the file type of command line update-rc.d, i...

View Article

query using debian packaging manager

I am here to show you two examples of using dpkg to query package info. To know what deb package is installed, you can do this dpkg -l Usually we do this with grep, to filter only info that we are...

View Article

writting executable script

Shell script (sh), Bash script (bash), Python and perl are all scripting language. By default, to run a scripting file, for example Python script, you need to do this: python myscript.py Another...

View Article


CLI Magic: command not found, suggest what to apt-get

I have recently upgrade my Ubuntu Edgy to Ubuntu Feisty and I discover a fantastic CLI magic packaged with Feisty, its call command-not-found. With command-not-found package, when you have type some...

View Article

rpm and yum rescue tips on Fedora

You have to be careful when you run yum update and yum install, DON’T force kill it, kill -9 or pkill -9. Those action are consider very dangerous, may lead you to losing certain files. Seriously, I...

View Article
Browsing all 7 articles
Browse latest View live



Latest Images