Which is the Linux command to delete all files in a folder recursively? On Ubuntu, how to remove all files and folders in current directory? rm Command To Remove All Files In A Directory To remove empty directories only, you can use the rm command with the -d flag or rmdir command: OR Note that […]
Check User Login History In Ubuntu Linux Command Line
How to check system login and logout time for Linux Users. This post explains how to check user login history in Ubuntu Linux command line. The login information of any Linux Ubuntu System is stored in three places: 1. View history of all logged users To view the history of all the successful login on […]
Use Locate Command To Find File In Linux Terminal By Name
Here is a way to find file in Linux terminal by name. Yes. You can use Locate command to file in Linux Ubuntu System. The locate command in Linux is a powerful utility for quickly finding files and directories by name. Unlike the find command, which searches in real-time, locate uses a prebuilt database to […]
How To Change Terminal Color In Ubuntu Command Line
How to change terminal color in Ubuntu command line? Know what are the 8 terminal colors (Ubuntu terminal color code)? On Linux Terminal you’ve got 8 different terminal colors, which are – black , red , green , yellow , blue , magenta , cyan , and white. Here is a pro tip on how […]
How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency
How to run fsck manually on Linux to fix unexpected inconsistency; fsck exited with status code 4. If you are getting an error like dev/sda1 or dev/sda2 unexpected inconsistency; you can run fsck manually to solve this issue. This blog tells you exactly how to do this. Easiest way is to run fsck manually in […]
How To Fix Broken Packages On Ubuntu From Terminal
How to fix “E: Unable to correct problems, you have held broken packages” in Ubuntu Linux Systems. When you get error messages such as “the following packages have unmet dependencies” you can easily fix it by fixing broken packages in Ubuntu command line. Here is how to fix the above errors: Broken packages can result […]





