I-GNU Coreutils 9.1 ifika nophuculo, ukulungiswa kunye nokunye

Kwiintsuku ezininzi ezidlulileyo ubukho benguqulelo entsha yabhengezwa iseti ezinzileyo yezixhobo ezisisiseko zenkqubo GNU Coreutils 9.1, equka iinkqubo ezifana nokuhlela, ikati, i-chmod, i-chown, i-chroot, i-cp, umhla, i-dd, i-echo, igama lenginginya, i-id, ln, ls, njl.

Coreutils (okanye GNU Core Utilities) yi umqulu wesoftware ophuhliswe yiprojekthi ye GNU equlathe izixhobo ezingundoqo ezininzi njengekati, ls, kunye nerm ezifunekayo kwiindlela zokusebenza ezifana ne-Unix. Yindibaniselwano yeepakethe ezintathu zangaphambili: izinto eziluncedo zefayile (iifayile), izixhobo zeqokobhe (ishellutils), kunye nezixhobo zokusetyenzwa kwamagama (textutils).

Izinto ezingundoqo ze-GNU xhasa iinketho zomtya omde njenge parameters kwimiyalelo, kunye nokuvumela okuthile kwindibano yokuchaza iinketho phambi kweengxoxo eziqhelekileyo (ukuba iPOSIXLY_CORRECT imo eguquguqukayo isetiwe, eyenza ukusebenza okwahlukileyo kwi-BSD). Ukongeza, kuba ifilosofi yeGNU isebenzisa ulwazi oluvela kumaphepha omntu (kwaye isebenzisa izixhobo ezinje ngolwazi), ulwazi olunikiweyo lukhulu.

Iimpawu ezintsha eziphambili ze-GNU Coreutils 9.1

Kolu guqulelo lutsha lwe-GNU Coreutils 9.1 evezwayo, kuphawulwe ukuba yongezwa dd inkxaso yezinto eziluncedo kwamanye amagama okhetho iseek=N yokutsiba=N kunye ne-oseek=N yokufuna=N, ezisetyenziswa kukwahluka kwe-BSD ye-dd.

Ukongeza koku, kukwagxininiswa ukuba luncedo dd ibonelela ngokubalwa kwee-bytes endaweni yeebhloko ukuba ixabiso lekhawuntari liphela ngonobumba "B" ("dd count=100KiB"). I-count_bytes, skip_bytes, kunye nesey_bytes iflegi ziye zarhoxiswa.

Kwakhona kuphawulwe ukuba ukongeza "--print-ls-colors" ukhetho kwi-dircolors ukubonisa ngokubonakalayo kunye nokwahlukileyo imibala echazwe kuguquguquko lwemeko-bume ye-LS_COLORS, ukongeza ekongezeni inkxaso yokutshintsha kwemeko-bume yeCOLORTERM ukongeza kwi-TERM kwi-dircolors.

Into eluncedo ikati iphumeza usebenziso lwenkqubo yokufowuna yefayile_yefayile, ngenkxaso yayo yinkqubo, ukukopa idatha phakathi kweefayile ezimbini kuphela kwicala le-kernel ngaphandle kokudlulisela idatha kwimemori yenkqubo yesithuba somsebenzisi.

i-chown kunye ne-chroot zinika isilumkiso xa usebenzisa isivakalisi "chown root.root f" endaweni ye "chown root:root f" njengoko kunokubakho iingxaki kwiindlela ezivumela amachaphaza kumagama omsebenzisi).

Kwi-ls, ukuqaqambisa ifayile kuvaliwe ngokungagqibekanga, kuthathelwa ingqalelo amandla, njengoko oku kukhokelela ekunyukeni komthwalo malunga nama-30%.

En ls kunye ne-stat, iinzame zokunyusa iifayile zivaliwe. Ukunyuswa okuzenzekelayo, kufuneka ucacise ngokucacileyo ukhetho “stat –cached=never

kwizinto eziluncedo cp, mv kwaye ufake ngoku kuyenzeka ukuba sebenzisa iifowuni ze-openat* zesixokelelwano xa ukhuphela kuluhlu lweencwadi ukuphucula ukusebenza kakuhle kunye nokuphepha iimeko zogqatso ezinokubakho.

Kwi-macOS, into eluncedo ye-cp ngoku yenza ikopi-kwi-clone yokubhala yefayile ukuba imvelaphi kunye neefayile zokusingwa zi kwi-APFS efanayo kwaye ifayile yendawo ayikho. Xa kukotshwa, indlela yofikelelo kunye nexesha nazo ziyagcinwa (njengaxa 'cp ​​-p' kunye 'cp -a' zisenziwa).

Olunye utshintsho evelele kule nguqulo intsha:

  • printf ibonelela ngenkxaso yoshicilelo lwamanani amanani ngoonobumba bemultibyte.
  • "sort --debug" iphunyeziwe uxilongo lweengxaki ezinamagama kwi "--field-separator" iparamitha engqubanayo noonobumba abanokusetyenziswa ngamanani.
  • Inketho ethi '-isisombululo' yongezwe kwisixhobo 'somhla' ukubonisa idatha ngexesha lokulandela ukuchaneka.
  • I-chmod -R ayisaphumi kwimeko yempazamo xa ufumana ii-symlinks. Zonke iifayile ziyakuqhuba ngempumelelo, kodwa imeko yokuphuma yayingalunganga.
  • I-cksum ayisawavumeli amagama afinyeziweyo e-algorithm, ngaloo ndlela iphucula ukuhambelana nokungasemva kunye nokomelela.
  • I-AIX yakha ayisaphumeleli kuba eminye imisebenzi yethala leencwadi ayikho.

Ekugqibeleni, ukuba unomdla wokwazi okungakumbi ngayo kolu guqulelo lutsha, ungajonga iinkcukacha kwi eli khonkco lilandelayo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.