Tsim lossis rho tawm ntaub ntawv ntawm Linux - dab tsi yuav yooj yim dua? Txawm li cas los xij, nyob rau qee kis, koj txoj kev sim thiab qhov tseeb yuav tsis ua haujlwm. Hauv qhov no, nws yuav zoo rau nrhiav kev daws qhov teebmeem, tab sis yog tsis muaj sijhawm rau qhov no, koj tuaj yeem siv lwm txoj hauv kev los tsim lossis rho tawm cov ntaub ntawv ntawm Linux. Hauv tsab xov xwm no, cov neeg nyiam tshaj plaws yuav raug txheeb xyuas.
Txoj kev 1: Cov davhlau ya nyob twg
Ua haujlwm nrog cov ntaub ntawv hauv "Terminal" yog qhov txawv ntawm kev ua haujlwm hauv tus tuav ntaub ntawv. Ntawm qhov tsawg kawg nkaus, tsis muaj kev ua kom pom tseeb hauv nws - koj yuav nkag mus thiab tau txais tag nrho cov ntaub ntawv hauv lub qhov rai uas zoo li kab lis kev cai ntawm Windows kab. Txawm li cas los xij, nws yog hla ntawm lub ntsiab lus ntawm lub system uas nws yuav muaj peev xwm taug qab txhua qhov yuam kev uas tau tshwm sim thaum lub sijhawm ua tiav ntawm kev ua haujlwm tshwj xeeb.
Kev Npaj Ua Si
Siv cov "Terminal" los tsim lossis rho tawm cov ntaub ntawv hauv qhov system, koj yuav tsum xub qhia rau hauv nws cov npe chaw nyob uas txhua cov haujlwm yuav ua tom qab. Txwv tsis pub, txhua cov ntaub ntawv tsim yuav nyob rau hauv cov hauv paus ("/").
Muaj ob txoj hauv kev los taw qhia cov npe hauv "Terminal": siv tus tuav ntaub ntawv thiab siv cov lus txib cdCov. Peb yuav txheeb xyuas ib tus zuj zus.
Tus thawj tswj ntaub ntawv
Yog li, cia peb hais tias koj xav tsim lossis, hloov, tshem tawm cov ntaub ntawv ntawm daim nplaub tshev "Cov ntaub ntawv"mus yuav txoj kev:
/ tsev / Username / Cov ntaub ntawv
Txhawm rau qhib cov ntawv teev npe no nyob rau hauv "Terminal", koj yuav tsum xub qhib nws hauv tus tuav ntaub ntawv, thiab tom qab ntawd, los ntawm nyem RMB, xaiv cov khoom hauv cov ntawv qhia zaub mov "Qhib nyob rau hauv davhlau ya nyob twg".
Raws li qhov tshwm sim, "Chaw Dav Hlau" yuav qhib, uas tau xaiv cov ntawv taw qhia.
Cd txib
Yog tias koj tsis xav siv txoj kev dhau los lossis tsis muaj kev nkag mus rau tus thawj tswj ntaub ntawv, koj tuaj yeem sau qhia cov npe chaw haujlwm tsis tas yuav tawm ntawm "Terminal". Ua li no, siv cov lus txib cdCov. Txhua yam koj yuav tsum tau ua yog sau cov lus txib no, tom qab ntawd taw qhia txoj hauv kev. Peb yuav tshuaj xyuas nws tib yam li daim nplaub tshev piv txwv "Cov ntaub ntawv"Cov. Sau cov lus txib:
cd / tsev / Username / Cov ntaub ntawv
Ntawm no yog ib qho piv txwv ntawm cov haujlwm ua:
Raws li koj tau pom, koj yuav tsum pib nkag mus cov kev qhia (1), thiab tom qab nias tus yuam sij Sau hauv "Chaw Tso Tawm" yuav tsum tau ua kom pom cov ntawv xaiv (2).
Thaum koj tau kawm paub yuav ua li cas xaiv cov lus taw qhia hauv kev uas yuav ua haujlwm nrog cov ntaub ntawv, koj tuaj yeem mus ncaj qha rau cov txheej txheem tsim thiab txiav cov ntaub ntawv.
Tsim cov ntaub ntawv dhau ntawm "Chaw Nres Tsheb"
Txhawm rau pib, qhib "Terminal" nws tus kheej los ntawm nias lub pob zeb ntawm shortcut CTRL + ALT + TCov. Tam sim no koj tuaj yeem pib tsim cov ntaub ntawv. Muaj rau txoj hauv kev los ua qhov no, uas yuav ua kom pom hauv qab no.
Kov nqi hluav taws xob
Pab neeg lub hom phiaj kov nyob ntawm Linux, hloov lub sijhawm ua tiav (lub sijhawm ntawm kev hloov pauv thiab sijhawm ntawm kev siv). Tab sis yog tias qhov nqi hluav taws xob tsis pom lub npe cov ntaub ntawv nkag mus, nws yuav cia li tsim lub tshiab.
Yog li, los tsim cov ntawv koj yuav tsum tso npe rau ntawm kab hais kom ua:
kov "FileName"
(yuav tsum muaj nyob rau hauv cov cim hais tsis tau).
Ntawm no yog ib qho piv txwv ntawm cov lus txib no:
Txoj kev rov ua haujlwm
Hom no tuaj yeem suav tau yooj yim. Txhawm rau tsim cov ntaub ntawv nrog nws, koj tsuas yog xav tau qhia lub cim hloov pauv thiab sau lub npe ntawm cov ntaub ntawv tsim:
> "FileName"
(yuav tsum tau nyob rau hauv cov cim hais tsis tau)
Ib qho piv txwv:
Echo cov lus txib thiab ua cov haujlwm rov ua haujlwm
Hom kab ke no tsis muaj qhov txawv ntawm qhov dhau los, tsuas yog hauv qhov no koj yuav tsum nkag mus rau cov lus txib ua ntej kos npe rau kev hloov mus:
ncha> "FileName"
(yuav tsum tau nyob rau hauv cov cim hais tsis tau)
Ib qho piv txwv:
Cp nqi hluav taws xob
Xws li nrog tus nqi hluav taws xob kov, lub hom phiaj tseem ceeb ntawm pawg cp tsis tsim cov ntaub ntawv tshiab. Nws yog qhov tsim nyog rau kev luam. Txawm li cas los xij, teeb tsa lub nce mus nce los "thov", koj yuav tsim ib daim ntawv tshiab:
cp / dev / thov "FileName"
(yuav tsum tau yam uas tsis muaj sau ntawv cim)
Ib qho piv txwv:
Miv hais kom ua thiab ua cov haujlwm rov ua haujlwm
miv - qhov no yog cov lus txib siv los txuas thiab saib cov ntaub ntawv thiab lawv cov ntawv, tab sis nws tsim nyog siv nws nrog rau kev rov ua dua tshiab ntawm cov txheej txheem, vim nws yuav tsim ib daim ntawv tshiab:
miv / dev / thov>> FileName "
(yuav tsum tau nyob rau hauv cov cim hais tsis tau)
Ib qho piv txwv:
Vim hais tias cov ntawv nyeem editor
Nws yog tus nqi hluav taws xob vim Lub hom phiaj tseem ceeb yog ua haujlwm nrog cov ntaub ntawv. Txawm li cas los xij, nws tsis muaj qhov sib cuam tshuam - txhua qhov kev coj ua yog ua los ntawm "Terminal".
Hmoov tsis zoo vim nws tsis yog preinstalled rau txhua qhov faib tawm, piv txwv li, hauv Ubuntu 16.04.2 LTS nws tsis yog. Tab sis qhov no tsis muaj teeb meem, nws tuaj yeem rub tawm tau los ntawm cov chaw sau cia thiab nruab rau hauv koj lub computer tsis tas yuav tawm "Terminal".
Nco tseg: yog hais tias phau ntawv lees editor vim Yog tias koj twb tau muab nws nruab rau, ces hla qhov theem no thiab npaj mus sai sai rau kev tsim cov ntaub ntawv siv nws
Txhawm rau nruab, sau cov lus txib:
sudo apt nruab vim
Tom qab koj nias Sau koj yuav tsum sau tus password. Nkag mus nws thiab tos kom download thiab installation tiav. Hauv cov txheej txheem, tej zaum koj yuav tsum tau lees tias qhov kev tua ntawm kev hais kom ua - sau tsab ntawv D thiab nyem Sau.
Qhov ua tiav ntawm lub installation ntawm cov program yuav raug txiav txim los ntawm tus nkag uas tshwm thiab lub npe ntawm lub khoos phis tawm.
Tom qab kev txhim kho cov ntawv nyeem kho kom raug vim Koj tuaj yeem pib tsim cov ntaub ntawv hauv cov kab ke. Ua li no, siv cov lus txib:
vim -c wq "FileName"
(yuav tsum tau nyob rau hauv cov cim hais tsis tau)
Ib qho piv txwv:
Rau txoj hauv kev tau teev tseg saum toj no yuav ua li cas los tsim cov ntaub ntawv hauv Linux kev faib tawm. Yog lawm, qhov no tsis yog txhua yam ua tau, tab sis tsuas yog ib feem, tab sis nrog lawv cov kev pab nws yeej yuav muaj peev xwm ua tiav txoj haujlwm.
Kev lawb tawm cov ntaub ntawv dhau ntawm "Terminal"
Kev muab cov ntaub ntawv hauv “Terminal” tshem tawm tsis txawv ntawm kev tsim cov no. Qhov loj tshaj plaws yog kom paub txhua txoj haujlwm tseem ceeb.
Tseem Ceeb: sau cov ntaub ntawv tawm ntawm qhov system los ntawm "Terminal", koj muab tshem tawm tas mus li, qhov ntawd yog, koj tsis tuaj yeem pom tom qab hauv "Recycle Bin".
Rm pab neeg
Nws yog pawg rm pab rau Linux rau rho tawm cov ntaub ntawv. Koj tsuas yog xav tau qhia lub npe, sau cov lus txib thiab sau lub npe ntawm cov ntawv yuav tsum tau muab tshem:
rm "File_Name"
(yuav tsum tau nyob rau hauv cov cim hais tsis tau)
Ib qho piv txwv:
Raws li koj tuaj yeem pom, tom qab ua tiav cov lus txib no, cov ntawv ploj hauv tus tswj tuav ntaub ntawv "Cov ntaub ntawv tshiab".
Yog tias koj xav tshem tag nrho cov npe ntawm cov ntaub ntawv tsis tsim nyog, nws yuav siv sijhawm heev los nkag rau lawv cov npe dua. Nws yooj yim dua yog siv cov lus txib tshwj xeeb uas yuav tshem tawm txhua cov ntaub ntawv:
rm *
Ib qho piv txwv:
Los ntawm kev coj ua cov lus txib no, koj tuaj yeem pom li cas tag nrho cov ntaub ntawv tsim ua yav dhau los raug muab tshem tawm hauv tus thawj tswj hwm cov ntaub ntawv.
Txoj Kev 2: Tus Saib Xyuas Ntaub Ntawv
Cov ntaub ntawv tus thawj tswj hwm ntawm txhua qhov kev ua haujlwm (OS) yog qhov zoo nyob rau hauv uas nws ua rau nws muaj peev xwm kom taug qab mus saib txhua qhov kev ua tsis tu ncua, tsis zoo li "Terminal" nrog nws cov kab hais kom ua. Txawm li cas los xij, tseem muaj qhov tsis zoo. Ib ntawm lawv: tsis muaj txoj hauv kev ua raws li kev nthuav dav cov txheej txheem uas tau ua thaum ua haujlwm.
Nyob rau hauv txhua rooj plaub, cov neeg siv uas nyuam qhuav nruab Linux faib rau lawv lub computer, nws yog qhov zoo meej, txij li qhov zoo sib xws nrog Windows, raws li lawv hais, yog pom tseeb.
Nco tseg: tsab xov xwm yuav siv Nautilus tus thawj tswj hwm cov ntaub ntawv ua piv txwv, uas yog tus qauv rau feem ntau Linux faib tawm. Txawm li cas los xij, cov lus qhia rau lwm tus tswj hwm zoo ib yam nkaus, tsuas yog cov npe ntawm cov khoom thiab txheej txheem ntawm cov ntsiab lus interface yuav txawv.
Tsim cov ntaub ntawv hauv tus thawj tswj hwm ntaub ntawv
Koj yuav tsum ua cov hauv qab no los tsim cov ntawv:
- Qhib cov ntaub ntawv tus thawj tswj hwm (qhov no Nautilus) los ntawm txhaj rau nws lub cim ntawm lub taskbar lossis los ntawm kev tshawb cov kab ke.
- Mus rau cov ntawv tseem ceeb.
- Txoj cai-nyem (RMB) ntawm qhov chaw khoob.
- Nyob rau hauv cov ntsiab lus teb ntawv qhia zaub mov, yuj dhau Tsim Ntaub Ntawv thiab xaiv hom ntawv koj xav tau (nyob rau hauv cov ntaub ntawv no, hom ntawv yog ib - "Cov ntawv dawb paug").
Tom qab ntawv, ib daim ntawv khoob yuav tshwm nyob rau hauv phau ntawv qhia, uas tsuas yog muab lub npe.
Muab cov ntawv tshem tawm hauv cov tswj hwm cov ntaub ntawv
Cov txheej txheem tshem tawm hauv Linux cov thawj tswj hwm txawm tias yooj yim dua thiab sai dua. Txhawm rau tshem tawm cov ntawv, koj yuav tsum xub nyem RMB rau nws, thiab tom qab ntawd xaiv cov khoom hauv cov ntawv qhia ua zaub mov Rho tawm.
Koj tseem tuaj yeem ceev cov txheej txheem no los ntawm kev xaiv cov ntawv xav tau thiab nias tus yuam sij RHO TAWM ntawm cov keyboard.
Tom qab ntawv, nws yuav tsiv mus rau lub "Pob tawb". Los ntawm txoj kev, nws tuaj yeem tsim kho dua. Txhawm rau hais qhov zoo rau ib daim ntawv mus ib txhis, koj yuav tsum nyem RMB rau ntawm lub thoob khib nyiab tuaj yeem icon thiab xaiv "Khib Khib".
Xaus
Raws li koj tuaj yeem pom, muaj ntau txoj hauv kev los tsim thiab rho tawm cov ntaub ntawv hauv Linux. Koj tuaj yeem siv cov kev paub ntau dua qub, uas tau siv qhov zoo ntawm lub peev xwm ntawm cov ntaub ntawv tus thawj tswj hwm ntawm lub kaw lus, lossis koj tuaj yeem siv cov pov thawj thiab txhim khu kev qha, siv "Terminal" thiab cov lus txib. Nyob rau hauv txhua rooj plaub, yog tias ib txoj kev koj tsis coj los ua, yeej ib txwm muaj los siv qhov seem.