Otu esi etinye Utility Duf Disk na Ubuntu 20.04

Mba, ọ bụghị biya Duff ma ọ bụrụ na nke ahụ na-ada mgbịrịgba. Taa, anyị na-ekwu maka ya Uru diski Duf, isi iyi mepere emepe, efu "Utility efu iji diski" edere na Goland wee wepụta ya n'okpuru ikike MIT. Ngwa diski na-akwado ọtụtụ nyiwe dị ka BSD, Linux, macOS na sistemụ arụmọrụ Windows.

Duf bụ akụrụngwa iwu iji chọta ojiji diski na Linux na ọnụ sistemu Unix. Otu n'ime njirimara kachasị mma nke Duf bụ ike ya igosipụta nkọwa ojiji diski na ọmarịcha, nhazi enyi na enyi na ụdị taabụ. Ụfọdụ atụmatụ agbakwunyere nwere Duf gụnyere ojiji diski na mmepụta JSON.

N'ime nkuzi a, ị ga-amụta ka esi etinye Ubuntu 20.04 LTS Focal Fossa.

Prerequisites

  • OS akwadoro: Ubuntu 20.04 ma ọ bụ karịa
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Na-emelite Sistemụ Ọrụ

Melite gi Ubuntu sistemụ arụmọrụ iji hụ na ngwugwu niile dị kwalitere ruo ugbu a:

sudo apt update && sudo apt upgrade

Mgbọrọgwụ ma ọ bụ Sudo Access

Site na ndabara, akaụntụ ejiri Ubuntu na-enye ọkwa sudo. N'agbanyeghị, were ya na ị ga-enye ndị ọzọ akaụntụ sudo/mgbọrọgwụ ohere. N'okwu ahụ, ị ​​ga-enwerịrị ike ịnweta ya mgbọrọgwụ paswọọdụ iji iwu su ma ọ bụ gaa na nkuzi nkuzi anyị Otu esi etinye onye ọrụ na Sudoers na Ubuntu.


Advertisement


Wụnye Duf na .deb

Duf anaghị abata na ebe nchekwa ndabere nke Ubuntu 20.04, yabụ ị ga-ebudata ya .deb ngwugwu site na oru ngo GitHub weputara peeji. Ozugbo ị nwetara njikọ kachasị ọhụrụ, mepee ọnụ ọnụ gị wee budata ngwugwu ahụ.

Ihe Nlereanya:

wget https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_amd64.deb

Na-esote, wụnye Duf Disk Usage Utility na iwu na-esonụ:

sudo dpkg -i duf_0.6.2_linux_amd64.deb

Ihe atụ mmepụta:

Selecting previously unselected package duf.
(Reading database ... 229993 files and directories currently installed.)
Preparing to unpack duf_0.6.2_linux_amd64.deb ...
Unpacking duf (0.6.2) ...
Setting up duf (0.6.2) ...

Wụnye Duf na ngwugwu Snap

Usoro ntinye ọzọ maka ndị ọrụ Ubuntu na-etinye Duf na njikwa ngwugwu Snap arụnyere na sistemụ gị.

Iji tinye Utility Duf Disk na Snap, mee iwu a:

sudo snap install duf-utility

Ihe atụ mmepụta:

duf-utility v0.6.0 from muesli installed

Advertisement


Otu esi ebido & Jiri Duf

Ugbu a ị tinyela Duf Disk Utility, ị nwere ike ịmalite ngwa ahụ. Iji nweta ihe ngosi, jiri iwu na-esonụ n'ọnụ ọnụ gị:

duf

Ihe atụ mmepụta:

Otu esi etinye Utility Duf Disk na Ubuntu 20.04

N'aka nke ọzọ, ọ bụrụ na ị ga-achọ igosipụta faịlụ sistemụ niile, gụnyere ndị bụ oyiri, pseudo na zoro ezo, na-eji iwu a:

duf -all

Ihe atụ mmepụta:

Otu esi etinye Utility Duf Disk na Ubuntu 20.04

Duf nwekwara ike nwee ike iwetulata na mezie nkọwa nke ihe ị ga-achọ ịhụ na ma ọ bụ jiri mkpụrụokwu lelee. Usoro ihe atụ syntax ga-abụ:

duf--output keyword

Ihe atụ nke iji mkpụrụokwu ga-abụ nhọrọ dị ka mountpoint, nha, na ojiji. Ị nwere ike iji ha atọ ọnụ ma ọ bụ n'otu n'otu. Ngwakọta ọ bụla ga-ekwe omume.

Ọmụmaatụ nke mountpoint, nha na ojiji:

duf --output mountpoint,size,usage

Ihe atụ mmepụta:

Otu esi etinye Utility Duf Disk na Ubuntu 20.04

Ihe atụ mmepụta:

Maka nhazi, ị nwere ike ịgbanwe agba site na ìhè na ọchịchịrị ha na ọzọ.

Mee ka isiokwu ọkụ rụọ ọrụ:

duf --theme light

Mee ka isiokwu gbara ọchịchịrị rụọ ọrụ:

duf --theme dark

Ihe atụ mmepụta:

Iji nweta nchịkọta nhọrọ enyemaka ka ịchọta ozi ndị ọzọ gbasara iwu ma ọ bụ chọta ozi ndị ọzọ n'ozuzu, jiri iwu na-esonụ.

duf --help

Ihe atụ mmepụta:

Otu esi etinye Utility Duf Disk na Ubuntu 20.04

Okwu na mmechi

Duf bụ mmemme dị mfe iji nyochaa uru diski. Ọ dị fechaa ma na-etolite mgbe niile na-elele GitHub na-eme ya. A na-ahazi ahụhụ ngwa ngwa na ọkacha mmasị n'etiti ọtụtụ ndị chọrọ mmemme ọkụ ịhụ ojiji diski, ọkachasị na gburugburu sava.

Idenye aha
Gwa nke
0 Comments
Inline nzaghachi
Lee echiche niile
0
Ga-ahụ n'anya gị echiche, biko okwu.x