Sida loo tirtiro faylka ama hagaha Linux
Haddii aad xidid ku leedahay PC-gaaga Linux , waxaad awood u leedahay inaad tirtirto fayl kasta ama hagaha aad jeceshahay. Tani waxay noqon kartaa khatar, si kastaba ha ahaatee, qalabyada sida rm u ogolaanaya isticmaalayaasha inay si taxadar la'aan ah u tirtiraan faylasha nidaamka muhiimka ah shil. Taasi waa sababta, haddii aad isku dayeyso inaad tirtirto faylasha ama hagaha Linux , waxaad u baahan tahay inaad qaadato taxaddar.
Waxaa jira dhowr siyaabood oo aad uga saari karto hagaha ama faylasha Linux , adoo isticmaalaya midkood maamulaha faylka qaybinta Linux ama terminal furan (ilaa inta aad haysato ogolaanshaha saxda ah(right permissions) ). Haddii aad rabto inaad ogaato sida loo tirtiro faylka ama tusaha Linux , halkan waa waxa aad u baahan doonto inaad sameyso.
Isticmaalka Maareeyaha Faylka si aad uga saarto Faylasha ama Hagaha Linux(Using a File Manager to Remove Files or Directories in Linux)
Haddii aad tahay bilaw Linux(Linux beginner) , waxaa laga yaabaa inaad ka digtoonaato isticmaalka terminalka si aad u tirtirto faylasha ama faylalka Linux . Ka dib oo dhan, ma jirto dib u soo noqoshada markaad dejiso amar sida rm off si aad u bilowdo tirtirka faylasha. Halkii aad halis gelin lahayd tan, waxaad isticmaali kartaa maamulaha faylka oo ku baakadeysan qaybinta Linux -kaaga si aad u tirtirto faylalka ama faylalka.
Iyadoo maamulayaasha faylka Linux ay ku kala duwan yihiin naqshadeynta, waa inay u shaqeeyaan si la mid ah. Hagahan waxa uu sahamiyaa sida tan loo sameeyo iyada oo la adeegsanayo maareeyaha faylka Ubuntu, laakiin tillaabooyinka waxay u badan tahay inay la mid noqdaan maareeyaha faylka ee lagu daray qaybinta kale.
- Si aad u bilowdo, fur maareeyaha faylka gudaha Linux distro kaaga. Tani waa inaysan noqon mid aad u adag in la helo, iyadoo summada isticmaalaha ay u badan tahay inuu u ekaado galka dukumeentiga. On Ubuntu , app this waxaa loogu magac daray Files .
- Maareeyaha faylkaaga distro, u gudub hagaha ay ku jiraan faylasha ama faylalka hoose ee aad rabto inaad tirtirto. Marka hore(First) , dooro faylasha ama galka aad rabto inaad tirtirto. Marka la doorto, midig-guji iyaga oo dooro U guuri Qashinka, U dhaqaaq Bin,(Move to Trash, Move to Bin,) ama Tirtir(Delete) , iyadoo ku xidhan qaybintaada iyo deegaankaaga. Waxaad sidoo kale dooran kartaa furaha Delete ee kumbuyuutarkaaga si aad u gaarto saameyn la mid ah.
- Inta badan qaybinta waxay ku shaqeysaa nidaamka qashinka kaas oo kuu ogolaanaya inaad "kaydiso" faylasha ka hor inta aan la tirtirin, taasoo ku siinaysa fursad aad ku soo celiso. Tan waxaa sida caadiga ah laga helaa miiska miiska, sida gelitaanka maamulaha faylkaaga, ama abka ahaan waxaad ka dhex bilaabi kartaa liiska software-kaaga. Si aad u dhamaystirto nidaamka tirtirka, geli galka qashinka, ka dibna dooro ikhtiyaarka maran(Empty ) ama tirtir(Erase) . Doorashadani way kala duwanaan kartaa, iyadoo ku xidhan qaybintaada.
- Haddii kale, dooro shaygaga (ama alaabtaada), dabadeed midig-guji oo dooro Delete from Trash si aad gabi ahaanba uga saarto.
Sida loo tirtiro faylasha ama hagaha Linux iyadoo la adeegsanayo amarka rm(How to Remove Files or Directories in Linux Using the rm Command)
Ka saarida feylasha ama galka iyadoo la isticmaalayo abka maamulaha faylkaaga qaybinta waxay u shaqeysaa si fiican, laakiin waxaa jira xaddidaadyo. Tusaale ahaan, haddii aadan ahayn milkiilaha faylka, waxaad u baahan doontaa inaad furto maamulaha faylkaaga xidid gelitaanka adoo isticmaalaya terminalka si aad u tirtirto. Sidoo kale ma isticmaali kartid app kan oo kale ah rakibaadda Linux madax la'aan (terminal-kaliya)(Linux)
Taasi waa halka uu ka soo galo amarka rm . Unix taliskani(Unix) waxa uu dib u dhacay 1971 waxana uu ahaadaa habka ugu dhaqsaha badan ee loo tirtiro faylasha ama hagayaasha Linux(Linux) . Ka digtoonow, si kastaba ha ahaatee - taliska rm wuxuu leeyahay awood weyn, gaar ahaan haddii aad ku shaqeyneyso sudo ama si toos ah isticmaalaha xididka , markaa waxaad u baahan doontaa inaad ka taxadarto isticmaalka.
- Si aad meesha uga saarto hal fayl adigoo isticmaalaya rm , fur daaqad cusub oo terminal ah (ama xidhiidhinta fog ee SSH ) oo ku qor rm file , adigoo ku bedelaya faylka(file) magaca faylka saxda ah. Haddii aadan ku jirin hagaha isku mid ah, waxaad u baahan doontaa inaad isticmaasho cd si aad ugu guurto marka hore, ama isticmaal dariiqa faylka oo buuxa (tusaale. rm /path/to/file ).
- Si aad meesha uga saarto faylal badan, ku qor rm file1 file2 , adigoo ku beddelaya file1 iyo file2 oo wata magaca faylka saxda ah iyo dariiqa faylka. Waxaad ku dari kartaa faylal dheeri ah amarkan si aad meesha uga saarto in ka badan laba.
- Haddii aad rabto in aad ka saarto hagaha madhan Linux , ku qor rm-d directory , adigoo ku beddelaya tusaha(directory ) magaca iyo dariiqa saxda ah. Haddii tusaha aanu faaruqin oo uu leeyahay fayl-hoosaadyo ama faylal, ku qor rm-r directory , ku beddel tusaha(directory ) magaca iyo waddada saxda ah.
- Waxa kale oo aad hal mar ka saari kartaa hagayaal badan adiga oo ku qoraya rm -r directory1, directory2 , iwm.
- Haddii aad rabto in aad tirtirto dhammaan faylasha ama hagayaasha ku habboon faylka qayb ahaan ama magaca tusaha, waxaad isticmaali kartaa calaamado duurjoog ah, sida calaamad ( * ). Si tan loo sameeyo, ku qor rm fil* ama rm -r dir* , adigoo ku beddelaya meel-hayeyaasha fil ama dir magacyada faylkaaga iyo waddooyinka hagaha.
- Haddii faylka ama hagaha la ilaaliyo, waxa laga yaabaa inaad u baahato inaad xoog tirtirto. Si aad tan u samayso, ku qor rm-rf path ,(path ) adigoo ku beddelaya dariiqa meel-haystaha hagaha saxda ah ama dariiqa faylka. Amarkani wuxuu xanbaarsan yahay khatar aad u daran(carries extreme risk) , markaa iska hubi in dariiqa aad isticmaalayso uu yahay mid sax ah ka hor intaadan sii wadin.
- Haddii aad ka welwelsan tahay isticmaalka amarka rm -rf , waxaad ku qasbi kartaa rm inuu codsado xaqiijin ka hor inta aan fayl kasta ama hagaha la tirtirin. Si tan loo sameeyo, isticmaal jidka rm-i,(rm -i path, ) adigoo ku beddelaya dariiqa(path) magaca faylkaaga ama dariiqa hagaha. Hagaha, isticmaal jidka rm-ir beddelka(rm -ir path ) . Geli kasta, dooro furaha Y ee kiiboodhkaaga, ka dibna dooro Geli(Enter) si aad u xaqiijiso.
Haddii aad rabto inaad wax badan ka ogaato fursadaha rm ee suurtogalka ah iyo doodaha, ku qor man shred in terminalka si aad u aragto buug-gacmeedka oo buuxa.
Si Buuxda U Tirtiraya Faylasha Anoo Adeegsanaya Taliska La Goostay(Completely Erasing Files Using the shred Command)
Iyadoo amarrada sida rm iyo unlink ay ku fiican yihiin tirtiridda faylasha Linux , waxay ka tagaan raad raac. Adiga (ama qof kale) waxaad isticmaali kartaa raad-raacyadan si aad uga soo ceshato faylalka(recover files) darawalka adag ama kaydinta la qaadi karo ee aad hore u tirtirtay. Tani waxaa laga yaabaa inaysan ku fiicneyn, gaar ahaan haddii aadan rabin in faylasha la soo saaro.
Si aad u xalliso dhibaatadan, waxaad dib u qori kartaa faylasha marka hore adoo isticmaalaya amarka shred . Tani waxay hubinaysaa in dhammaan xogta ku jirta faylka si isdaba joog ah loo qoray ka hor inta aan la tirtirin, iyada oo hubinaysa in aan raad galka laga tegin kana hortagaysa in la soo saaro. Waxaa laga yaabaa inaad rabto inaad isticmaasho amarkan si aad u tirtirto dukumeentiyada xasaasiga ah, tusaale ahaan.
- Si tan loo sameeyo, fur daaqada terminal ama samee xiriir fog adoo isticmaalaya SSH oo ku qor faylka shred(shred file) , adigoo ku bedelaya faylka(file) magacaaga iyo dariiqaaga. Haddii aadan rabin inaad bixiso dariiqa faylka, isticmaal cd si aad ugu safartid tusaha ka kooban faylka ama hagaha hoose ee aad rabto inaad marka hore saarto.
- Amarka la gooyay(shred) wuxuu leeyahay xuduudo dheeraad ah oo aad gudbi karto si loo hubiyo in faylkaaga si badbaado leh loo tirtiray. Tusaale ahaan, shred -f waxay ku qasbi doontaa in la tirtiro feylasha la ilaaliyo ee qorista, halka shred -u uu hubin doono in faylka gabi ahaanba meesha laga saaray marka la gooyo, hubinta inuusan mar dambe ka muuqan maamulaha faylkaaga ama adoo isticmaalaya amarka ls .
- Haddii aad rabto in aad dib u qorto faylka in ka badan heerka caadiga ah ee 3 jeer, isticmaal shred -n 0 , ku beddel 0 oo leh qiime nambaro kale. Haddii aad rabto inaad qariso saamaynta la gooyay, isticmaal shred -z si aad ugu qasbiso isticmaalka orodka ugu dambeeya ee ku beddelaya faylka eber.
- Amarka la jaray(shred) caadi ahaan wax natiijo ah kama soo saaro terminaalka. Haddii aad rabto inaad aragto faahfaahin dheeraad ah oo ku saabsan waxa ay qabanayso marka ay socoto, isticmaal shred -v beddelkeeda.
Sida rm , waxaad wax badan ka baran kartaa adigoo ku dhejinaya man shred ee terminalka ka hor intaadan isticmaalin amarka.
Ka ilaalinta faylashaada Nidaamyada Linux(Protecting Your Files on Linux Systems)
Markaad ka saarto tusaha ama feylka Linux , waxaad u bannaynaysaa meel ka mid ah darawalkaaga adag faylalka dhabta ah ee muhiimka ah, haddii ay tahay dukumeenti muhiim ah ama sawiro aan la bedeli karin. Dhib malahan haddii aad isticmaalayso Linux Mint ama qayb kale oo weyn(other major distribution) , sida tillaabooyinka kor ku xusan waa inay u shaqeeyaan ku dhawaad distro kasta oo Linux ah(Linux) oo aad doorato inaad isticmaasho.
Haddii aad ka welwelsan tahay luminta xogta, waxaa jira tallaabooyin aad qaadi karto si aad u ilaaliso faylashaada. Iyadoo nidaamyada Linux ay caadi ahaan ammaan badan yihiin, fayraska Linux(Linux antivirus) wuxuu kaa caawin karaa inaad ka ilaaliso faylashaada malware-ka ku faafi kara shabakadaada deegaanka. Waxaa laga yaabaa inaad u baahato inaad si otomaatig ah u samayso kaydka faylka(automating a file backup) adoo isticmaalaya kaydinta maxaliga ah ama daruuraha, sidoo kale.
Related posts
Linux Hel Taliska Tusaalooyinka
5 Sababood oo Wanaagsan oo loogu talagalay Daaqadaha Linux
HDG wuxuu sharxayaa: Waa maxay UNIX?
9-ka ugu Wanaagsan Linux Distros ee loogu talagalay jabsiga
Khiyaamooyinka Gawaarida: Isticmaal Terminalka sida saacada digniinta
Sida loogu rakibo Linux Distro Buugaaga Chrome-ka
Abuur oo wax ka beddel faylalka Zip-ka ee Linux Adoo isticmaalaya Terminalka
Ku samee Linux Live Live Custom oo leh Kit Linux Live
Sida loo rakibo Ku dhawaad Printer kasta Ubuntu
Ku tus oo ku qari calaamadaha Desktop gudaha GNOME Linux
5-ta Cayaarood ee ugu Wanaagsan Linux
10-ka ugu fiican ee duubayaasha shaashada ee Linux
U beddelo Sawirrada u dhexeeya Qaababka iyada oo loo marayo khadka taliska ee Ubuntu
7 dariiqo oo loo maro Zip oo laga furo faylalka Linux
Fedora vs Ubuntu: Qaybinta Linux kee ka wanaagsan?
Habka ugu fudud ee meel fog looga xidhi karo Linux Mint ka OS kasta
5-ta ugu sareysa Linux Distros waa inaad isticmaashaa
Sida loo rakibo oo loogu socodsiiyo abka Linux Buugga Chrome-ka
Hagaha Linux ee Bilawga ah ee Ubuntu
6 Siyaabood Oo Fudud Oo Lagu Kordhiyo Ku rakibkaaga Ubuntu