Tag Archives: Terminal

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 […]

How to Sign in as ROOT in Ubuntu Terminal

You can sign in as ROOT in Ubuntu Terminal without password in the first time by typing sudo bash After that you can change the password for the ROOT by typing sudo passwd root And then you type the password. Don’t afraid when you type there is no character appears because it is the default. […]