Browsed by
Category: Linux

Software Freedom Day Eve @Kathmandu University

Software Freedom Day Eve @Kathmandu University

Lets start this article with the saying of Richard M. Stallman, software freedom activist and computer programmer “Control over the use of one’s ideas really constitutes control over other people’s lives; and it is usually used to make their lives more difficult.” Every year open and free software lover celebrate  Software Freedom Day (SFD) on third saturday of september and in the same way third friday as Software Freedom Eve. In Kathmandu University, we have Kathmandu…

Read full Article Read More

How to simulate on-screen type like you see in movies?

How to simulate on-screen type like you see in movies?

While you have seen movie in which there is on-screen typing. Well, you can do same simply using “pv” command. First install pv command by simply copying or typing command below: sudo apt-get install pv Then do the following : echo “This is the checking of on-screen typing. Yes i can see on-screen typing using pv command” | pv -qL 10 Enjoy Linux

How to check the support status of linux destro?

How to check the support status of linux destro?

This is short article to check the support status of your version of linux. Here I show you in my system. I am using Ubuntu 14.04 LTS, Trusty Tahr. Copy or type the following command to check yours. ubuntu-support-status Result is: You have 36 packages (1.9%) supported until May 2017 (3y) You have 26 packages (1.4%) supported until February 2015 (9m) You have 5 packages (0.3%) supported until June 2016 (9m) You have 1779 packages…

Read full Article Read More

Unable to lock the administration directory (/var/lib/dpkg/), is another process using it

Unable to lock the administration directory (/var/lib/dpkg/), is another process using it

Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Have you ever faced this problem while trying to install any program in linux? Today, while I was installing “pv” command then I came across this problem. This problem may arises when other apt-get  may have been running in background. This can be resolved simply by rebooting the system or by killing the…

Read full Article Read More

Installing Sublime text in Linux

Installing Sublime text in Linux

Installing sublime text through command line is very easy. First you have to adds a PPA to your list of sources, so that Ubuntu knows to look for updates from that PPA as well as from the official Ubuntu sources. If you do not add this ppa then you will get less recent version of any application. Then, you need to the update the local database to know what package can be installed and from…

Read full Article Read More

How To Display Folder Only in Bash Using ls command?

How To Display Folder Only in Bash Using ls command?

Today I give you three ways to display folder only in bash using ls command. Here’s the demonstration: Step 1: Using echo saggi@saggi-A6200:~/Desktop$  echo */ Metasploit And Backtrack Videos/ password crack/ saggifoldear/ Untitled Folder Step 2: Using ls only. saggi@saggi-A6200:~/Desktop$   ls -d */ Metasploit And Backtrack Videos/ saggifoldear/ password crack/ Untitled Folder/ Step 3: Using ls and grep . saggi@saggi-A6200:~/Desktop$  ls -l | grep “^d” drwx—— 9 saggi saggi  4096 Mar 15 22:48 Metasploit…

Read full Article Read More

How to display file only in bash?

How to display file only in bash?

My last article was to display folder only using “ls” command, this time I want to share how to display files only in bash. Step 1: For this it is easy to use “find” command which is pre-installed in most of the Linux distro available in the market. Here is the command snippet:    :/> find .  -maxdepth 1 -type f using -maxdepth 1 ensure that your search remains only in the current directory (if…

Read full Article Read More