Category Archives: Linux

Count Number of Files and Folders in a Directory Using Terminal

I Googled so much and can’t find any simpler method to count files or folders in a directory in Linux. I am using Ubuntu 14.04. If it’s only files and folders, it would be simple. Count Files and Folders $ ls -l | wc -l The wc -l command is read “WordCount lines”. It means […]

My Gruntfile.js Content Using Compass and Watch

Now, say you don’t know how to create Gruntfile.js manually just like I was. You’re desperately want to use Compass (grunt-contrib-compass) and Watch (grunt-contrib-watch) to develop your project. First, you have to install it in your project folder as node_modules: $ npm install grunt-contrib-compass grunt-contrib-watch That will install the Compass and Watch into node_modules directory […]

How To See Available Node.js Global Package Using NPM

Some of you might be very disturbed by a question of how to know Node.js packages which globally installed in your Ubuntu 14.04 LTS. Such a terrible nightmare. But, the nightmare should be vanished using this simple one liner: $ npm ls -g –depth=0 That line would be similar to: $ ls /usr/lib/node_modules

NPM Global As Reference of NPM Local

How to refer NPM Local to NPM Global? If you don’t want to install the packages locally because it’s wasting hardisk space you can use the packages which have globally installed. For example, you install the sass package globally: $ sudo npm install -g grunt-contrib-sass You don’t want to do the same for your project, […]

How to Find Folders and Remove It Manually with SSH

My db-cache-reloaded had made my day very bad. My site considered as Malware site. So, I asked Hostgator support to scan all my directories upon my account. Then, Krasimir (Security Administrator) guy found the obsolete db-cache-reloaded made bad effect because it allows any hacker to exploit files. That’s horrible. I asked him about how to […]

How to Connect SSH from Ubuntu’s Terminal

If you have a shared account in HostGator, it is possible for you to have a connection straight to your files and folders. By using SSH you can simply login from your Putty or Terminal without opening your maindomain:2082 and enter the username and password that wasting time.

How to Remove Google Chrome Cache in Ubuntu


I tried to clean my Google Chrome cache in my Ubuntu 10.10. First time I tried, I was so confused to find where is the cache folder is. Then, I found that the cache folder is hidden. To find it go to your home directory and then hold CTRL + H. It will show you […]