우분투 명령어 정리Ubuntu⭐️The Linux command line for beginners|Ubuntu⭐️
내 github에 정리함(I'm Rustacean)
https://github.com/YoungHaKim7/
YoungHaKim7 - Overview
Strader+Econometrics+polyglot. YoungHaKim7 has 117 repositories available. Follow their code on GitHub.
github.com
https://github.com/YoungHaKim7/linux_command
GitHub - YoungHaKim7/linux_command
Contribute to YoungHaKim7/linux_command development by creating an account on GitHub.
github.com
https://www.freecodecamp.org/news/the-linux-commands-handbook/
The Linux Command Handbook – Learn Linux Commands for Beginners
This Linux Command Handbook will cover 60 core Bash commands you will need as a developer. Each command includes example code and tips for when to use it. This Linux Command Handbook follows the 80/20 rule: you'll learn 80% of a topic in around 20% of the
www.freecodecamp.org
Command Line Crash Course | freeCodeCamp.org
https://www.youtube.com/watch?v=yz7nYlnXLfE
결국은 Linux command를 외워야함
Cd
Ls (dos에서 dir이랑 똑같음)
The Linux command line for beginners|Ubuntu
이게 젤 좋음
영문 ㅜㅜ
Ctrl+F로 빠르게 찾자!!
https://ubuntu.com/tutorials/command-line-for-beginners#2-a-brief-history-lesson
The Linux command line for beginners | Ubuntu
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.
ubuntu.com
Linux 명령어는 모두 소문자
Wondows 실행 창에서 (단축키 win+R)
“terminal”,
“command”,
“prompt” or
“shell”.
“terminal”, “command”, “prompt” or “shell”.
Windows Terminal 실행하기
whoami
현재사용하고 있는 나의 계정 정보 확인하기
whoami
pwd
현재 워킹 디렉토리 표시해줌
the pwd command will tell you exactly what the current working directory is.
pwd
cd
작업디렉토리 변경
You can change the working directory using the cd command, an abbreviation for ‘change directory’. Try typing the following:
cd cd ..
cd ..
폴더에서 나가기
Test/123 > cd ..
Test
cd ../../
2번 쓰면 2개를 연속으로 나갈 수 있다.
cd ..
cd ..
이렇게 했는데 ㅋㅋㅋ
cd ../../
이런 좋은 방법이!!
*
리눅스는 우리나라 돈 모양이 아니라
/ forward 임. - 이거 골탕 많이 먹었는데 ㅋㅋ
Note that the directory separator is a forward slash (”/”), not the backslash that you may be used to from Windows or DOS systems
rm
파일 지우기
rm
rm -rf 폴더명
폴더 지울때는 -rf 붙혀야함
rm -r 폴더명 폴더에 파일이 있어도 강제로 다 지워줌 최고!!!
touch
파일 만들기
touch test.txt
touch test.txt
윈도에서 touch같은 기능 구현하기
윈도우에서는WindowsOS 스타일
$ echo $null >> hello.c
hello.c 파일 만들기
https://github.com/YoungHaKim7/Ada_Lang
GitHub - YoungHaKim7/Ada_Lang
Contribute to YoungHaKim7/Ada_Lang development by creating an account on GitHub.
github.com
mkdir
폴더 만들기
mkdir test test폴더 만들어짐 rmdir test test폴더 지워짐
rmdir
폴더 지우기
move
= mv
파일명 바꾸기
move test.js new_test.js
한칸 띄우기 해야 명령어 먹임
move test.js test/new_test.js
move test.js test/new_test.js mv test.js test/new_test.js
test_main % mv ../test/src/test01 src test_main % cp ../test/src/main.rs src test_main 폴더로 폴더와 파일을 데리고 오기 test_main폴더에서 다른 디렉토리에 있는 파일이 가지고 오기 ㅎㅎ 최고!! 통째로 다 가지고 옴. 이동과 카피를 하였음 src폴더로 move와 copy를 하였음.
ex)
mkdir new_project
ls
code new_project VSCode new_project 폴더명으로 열림
cp 폴더 강제로 만들기 좋네 ㅎㅎ❤️ -
https://economiceco.tistory.com/m/15199
cp 폴더 강제로 만들기 좋네 ㅎㅎ❤️
cp -rf ./002_sigma_sum/ ./003test
economiceco.tistory.com
clear
화면 깨끗이 하기
cd g
디렉토리명 첫 글짜만 누르고 탭 누르면 폴더명 자동 완성됨 대박 편함
ls
Dos의 dir
ls -l
ls ls -f
ls -l ls -a ls -R ls ..
ls 명령어 한글로 자세히 보기
http://www.ktword.co.kr/test/view/view.php?m_temp1=6054
ls
Permission, 퍼미션, 파일 접근 권한, chmod, chown, chgrp
www.ktword.co.kr
sudo
root권한으로 파일 설치 할 때 씀
윈도우의 Admin계정 권한으로 이해!!!
리눅스에서 다른 드라이브로 이동하기
df -h
https://velog.io/@devmin/%EB%A6%AC%EB%88%85%EC%8A%A4%EC%97%90%EC%84%9C-%EB%8B%A4%EB%A5%B8-%EB%93%9C%EB%9D%BC%EC%9D%B4%EB%B8%8C%EB%A1%9C-%EA%B2%BD%EB%A1%9C-%EC%9D%B4%EB%8F%99%ED%95%98%EA%B8%B0
리눅스에서 다른 드라이브로 경로 이동하기
gitbash를 통해 github 경로를 설정하다가, 기존의 c 드라이브가 아닌 g드라이브(구글 드라이브)로 경로를 설정하고 싶어졌습니다. 그런데 기존에 배웠던 명령어로는 g드라이브에 접근을 할 수가 없
velog.io
1강 우분투 리눅스 입문 강의
필수 개념과 명령어 시작과 종료, 로그 아웃, 가상콘솔
https://youtu.be/zYf9M3PulzU
퍼미션 권한 부여 & 부팅시 자동 실행
https://hyunmin1906.tistory.com/m/264
[Ubuntu 20.04] 명령어 정리
■ 퍼미션 권한 부여 기호 정리 : r = 4, w = 2, x = 1 퍼미션 그룹 : [소유자][그룹][공개] 예시) text.txt 파일의 권한은 소유자와 그룹은 Read, Write, Excution 모두 가능, 공개의 경우 Read, Excution만 가능..
hyunmin1906.tistory.com
터미널에서 자주 쓰는 명령어 단축키로 지정하는 방법
단축키 커스텀 마이징
https://ieworld.tistory.com/m/17
[우분투/Ubuntu 20.04] (초간단) 터미널에서 자주 쓰는 명령어 단축키로 지정하기 꿀팁
터미널에서 자주 쓰는 커맨드인 sudo apt-get update sudo apt-get upgrade 등을 편하게 쓸 수 있지 않을까 하는 생각에 조사해본 결과 정답은 xbindkeys라는 (너무너무) 편리한 툴이 존재했다 1. xbindkeys 설치..
ieworld.tistory.com
mv ls옵션 명령어 잘 정리됨.
https://shapeshed.com/unix-mv/#:~:text=What%20is%20the%20mv%20command,are%20new%20than%20the%20destination.
Linux and Unix mv command tutorial with examples | George Ornbo
Last updated Wednesday, Jan 8, 2020 Linux and Unix mv command tutorial with examples Tutorial on using mv, a UNIX and Linux command to move or rename files. Examples of moving a file, moving multiple files, moving a directory, prompting before overwriting
shapeshed.com
관련 eBook책 유료$
eBook)리눅스 입문자를 위한 명령어 사전 : 우분투, 데비안, CentOS, 페도라 대응 [ PDF ] -
https://economiceco.tistory.com/m/11390
eBook)리눅스 입문자를 위한 명령어 사전 : 우분투, 데비안, CentOS, 페도라 대응 [ PDF ]
http://m.yes24.com/Goods/Detail/102678925 리눅스 입문자를 위한 명령어 사전 - YES24 요긴하고 알기 쉽게, 필요할 때 바로 찾는 리눅스 명령어 사전 일상적으로 사용하는 리눅스 명령어를 엄선해.
economiceco.tistory.com
ls 다양한 옵션 활용법
ls -l
ls -a
ls -R
ls ..
https://www.educative.io/edpresso/what-is-the-ls-command-in-linux
What is the ls command in Linux?
Creator: Rukhshan Haroon
www.educative.io
내가 만든 동영상
https://youtu.be/HMw1RC36-C0