Tsarin aiki na Linux kernel yawanci suna adana yawancin adadin litattafai na wofi da ba komai. Wasu daga cikinsu suna ɗaukar sarari mai yawa a cikin injin, kuma sau da yawa sun zama ba dole ba. A wannan yanayin, cire su zai zama zaɓin da ya dace. Akwai hanyoyi da yawa don yin tsabtatawa; kowannensu yana aiki cikin takamaiman yanayi. Bari mu bincika dukkanin hanyoyin da ake samarwa cikin ƙarin daki-daki, kuma zaku zaɓi mafi dacewa gwargwadon bukatunku.
Share adireshi a Linux
A cikin tsarin wannan labarin, zamuyi magana game da abubuwan amfani da wasan bidiyo da ƙarin kayan aikin da aka ƙaddamar ta hanyar shigar da umarni. Koyaya, kar ka manta cewa ana aiwatar da kullun cikin rarrabuwar zane zane. Dangane da haka, don share jagora, kawai kuna buƙatar zuwa wurin ta ta mai sarrafa fayil, danna-dama akan gunkin kuma zaɓi Share. Bayan haka, kar a manta da komai a kwandon. Koyaya, wannan zaɓin bazai zartar da duk masu amfani ba, saboda haka muna bada shawara cewa ku karanta wannan littafin.
Kafin fara la’akari da hanyoyi, yana da muhimmanci a lura cewa idan ka shiga umarni, galibi zaka kan nuna sunan babban fayil wanda kake so ka goge. Lokacin da baka cikin wurin sa, dole ne a fayyace cikakken hanyar. Idan akwai irin wannan damar, muna bada shawara cewa ku nemi littafin iyayen da abun ya tafi dashi ta wurin mai amfani da na'ura. Wannan aikin yakan ɗauki 'yan mintoci kaɗan:
- Buɗe mai sarrafa fayil kuma tafi wurin babban fayil ɗin babban fayil.
- Dama danna kanshi sannan ka zavi "Bayanai".
- A sashen "Asali" Nemo cikakkiyar hanyar kuma tuna da shi.
- Unchaddamar da na'ura wasan bidiyo ta menu ko amfani da daidaitaccen hotkey Ctrl + Alt + T.
- Amfani cddon zuwa aiki a cikin layuka. Sannan layin shigarwar ya dauki tsari
cd / gida / mai amfani / babban fayil
kuma kunna bayan danna maɓallin Shigar. Mai amfani a wannan yanayin, sunan mai amfani, da babban fayil - sunan mahaifar babban fayil.
Idan baku da ikon tantance wurin, lokacin sharewa to dole ne ku shiga cikakkiyar hanyar da kanku, saboda haka zaku san shi.
Hanyar 1: Tabbatattun “Terminal” Dokokin
Shellarjin umarnin kowane rarraba Linux ya ƙunshi saiti na kayan aiki na yau da kullun da kayan aikin da ke ba ku damar aiwatar da ayyuka da yawa tare da saitunan tsarin da fayiloli, gami da share kundin adireshi. Akwai irin waɗannan abubuwan amfani da yawa kuma kowannensu zai kasance da amfani sosai a wani yanayi.
Kungiyar Rmdir
Da farko dai, ina so in taba rmdir. An yi nufin tsabtace tsarin ne kawai daga cikin kundayen adireshi. Yana share su dindindin, kuma amfanin wannan kayan aiki shine mafi sauƙin tsarin sa da kuma rashin kowane kuskure. Ya isa a yi rajista a cikin na'ura wasan bidiyobabban fayil
ina babban fayil - The sunan babban fayil a cikin halin yanzu wuri. Kunna kayan aiki ta latsa maɓallin Shigar.
Babu abin da zai hana ku bayyanar da cikakken hanyar zuwa shugabanci idan ba ku iya zuwa wurin da ake so ko kuma idan baku buƙata ba. Sannan layin ya dauki, misali, tsari mai zuwa:rmdir / gida / mai amfani / babban fayil / babban fayil1
ina mai amfani - sunan mai amfani babban fayil shine taken iyaye, kuma babban fayil1 - babban fayil don gogewa. Lura cewa dole ne a sanya slash kafin gida, kuma ya kasance ba ya nan a ƙarshen hanyar.
Rm team
Kayan aiki na baya shine ɗayan kayan aikin rm. Da farko, an tsara shi don share fayiloli, amma idan kun ba shi hujjar da ta dace, zai kuma share babban fayil ɗin. Wannan zaɓi ya riga ya dace da kundin adireshi marasa kan gado, a wannan yanayin kana buƙatar shiga cikin na'ura wasan bidiyorm -R babban fayil
(ko cikakkiyar hanya zuwa ga kundin adireshi). Ka lura da gardamar -R - yana fara gogewa daga jujjuyawa, shine, ya shafi dukkanin abubuwan cikin babban fayil ɗin da kansa. Shigarda kararra mai mahimmanci wajibi ne saboda -r - gabaɗaya zaɓi ne daban-daban.
Idan kuna son nuna jerin duk fayilolin da aka goge da manyan fayiloli lokacin amfani da rm, to kuna buƙatar ƙara gyaran layin. Buga a ciki "Terminal"rm -Rfv babban fayil
, sannan kunna aikin.
Bayan an kammala gogewar, za a nuna bayani game da dukkan kundin adireshi da abubuwa na mutum da suka kasance a wurin da aka ambata.
Nemo umarni
Akwai kayan aiki tuni akan shafin mu tare da misalai na amfani da samu a tsarin tsarukan aiki da aka gina akan kwayar Linux. Tabbas, akwai gabatarwar kawai da mafi mahimmancin bayani. Kuna iya sanin kanku tare da shi ta danna danna hanyar da ke gaba, kuma yanzu muna ba da bincike don gano yadda wannan kayan aikin yake aiki lokacin da ya zama dole a goge kundin adireshi.
:Arin: Linux sami misalai na umarni
- Kamar yadda kuka sani nema hidima don bincika abubuwa a cikin tsarin. Ta hanyar amfani da ƙarin zaɓuɓɓuka, zaku iya samun kundin adireshi tare da takamaiman suna kuma share su kai tsaye. Don yin wannan, a cikin na'ura wasan bidiyo, shigar da
nema. -zamar sunan mai suna "babban fayil" -exec rm -rf {} ;, inda babban fayil
- sunan shugabanci. Tabbatar a rubuta alamomi na biyun. - A wani layin daban, wani lokaci ana nuna bayanai cewa babu irin wannan fayil ko jagorar, amma wannan ba yana nufin ba a same shi ba. Kawai nema Ya sake yin aiki bayan cire jagorar daga tsarin.
sami ~ / -emin -kowa-mai-aikawa
ba ku damar share duk manyan fayiloli a cikin tsarin. Wasu daga cikinsu suna samuwa ne kawai ga superuser, don haka kafin nema yakamata ya karasudo
.- Bayanai akan duk abubuwan da aka samo da kuma nasarar aikin zai bayyana akan allon.
- Hakanan zaka iya saka takamaiman takaddun kayan aiki wanda kayan aikin zai bincika da tsaftace shi. Sannan layin zai duba, alal misali, kamar haka:
nemo / gida / mai amfani / Jaka / -emun -kamar-datti
.
Wannan yana kammala ma'amala tare da daidaitattun abubuwan amfani da na'ura wasan bidiyo a Linux. Kamar yadda kake gani, akwai adadi mai yawa daga cikinsu kuma kowanne yana dacewa da wasu yanayi. Idan kana san samun kusanci da sauran mashahuran kungiyoyi, karanta kayanmu daban a mahaɗin da ke ƙasa.
Duba kuma: Dokokin da Aka Amfani dasu akai akai a Linux Terminal
Hanyar 2: shafa mai amfani
Idan kayan aikin da suka gabata an gina su ne a cikin kwandon umarni, to, amfani da gogewar zai buƙaci shigar da kayan aikin hukuma da kansu. Amfaninta shi ne cewa yana ba ka damar share directory ba har abada ba tare da yiwuwar dawo da shi ta software na musamman ba.
- Bude "Terminal" kuma rubuta a can
sudo dace kafa goge
. - Shigar da kalmar wucewa don tabbatar da asusunka.
- Jira don kammala ƙarin sabon kunshin zuwa ɗakunan labarun tsarin.
- Zai rage kawai don zuwa wurin da ake so ko yin rajista da umarni tare da cikakken hanyar zuwa babban fayil ɗin. Ya yi kama da wannan:
goge -rfi / gida / mai amfani / babban fayil
ko kawaigoge -rfi babban fayil
a kan kisan farkohanyar cd + hanya
.
Idan tare da aiki a cikin kayan aiki goge dole ne fuska da farko, rubuta a cikin na'ura wasan bidiyogoge -help
don samun bayani kan amfani da wannan amfanin daga masu ci gaba. Za a nuna bayanin kowane mahawara da zaɓi a wurin.
Yanzu kun saba da umarnin tashar da ke ba ku damar share kundayen adireshi ko kayan adireshi marasa amfani a cikin OS da aka tsara a kan Linux. Kamar yadda kake gani, kowane kayan aiki da aka gabatar yana aiki daban, sabili da haka zai zama mafi kyau duka a cikin yanayi daban-daban. Kafin fara kayan aikin, muna bada shawara sosai cewa ka bincika daidaitaccen hanyar da takamaiman sunan da babban fayil saboda babu kurakurai ko gogewa mai haɗari.