♦파일 내용 출력 : cat (<) [경로]
♦ File content output: cat (<) [path]
♦ filinformasjon utgang: cat (<) [sti]
♦파일 내용 입력 : cat [파일1] > [파일2]
※파일1 내용을 파일2에 입력
♦ Enter file contents: cat [File 1]> [File 2]
※ Enter the contents of file 1 into file 2
♦ filoppføringer: katt Fil 1> Fil 2
※ inn filinnholdet i en fil 1 2
♦파일 생성 : cat > [경로]
※빈 화면이 뜨는데 내용 입력 후 ctrl + d를 눌러서 빠져 나와야 한다.
ctrl c : 강제 종료
ctrl z : 강제 정지
※ 'touch' 와 차이점 : 'touch'는 빈 파일만 생성 하는데 'cat >' 은 내용까지 입력한다.
♦ File creation: cat> [path]
※ When blank screen pops up, you must press ctrl + d to exit.
Ctrl c: Force shutdown
Ctrl z: Forcible stop
※ Difference from 'touch': 'touch' only creates an empty file but 'cat>' also inputs the contents.
♦ filoppretting: cat> [bane]
※ blank skjerm dukker opp etter innføringene for å komme ut ved å trykke på ctrl + d.
ctrl c: Tvungen avslutning
ctrl z: tvungen stopp
※ 'touch' forskjellen: 'touch' er å skape en tom fil bare 'cat>' er innspill til innholdet.
♦파일 끝에 내용 추가: cat >> [경로]
♦ Add content to the end of the file: cat >> [path]
♦ ytterligere informasjon på slutten av filen: cat >> [bane]
♦파일 병합 (순서대로 왼쪽부터) : cat [소스] [소스] > [새파일]
♦ Merge files (from left to right): cat [source] [source]> [new file]
♦ Slå sammen filer (fra venstre mot høyre): cat [kilde] [kilde]> [Ny]
♦FTP 접속 방법
1. 윈도우 D드라이브에 text 파일 만들고 내용 입력한다.
2. 확장자 바꿔서 index.html 파일로 만들기
3. 파일 있는곳으로 이동 : 실행(윈도우키 + r) > cmd > 드라이브 변경 ( d:) > 파일 확인 (dir)
4. 사용자로 로그인
put [ex)index.html] : 리눅스로 업로드
get [파일] : 윈도우로 다운로드
del [파일] : 지우기
※ 제어판 > 방화벽 허용되는 프로그램 > 다운로드 프로그램 허용 > 찾아보기 > ftp.exe 찾기 > 추가 > 홈 개인 확인
♦ FTP access method
1. Create a text file on your Windows D drive and enter the contents.
2. Changing the extension to an index.html file
3. Move to file location: Run (Windows key + r)> cmd> Change drive (d :)> Confirm file (dir)
4. Login as user
put [ex)index.html] index.html]: Upload to Linux
get [file]: Download to Windows
del [file]: clear
※ Control Panel> Firewall Allowed Programs> Allow Download Program> Browse> Find ftp.exe> Add> Confirm Home Personal
♦ FTP tilkoblingsmetode
1. Opprett en tekstfil inntastingsvinduet D-stasjonen.
2. Lag en index.html fil, endre filtypen
3. Gå til filen der: Run (Windows-tasten + r)> cmd> OK kjøring endring (d:)> File (dir)
4. Logg deg på som en bruker
put [ex) index.html]: opp til Linux
get [file]: Last ned Windows
del [Fil]: Clear
※ Kontrollpanel> Brannmur tillatt Programmer> tillate nedlasting program> Bla gjennom for å være> ftp.exe favoritter> Legg til> OK Private Home
♦시간 출력 : date
date [MMDDhhmmyyyy] : 시간 변경
rdate -s time.bora.net : 인터넷 시간으로 변경
♦ Time output: date
Date [MMDDhhmmyyyy]: Change time
rdate -s time.bora.net: change to internet time
♦ Tid Output: date
date [MMDDhhmmyyyy]: Tid Endre
rdate -s time.bora.net: Endre Internet Time
♦달력 : cal
♦ Calendar: cal
♦ Kalender: cal
♦파일 및 디렉토리 찾기 : find [찾을 위치] [-옵션] [이름] + [-type] [d(디렉토리) or f(파일)]
-name : 이름
-newer [이름]: [이름] 다음 새로운 파일 만들었으면 표시
-exec [명령어] {} \; : find에서 추가 옵션
※ 이름* : 이름으로 시작하는 모든 파일
*이름* : 이름이 가운데 들어가는 모든 파일
ex) find / -name "test*" -exec rm {} \; : '/'에서 'test'들어간 파일을 찾아서 삭제
♦ Find files and directories: find [find location] [-options] [name] + [-type] [d (directory) or f (file)]
-name: Name
-newer [name]: [name] If you have created a new file then
-exec [command] {} \; : Additional options in find
※ Name *: All files that start with a name
* Name *: All files with names in the middle
Ex) find / -name "test *" -exec rm {} \; : Find and delete the file containing 'test' in '/'
♦ Finne filer og kataloger: find [Se i] [-options] [navn] + [-type] [d (katalog) eller f (fil)]
-name: Navn
-newer [navn]: Viser om [navn], og deretter opprettet en ny fil
-exec [kommandoer] {} exec \; : Flere alternativer i funn
※ Navn *: alle filer som begynner med navnet
* navn * :Alle filnavn i midten
ex) find / -name "test *" exec rm {} \; : Finn den 'test' i filen i "/" Slett
FTP접속을 보고 싶다면
If you want to see the FTP connection
Hvis du ønsker å se FTP-tilgang
https://www.youtube.com/watch?v=wYuDhaIPLPE
FTP접속을 보고 싶다면
If you want to see the FTP connection
Hvis du ønsker å se FTP-tilgang
https://www.youtube.com/watch?v=wYuDhaIPLPE
Comments
Post a Comment