You may have come across the saying, “Everything is a file in Linux.” Although this is not entirely true, it does hold a set of truths to it. In Linux and Unix-like systems, everything is like a file. That means the resources in the Unix system get assigned a file descriptor, i...
Also, administrators used partitions to reserve a certain amount of space for operating system areas; for example, they didn’t want users to be able to fill up the entire system and prevent critical services from working. This practice is not unique to Unix; you’ll still find many new Wi...
How to Check Disk Space in Linux Using the df Command Thedfcommand, short for disk free, is a standard Unix command used to display the amount of available disk space on file systems. The basic syntax of thedfcommand is as follows: ...
You should also to check what version of module is compatible with your NGINX release. Modules can be compiled as a shared object (*.so file) and then dynamically loaded into NGINX at runtime (--add-dynamic-module). On the other hand you can also built them into NGINX at compile time...
Using du command to get directory size in Linux I am going to show you various examples of the du command that you can use to check the directory size and the disk utilization. The syntax for the du command is pretty simple. du [option] path_to_file_or_directory ...
Check /home Directory Disk Space 5. Check Disk Space Usage in Kilobytes To display all mounted filesystem information and usage in1024-byteblocks, use the option ‘-k‘ (e.g.--block-size=1K), which provides information about each filesystem on your system, presenting sizes in kilobytes (kb...
the path to a UNIX-domain socket (unix:/var/run/nginx.sock;) If the listen directive is not present then either *:80 is used (runs with the superuser privileges), or *:8000 otherwise. The next steps are as follows: NGINX translates all incomplete listen directives by substituting missing...
Also, you can use the following command to check your system's architecture: $ file /usr/bin/id Sample output: /usr/bin/id: ELF 64-bit LSB executable,x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=ca...
If you want to check the total disk space used by a particular directory, run: $ du -sh ~/ostechnix We can also display the size of multiple directories at once as shown below. $ du -sh ~/Desktop ~/Downloads To get the grand total of the combined directories in human-readable forma...
Similarly, you can also show or hide specific columns in a table. So let's say you want to show only theSIZEandAVAILcolumns in the result. You can do this with: ✕Remove Ads duf --output size,avail Viewing inode Information All Unix and Unix-like systems use both blocks and inodes ...