Ubuntu users can also use top command to check memory and cpu usage per process. It reports total memory usage and also total RAM usage by the processes. The top program provides a dynamic real-time view of a r
This is our ongoing series ofLinux commandsand in this article, we are going to reviewlsofcommand with practical examples.lsofmeaning‘LiSt Open Files’is used to find out which files are open by whichLinux process. As we all knowLinux/Unixconsiderseverything as a file(pipes,sockets,directories...
On the internet, you will find plenty of tools forchecking disk space usagein Linux. However, Linux has a strong built-in utility called ‘df‘. The ‘df‘ command stands for “disk filesystem“, it is used to get a full summary of available and used disk space usage of the file sys...
The size of a folder or directory in Linux can be found using the du command. du here stands for disk usage. I’ll explain the logic behind the 4.0K size for the directories later in this tutorial. For the moment, let’s focus on getting the directory size. If you want to check th...
You need to check a current disk space usage (or enough free disk space) on your Linux system before you performing any patch update or installing a new application or downloading a large file. It's a prerequisites to perform the above tasks, that will h
Before usingchownto change ownership of a file or directory, you need to know the original file owner or group. The easiest way to check ownership is to use thels command. To check the group or ownership of Linux files and directories in the current location, run the following command: ...
Thefindcommand in Linux is a powerful tool used tosearch for filesanddirectorieswithin a specified path based on different criteria. Moreover, it allows users to locatefilesby name, type, size, permissions, and more, making the tool essential for file management and system administration. ...
Mounted file systems and devices The more common command to check mounted file systems on linux is the mount command which is used to not only list mounted devices, but also mount and unmount them as and when needed. Here is another nifty command called findmnt, that can be used to take ...
To display information that the Linux brctl utility provides that you can use for debugging, use the show kernel command. show kernel { process | bridge [ mac-address bridge_name] | cgroup-controller [ cpu | cpuset | memory] [ detail] | ifconfig | module} Syntax D...
Linux shell standard input bugs All In One2023-05-314.Linux shell command base64 All In One2023-05-305.How to use the shell command to get the version of Linux Distributions All In One2023-05-306.Linux shell command make & Makefile All In One2023-05-247.Linux shell command strings ...