Cov Lus Qhia Uas Niaj Hnub Siv Kab Hais Lus Qhia hauv Windows 7

Pin
Send
Share
Send

Hauv Windows 7, muaj cov haujlwm zoo li no uas nws tsis tuaj yeem ua lossis nyuaj rau ua los ntawm kev siv graphical interface, tab sis lawv tuaj yeem ua tiav dhau ntawm "Command Line" interface siv tus neeg txhais lus CMD.EXE. Xav txog cov lus txib yooj yim uas cov neeg siv tau siv thaum siv lub cuab yeej teev cia.

Nyeem kuj:
Basic Linux Commands hauv Terminal
Khiav Command Command ntawm Windows 7

Cov npe ntawm cov qauv pib

Kev siv cov lus txib hauv "Kab Npaum Kab", ntau cov kev siv hluav taws xob tau tsim tawm thiab qee yam haujlwm tau ua. Feem ntau cov lus qhia tseem ceeb tau siv nrog rau tus naj npawb ntawm cov cwj pwm uas tau sau los ntawm kev sib tsoo (/) Nws yog cov cwj pwm no uas ua rau cov haujlwm tshwj xeeb.

Peb tsis teeb tsa peb tus kheej lub hom phiaj ntawm kev piav qhia kiag li txhua cov lus txib thaum siv CMD.EXE cuab tam. Ua li no, kuv yuav tsum sau ntau dua ib tsab xov xwm. Peb yuav sim ua kom haum rau ntawm ib nplooj ntawv cov ntaub ntawv hais txog qhov muaj txiaj ntsig zoo tshaj plaws thiab nrov npe hais kom ua, tawg lawv rau hauv pawg.

Si laim system

Ua ntej tshaj plaws, xav txog cov kab lus uas ua lub luag haujlwm xa tawm cov txiaj ntsig tseem ceeb.

Chkdsk - pib tshaj tawm Cov Kev Ntsuas Cov Disk, uas tshawb xyuas lub khoos phis tawj nyuaj rau kom raug. Qhov kev hais kom ua no tuaj yeem nkag nrog qhov sib ntxiv, uas, dhau los, ua rau qee qhov kev ua haujlwm:

  • / f - disk rov qab rau hauv qhov xwm txheej ntawm kev tshawb nrhiav qhov tseeb yuam kev;
  • / r - rov ua haujlwm ntawm cov tsav tsheb thaum muaj qhov kuaj pom lub cev puas tsuaj;
  • / x - lov tes taw daim kev cai tswjhwm tsav nyuaj;
  • / scan - preemptive scanning;
  • C:, D:, E: ... - qhov ntsuas ntawm cov laij thawj siv rau kev xeb;
  • /? - hu rau kev pab txog kev ua haujlwm ntawm Check Disk company.

Sfc - pib siv hluav taws xob rau kev kuaj xyuas kev ncaj ncees ntawm Windows system files. Qhov kev hais tawm no yog feem ntau siv nrog tus cwj pwm / scannowCov. Nws tso tawm lub cuab tam uas kuaj pom OS cov ntaub ntawv rau kev ua raws cov qauv. Thaum muaj kev puas tsuaj, nrog lub installation disk, nws yog ib qho ua tau los kho lub meej mom ntawm system khoom.

Ua haujlwm nrog cov ntaub ntawv thiab cov nplaub tshev

Cov pab pawg tom ntej ntawm kab ntawv yog tsim los ua haujlwm nrog cov ntaub ntawv thiab cov nplaub tshev.

TSHAJ - qhib cov ntaub ntawv hauv daim nplaub tshev los ntawm tus neeg siv khoom zoo li yog tias lawv tau nyob hauv cov ntawv yuav tsum muaj. Ib qho yuavtsum tau kawm uantej yog los teev qhia txoj hauv kev rau daim nplaub tshev uas qhov kev nqis tes yuav tau ua. Kev teev cia yog ua raws li tus qauv hauv qab no:

append [;] [[lub computer tsav:] txoj kev [; ...]]

Thaum siv cov lus txib no, cov cwj pwm hauv qab no tuaj yeem siv:

  • / e - sau cov ua tiav cov ntaub ntawv;
  • /? - ya sib pab.

ATTRIB - cov lus txib yog tsim los hloov cov cwj pwm ntawm cov ntaub ntawv lossis cov ntawv tais ceev tseg. Xws li hauv rooj plaub dhau los, qhov yuavtsum tau kawm uantej yog nkag mus, nrog rau cov lus samfwm kom ua tiav, tag nrho txoj hauv kev mus rau qhov khoom raug taug. Cov yuam sij hauv qab no yog siv los tsim cov cwj pwm:

  • xyob h - zais cia;
  • s - txheej txheem;
  • r - nyeem nkaus xwb;
  • a - suav daws.

Txhawm rau siv los yog lov tes taw ib qho cwj pwm, ib qho cim tau muab tso rau ntawm tus yuam sij, ua ntej "+" lossis "-".

COPY - siv los luam cov ntaub ntawv thiab kev qhia ntawm ib phau ntawv mus rau lwm qhov. Thaum siv lo lus txib, nws yog qhov yuav tsum tau los qhia tag nrho txoj kev ntawm daim ntawv theej thiab daim nplaub tshev rau hauv uas nws yuav ua. Cov cwj pwm hauv qab no tuaj yeem siv nrog qhov kev hais tawm no:

  • / v - Kuaj qhov tseeb ntawm kev luam;
  • / z - luam cov khoom ntawm lub network;
  • / y - sau dua tshiab ntawm tus kwv kawg thaum cov npe sib piv yam tsis muaj kev pom zoo;
  • /? - kev ua kom daim ntawv pov thawj zoo.

RUAM - rho tawm cov ntaub ntawv los ntawm cov chaw teev. Qhov kev qhia tawm muab lub peev xwm los siv tus lej ntawm cov cwj pwm:

  • / p - suav nrog cov ntawv pom zoo thov kom txiav tawm ua ntej kho nrog txhua yam khoom;
  • / q - Kev xiam tawm thaum thov;
  • / s - tshem tawm cov khoom hauv chaw thau khoom thiab subdirectories;
  • / a: - tshem tawm cov khoom nrog cov cwj pwm uas tau hais tseg, uas tau muab tso rau siv tib yam li thaum siv cov lus txib ATTRIB.

RD - Nws yog ib qho piv txwv ntawm cov lus hais ua dhau los, tab sis nws tsis rho tawm cov ntaub ntawv, tab sis cov nplaub tshev hauv cov npe teev. Thaum siv, tib lub ntsej muag tuaj yeem thov.

THOOJ - qhia cov npe ntawm txhua subdirectories thiab cov ntaub ntawv uas muaj nyob hauv phau ntawv sau tseg. Ua ke nrog ntawm kev qhia tseem ceeb, cov cwj pwm hauv qab no tau thov:

  • / q - Tau txais cov ntaub ntawv hais txog tus tswv ntawm cov ntaub ntawv;
  • / s - teeb tsa cov npe ntawm cov ntaub ntawv los ntawm cov chaw teev tseg;
  • / w - Sau cov zis tawm hauv ntau kab ntawv;
  • / o - txheeb cov npe ntawm cov khoom siv kom pom (e - los ntawm kev txuas ntxiv; n - ntawm npe; d - los txog rau hnub tim; s - los ntawm loj);
  • / d - muab cov ntawv sau tso ua ob peb kab lus nrog cov sorting los ntawm cov kab ntawv no;
  • / b - Muab cov ntaub ntawv npe tshwj xeeb;
  • / a - kev ua kom pom cov khoom nrog qee tus cwj pwm, rau qhov taw qhia ntawm cov tib lub yuam sij raug siv thaum siv ATTRIB cov lus txib.

REN TSO - siv los pauv cov ntawv sau npe thiab ntaub ntawv. Cov lus sib cav rau cov lus txib no taw qhia txoj hauv kev mus rau qhov khoom thiab nws lub npe tshiab. Piv txwv li, txhawm rau hloov npe cov ntawv file.txt, uas yog nyob rau hauv daim nplaub tshev "Nplaub tshev"nyob rau hauv cov hauv paus ntsiab lus ntawm daim disk D, hauv file2.txt, koj yuav tsum sau cov kab hauv qab no:

REN D: nplaub tshev file.txt file2.txt

MD - tsim los tsim daim nplaub tshev tshiab. Hauv qhov lus hais kom ua syntax, koj yuav tsum qhia lub disk ntawm qhov chaw tshiab yuav nyob, thiab cov ntawv qhia rau nws qhov chaw tso yog tias nws ua zes. Piv txwv, los tsim cov ntawv qhia folderNnyob hauv phau ntawv teev npe ntawv tais ceev tseg ntawm disk E, koj yuav tsum sau tus hais:

md E: nplaub tshev folderN

Ua haujlwm nrog cov ntawv sau

Cov block saum toj ntawm cov lus txib tau tsim los ua haujlwm nrog ntawv.

Hom - qhia cov ntawv ntawm cov ntawv luam ntawm nplooj ntawv. Qhov kev sib cav uas yuav tsum muaj rau qhov kev hais kom ua no yog tag nrho txoj hauv kev mus rau qhov khoom siv hauv cov ntawv uas yuav tsum tau saib. Piv txwv, txhawm rau txhawm rau saib cov ntawv ntawm file.txt nyob rau hauv daim nplaub tshev "Nplaub tshev" ntawm disk D, koj yuav tsum sau cov kab lus nram qab no:

HOM D: nplaub tshev file.txt

SUAV - teev cov ncauj lus ntawm ntawv luam. Cov syntax ntawm cov lus txib no zoo ib yam li yav dhau los, tab sis hloov ntawm cov ntawv sau ntawm lub vijtsam, nws tau luam tawm.

XAV - Tshawb nrhiav ntawv kab ntawv hauv cov ntaub ntawv. Ua ke nrog cov lus txib no, txoj hauv kev mus rau qhov khoom uas qhov kev tshawb nrhiav yuav tsum tau ua qhia, nrog rau lub npe ntawm kab ntawv tshawb nrhiav nyob hauv kab ntawv cim. Ib qho ntxiv, cov cwj pwm hauv qab no siv rau nrog qhov kev hais tawm:

  • / c - Qhia tag nrho cov xov tooj muaj cov kab lus xav tau;
  • / v - cov kab tsim tawm uas tsis muaj cov lus xav tau;
  • / Kuv - rooj plaub tshawb nrhiav pom.

Ua haujlwm nrog nyiaj

Siv cov kab hais kom ua, koj tuaj yeem saib thiab tswj ntaub ntawv txog cov neeg siv system.

Ntiv tes - muab cov ntaub ntawv qhia txog cov neeg siv sau npe rau hauv operating system. Qhov kev sib cav tsim nyog rau cov lus txib no yog lub npe ntawm tus neeg siv hais txog tus neeg uas koj xav tau txais cov ntaub ntawv. Koj tuaj yeem siv tus cwj pwm / iCov. Hauv qhov no, cov zis ntawm cov ntaub ntawv yuav ua nyob rau hauv daim ntawv teev npe.

Tscon - attaches tus neeg siv sib kho rau lub davhlau ya nyob twg kev sib ntsib. Thaum siv cov lus txib no, koj yuav tsum qhia lub npe sib kho ID lossis nws lub npe, ntxiv rau lo lus zais ntawm tus neeg siv uas nws yog tus tswv. Lo lus zais yuav tsum tau qhia meej tom qab tus cwj pwm. / PASSWORD.

Ua haujlwm nrog cov txheej txheem

Cov block saum toj ntawm cov lus txib tau tsim los tswj cov txheej txheem hauv lub computer.

KEV TXIAV TXIM - Muab cov ntaub ntawv ntawm cov txheej txheem khiav ntawm PC. Ntawm cov ntaub ntawv tso tawm yuav yog lub npe cov txheej txheem, lub npe ntawm tus neeg siv uas tau pib nws, npe ntawm kev sib kho, ID thiab PID.

PAJ ZAUB - siv los ua tiav cov txheej txheem. Qhov kev sib cav uas yuav tsum muaj yog lub npe ntawm cov khoom yuav tsum nres. Nws yog qhia tom qab tus cwj pwm / IMCov. Koj tuaj yeem tso tseg tsis yog lub npe, tab sis los ntawm tus txheej txheem ID. Hauv qhov no, tus cwj pwm yog siv. / Pid.

Tshua

Siv cov kab hais kom ua, nws muaj peev xwm tswj tau ntau yam kev ua hauv lub network.

Getmac - Pib nthuav qhia MAC chaw nyob ntawm daim npav network txuas nrog lub khoos phis tawm. Yog tias muaj ntau tus qauv hloov kho, tag nrho lawv qhov chaw nyob raug tso tawm.

NETSH - pib txoj kev xa tawm ntawm kev siv hluav taws xob ntawm tib lub npe, nrog kev pabcuam ntawm cov ntaub ntawv ntawm lub network tsis tau tshwm sim thiab hloov. Pab neeg no, vim nws txoj haujlwm tau dav heev, muaj cov cwj pwm sib txawv ntau, txhua tus muaj lub luag haujlwm rau ib txog haujlwm tshwj xeeb. Txhawm rau cov ncauj lus kom ntxaws txog lawv, koj tuaj yeem siv kev pab los ntawm kev siv cov lus qhia hauv qab no:

netsh /?

NETSTAT - kev qhia tawm cov ntaub ntawv xov xwm txog kev sib txuas ua ke.

Lwm pab neeg

Kuj tseem muaj ntau tus lej ntawm lwm cov kab lus txib tau siv thaum siv CMD.EXE uas tsis tuaj yeem raug faib rau cais pab pawg.

LUB SIJ HAWM - Saib thiab teev lub sijhawm sijhawm ntawm lub PC. Thaum koj nkag mus hauv cov lus hais kom ua no, lub sijhawm tam sim no tau tshwm rau ntawm qhov screen, uas hauv kab hauv qab tuaj yeem hloov mus rau lwm yam.

HNUB - lus syntax yog ib qho zoo sib xws rau yav dhau los, tab sis nws tsis yog siv los qhia thiab hloov sijhawm, tab sis pib cov txheej txheem no cuam tshuam txog hnub tim.

SHUTDOWN - muab tua tawm ntawm lub computer. Cov lus qhia no tuaj yeem siv tau hauv zos thiab hauv chaw deb.

Txhaum - kev xiam lossis pib lub txheej txheem ua cov txheej txheem sib xyaw khawm Ctrl + C.

ECHO - qhia txog cov lus ntawv thiab yog siv los hloov cov qauv zaub.

Qhov no tsis yog tag nrho cov lus txib uas tau siv thaum siv CMD.EXE interface. Txawm li cas los xij, peb tau sim qhia cov npe, nrog rau luv luv piav qhia cov syntax thiab cov haujlwm tseem ceeb ntawm lawv nyiam tshaj plaws, kom yooj yim peb faib lawv ua pab pawg raws li lawv lub hom phiaj.

Pin
Send
Share
Send