How to fix username is not in the sudoers file, this incident will be reported in Ubuntu. How to add user to sudoers file which is not in sudoers file. Reason for the error “Username is not in the sudoers file This error is reported in Ubuntu when: 1. Fixing Sudo Error Using /etc/sudoers Open […]
How To Clear Terminal Screen In Linux Command Line
How to clear terminal screen in Linux command line. Learn how to use clear command in Linux with examples to clear Terminal Ubuntu. Linux Command To Clear Terminal Screen To clear terminal screen in Linux Ubuntu, the simplest command is “clear” to clear terminal screen: clear The clear command doesn’t need any option with itself. […]
How To Check Upgradable Packages In Ubuntu
On Ubuntu list package versions or use apt (apt list –upgradable command) to check package version available for the system. To update the list of packages in the Ubuntu repository; we run “sudo apt update” command to update the list of packages on the repository. Similarly to upgrade the packages that are pending updates, we […]
Find And Delete Files In Linux Older Than 30 Days
How to find and delete files in Linux older than 30 days. Here is the terminal command to find and delete files recursively Linux. You can easily find and remove multiple files with the extension or delete files older than 7 days in Linux. Find and Delete Files Older Than X Minutes Run the following […]
Count Number Of Files In Directory And Subdirectory In Linux Ubuntu
How to count number of files in directory and subdirectory in Linux Ubuntu. Here is the command to find number of files in a directory in Linux or count number of files in directory recursively. Using ls and wc Commnad The simplest command to count number of files in a directory and subdirectories is ls […]
How To Login As Root In Linux Without Password
How to login as root user in Ubuntu Linux command line. Read this tutorial to become root user in Ubuntu. You can also login as root in Linux without password. Su Command The command su is used to run a command with substitute user and group ID. When called with no user specified, su defaults […]