Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Linux Terminal disk Space Navigator diskonaut

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to use the Linux terminal disk space navigator diskonaut. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Diskonaut is a simple terminal disk space navigator built using Rust that supports Linux and macOS. To use it, specify an absolute path in the file system, such as / home/linuxmi, or run it in the target directory, which will scan the directory and map it to memory so that you can browse its contents. It allows you to check space usage even during scanning.

After the scan is complete, you can browse the subdirectories to show the contents that are consuming disk space in an intuitive tree. Diskonaut allows you to delete files and directories to keep track of the amount of space released in the process. It also supports keyboard shortcuts to simplify navigation.

In this article, you will learn how to install and use diskonaut on a Linux system.

Install diskonaut in Linux

To install and use diskonaut, you should install the Rust programming language on your system, and if not, use the following command to install.

[root@localhost / home/linuxmi/www.linuxmi.com] $curl-- proto'= https'-- tlsv1.2-sSf https://sh.rustup.rs | sh

Once the system has Rust installed, cargo (Rust package Manager) should be installed at the same time. Use cargo to install Diskonaut on the system, as shown in the figure.

[root@localhost / home/linuxmi/www.linuxmi.com] $cargo install diskonaut

If you are using Fedora,CentOS and Arch Linux, you can install diskonaut's latest pre-built binaries from the default repository, as shown below.

$sudo dnf install diskonaut $yay diskonaut

After installing diskonaut, you can start diskonaut in the directory you want to scan, or you can specify the absolute path of the directory to scan as a parameter.

$cd / home/linuxmi $diskonaut

Or

$diskonaut / home/linuxmi / root/.cargo/bin/diskonaut

At the bottom, you can see the available keyboard shortcuts available for diskonaut.

When the scan is complete, you can select a subdirectory, such as VirtualBox VM, and click Enter to browse.

The above is the editor for you to share how to use the Linux terminal disk space navigator diskonaut, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report