Browsed by
Category: tips

How to add SublimeREPL in sublime-text2 and sublime-text3?

How to add SublimeREPL in sublime-text2 and sublime-text3?

Did your sublime text return “EOF when reading a line” error message when you press CTRL + b? If yes then you might not have SublimeREPL package installed in your system. Here is the easy way to install SublimeREPL. Step 1: CTRL + ` or view -> show console to open the console Step 2: Then copy and paste the following code in the console. For sublime2: import urllib2,os,hashlib; h = ‘2915d1851351e5ee549c20394736b442’ + ‘8bc59f460fa1548d1514676163dafc88’; pf…

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