MTSEMBE 6.0

Pangani kapena kuchotsa fayilo ku Linux - ndi chiyani chomwe chingakhale chophweka? Komabe, nthawi zina, njira yanu yokhulupirika ndi yovomerezeka siingagwire ntchito. Pankhaniyi, zidzakhala zomveka kupeza njira yothetsera vutolo, koma ngati palibe nthawi ya izi, mungagwiritse ntchito njira zina zopangira kapena kuchotsa mafayilo mu Linux. M'nkhaniyi, otchuka kwambiri mwa iwo adzafufuzidwa.

Njira 1: Kutseka

Kugwira ntchito ndi mafayilo mu "Terminal" ndi kosiyana kwambiri ndi kugwira ntchito mu fayilo manager. Pang'ono ndi pang'ono, palibe mawonekedwe ake - mumalowa ndi kulandira deta yonse pawindo lomwe limawoneka ngati lawindo la malamulo la Windows. Komabe, kupyolera mu gawo ili la dongosolo kudzakhala kotheka kufufuza zophophonya zonse zomwe zimachitika pakuchitika ntchito inayake.

Ntchito yokonzekera

Pogwiritsa ntchito "Terminal" popanga kapena kuchotsa mafayilo m'dongosolo, muyenera choyamba kufotokozera mmenemo mndandanda umene ntchito zonse zotsatila zidzachitika. Kupanda kutero, zonse zolemba mafayilo zidzakhala mu mndandanda wa mizu ("/").

Mungathe kufotokoza zolemba mu "Terminal" m'njira ziwiri: pogwiritsa ntchito fayilo manager ndi kugwiritsa ntchito lamulo cd. Timayesa aliyense payekha.

Foni ya fayilo

Kotero tiyeni titi mufuna kulenga kapena, chotsani, chotsani fayilo kuchokera ku foda "Zolemba"zomwe zili pambali:

/ nyumba / ndondomeko / zolemba

Kuti mutsegule tsambali mu "Terminal", muyenera kuyamba kutsegula mu fayilo ya fayilo, ndiyeno, pogwiritsa ntchito ndondomeko yolondola, sankhani chinthucho "Tsegulani mu terminal".

Malingana ndi zotsatira, "Terminal" idzatsegulidwa, momwe bukhu losankhidwa lidzasonyezedwe.

Cd lamulo

Ngati simukufuna kugwiritsa ntchito njira yapitayi kapena mulibe mwayi wotsogolera fayilo, mukhoza kufotokozera bukhulo popanda kuchoka ku Terminal. Kuti muchite izi, gwiritsani ntchito lamulo cd. Zonse zomwe muyenera kuchita ndi kulemba lamulo ili, ndikufotokozera njira yopita kuzolonjezedwa. Tiyeni tiyankhe izi ndi kuthandizidwa ndi foda. "Zolemba". Lowani lamulo:

cd / kunyumba / UserName / Documents

Pano pali chitsanzo cha ntchito ikuchitidwa:

Monga mukuonera, muyenera kuyamba koyamba njira yoyendetsera (1), ndipo atatha kukanikiza fungulo Lowani mu "Terminal" ayenera kuwonetsedwa mndandanda wosankhidwa (2).

Mutaphunzira momwe mungasankhire cholembera chomwe ntchito ndi mafayilo adzakwaniritsidwira, mutha kuyenda mwachindunji pakupanga ndi kuchotsa mafayilo.

Kupanga mafayilo kupyolera mu "Terminal"

Poyamba, mutsegule Terminal yokha pakukakamiza mgwirizano CTRL + ALT + T. Tsopano mukhoza kuyamba kupanga mafayilo. Kuti muchite izi, ndizotheka kugwiritsa ntchito njira zisanu ndi chimodzi, zomwe zidzasonyezedwe pansipa.

Gwiritsani ntchito bwino

Cholinga cha Gulu kukhudza mu Linux, kusintha kwa timestamp (nthawi yosintha ndi nthawi yogwiritsira ntchito). Koma ngati chithandizocho sichipeza dzina la fayilo lolowetsedwa, ilo lidzangopanganso latsopano.

Kotero, kuti mupange fayilo, muyenera kufotokoza mu mzere wa lamulo:

gwiritsani "fayilo"(zofunikira m'mawu ake).

Pano pali chitsanzo cha lamulo ili:

Ntchito yokonzanso ntchito

Njirayi ingakhale yosavuta. Kuti mupange fayilo nayo, muyenera kungofotokozera chizindikiro cholozeretsa ndi kulemba dzina la fayiloyo:

> "FileName"(zofunikira pamagwero)

Chitsanzo:

Lembani malamulo ndi ndondomeko yokonzanso ntchito

Njirayi ndi yosiyana kwambiri ndi yomwe yapita kale, koma pokhapokha pakufunika kuyika lamulo la echo pamaso pa chizindikiro cholozera:

echo> "FileName"(zofunikira pamagwero)

Chitsanzo:

Cp ntchito

Monga momwe zilili ndi ntchito kukhudza, cholinga chachikulu cha timuyi cp sikulenga mafayilo atsopano. Ndikofunika kufotokozera. Komabe, ndikuyika kusintha "palibe"Mudzalenga chikalata chatsopano:

cp / dev / null "FileName"(zofunikira popanda ndemanga)

Chitsanzo:

Katsina malamulo ndi ntchito zowonzanso ntchito

katchi - Lamulo limene limatumikila kulemetsa ndi kuwona mafayilo ndi zomwe zili mkati, koma ndiyenela kuigwiritsa ntchito pamodzi ndikutsogolera ndondomekoyi, chifukwa idzapanganso fayilo yatsopano:

katsamba / dev / null> "FileName"(zofunikira pamagwero)

Chitsanzo:

Vim olemba malemba

Zimachokera kumagwiritsidwe ntchito vim Cholinga chachikulu ndicho kugwira ntchito ndi mafayilo. Komabe, ilibe mawonekedwe - zochita zonse zimachitika kudzera mu "Terminal".

Mwatsoka vim osati kuwonetsedweratu pamagawo onse, mwachitsanzo, mu Ubuntu 16.04.2 LTS ayi. Koma ziribe kanthu, mungathe kuzilandira mosavuta kuchokera pakhomo ndikuziyika pa kompyuta yanu popanda kusiya Terminal.

Dziwani: ngati mkonzi womasulira vim mwakhazikitsa kale, pewani phazi ili ndikupangitsani kupanga fayilo nayo

Kuti muyike, lowetsani lamulo:

sudo ayankhe kukhazikitsa vim

Pambuyo kuwonekera Lowani akufunika kulowa mawu achinsinsi. Lowani ndi kuyembekezera kuzilitsa ndi kukhazikitsa. Pogwiritsa ntchito njirayi, mukhoza kufunsa kuti mutsimikize kuti lamulolo likuchitika - lowetsani kalata "D" ndipo dinani Lowani.

Kutsirizidwa kwa pulogalamu yowonjezera ikhoza kuweruzidwa ndi dzina lolowera ndi kompyuta.

Pambuyo poika mndandanda wa malemba vim Mukhoza kuyamba kupanga mafayilo m'dongosolo. Kuti muchite izi, gwiritsani ntchito lamulo:

vim -c wq "FileName"(zofunikira pamagwero)

Chitsanzo:

Pamwambapo panali njira zisanu ndi chimodzi zopangira mafayilo m'zinthu za Linux. Inde, izi sizingatheke, koma gawo lokha, koma ndi chithandizo chanu mudzatha kumaliza ntchitoyo.

Kuchotsa mafayilo kudutsa "Terminal"

Kuchotsa mafayilo mu Terminal ndikofanana ndi kulenga iwo. Chinthu chachikulu ndicho kudziwa malamulo onse oyenera.

Chofunika: kuchotsa mafayilo kuchokera ku dongosolo kudzera mu "Terminal", muwachotsa mwamuyaya, ndiko kuti, mu "Basket" kuti muwapeze iwo asagwire ntchito.

Rm lamulo

Chimodzimodzi timu rm imatumikira ku linux kuchotsa mafayilo. Mukungoyenera kufotokoza bukhulo, lowetsani lamulo ndikulowa dzina la fayilo yomwe mukufuna kuchotsa:

rm "FileName"(zofunikira pamagwero)

Chitsanzo:

Monga momwe mukuonera, atatha lamulo ili, fayilo mu manager wa fayilo ikusowa. "Mbiri Yatsopano".

Ngati mukufuna kuchotsa bukhu lonse la mafayilo osayenera, zimatenga nthawi yaitali kuti mulowe mayina awo mobwerezabwereza. Ndisavuta kugwiritsa ntchito lamulo lapadera lomwe limachotsa mafosholo onse nthawi yomweyo:

rm *

Chitsanzo:

Atachita lamulo ili, mukhoza kuona momwe onse omwe anapangidwira mafayilo adasulidwa mu fayilo ya fayilo.

Njira 2: Foni ya Fayilo

Wolemba mafayilo a machitidwe onse (OS) ndi abwino chifukwa amakupatsani mpata wowonetsa zochitika zonse zomwe zikuchitika, mosiyana ndi Terminal ndi mzere wake wolamulira. Komabe, pali zochepa. Mmodzi wa iwo: palibe kuthekera kuti tipeze tsatanetsatane ndondomeko zomwe zimachitika pa ntchito inayake.

Mulimonsemo, ogwiritsa ntchito posachedwa kugawa Linux pamakompyuta awo, ndi angwiro, monga momwe kufanana ndi Mawindo, monga akunenera, kumaonekera.

Zindikirani: Nkhaniyi idzagwiritsa ntchito fayilo ya fayilo ya Nautilus monga chitsanzo, zomwe ndizofunikira kwambiri kugawa kwa Linux. Komabe, malangizo kwa oyang'anira ena ali ofanana, maina okha a zinthu ndi malo a mawonekedwe a mawonekedwe angakhale osiyana.

Pangani fayilo mu fayilo ya fayilo

Chitani zotsatirazi kuti mupange fayilo:

  1. Tsegulani mtsogoleri wa fayilo (pakali pano, Nautilus) podindira pazithunzi zake pa taskbar kapena pakufufuza pa dongosolo.
  2. Pitani ku bukhu lomwe mukufuna.
  3. Dinani pomwepo (RMB) pa malo opanda kanthu.
  4. Mu menyu yachidule, yendetsani cholozera ku chinthucho "Pangani Document" ndipo sankhani mtundu womwe mukufunikira (panopa, mtunduwu ndi umodzi - "Ndemanga Yopanda").
  5. Pambuyo pake, fayilo yopanda kanthu idzawonekera m'ndandanda, yomwe imangopatsidwa dzina.

    Chotsani fayilo mu fayilo manager

    Kutulutsidwa kwa oyang'anira Linux kumakhala kosavuta komanso mofulumira. Kuti muchotse fayilo, payomweyi muyenera choyamba kukanikiza RMB, ndiyeno musankhe chinthucho m'ndandanda "Chotsani".

    Mukhozanso kuthamangitsa njirayi mwa kusankha fayilo yofunidwa ndikukakamiza THEKA pabokosi.

    Pambuyo pake, idzasunthira ku "Basket". Mwa njira, iyo ikhoza kubwezeretsedwa. Kuti muwonetsere fayilo kwamuyaya, dinani pomwepa pa chithunzi chachitsulo ndikusankha "Ngolo yamtengo".

    Kutsiliza

    Monga momwe mukuonera, pali njira zambiri zopangira ndi kuchotsa mafayilo mu Linux. Mungagwiritse ntchito kwambiri, zomwe zimagwiritsa ntchito mphamvu za fayilo wamkulu wa dongosolo, ndipo mungagwiritse ntchito kutsimikizirika ndi odalirika, pogwiritsa ntchito "Terminal" ndi malamulo oyenerera. Mulimonsemo, ngati njira imodzi ikulephera, mungagwiritse ntchito otsalawo.