레이블이 Linux인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Linux인 게시물을 표시합니다. 모든 게시물 표시

2017년 10월 23일 월요일

Linux 명령어들

1. window key + R command
    - alt + F2

2. apt-get
    - apt-get is the command-line tool for working with APT software packages.
    - APT (the Advanced Packaging Tool) is an evolution of the Debian .deb software packaging system. It is a rapid, practical, and efficient way to install packages on your system. Dependencies are managed automatically, configuration files are maintained, and upgrades and downgrades are handled carefully to ensure system stability.
    - 각종 기능들을 편리하게 사용할 수 있게 만들어 주는 Tool 이라고 이해하면 될듯.

3. .bashrc 파일
.bashrc is a shell script that Bash runs whenever it is started interactively. You can put any command in that file that you could type at the command prompt.

You put commands here to set up the shell for use in your particular environment, or to customize things to your preferences. A common thing to put in .bashrc are aliases that you want to always be available.
터미널에서 작동하는 명령을 만들고 싶을 때 사용하는 문서, 터미널이 만들어질 때 로딩을 한다.

4. 터미널 실행
ctrl + alt + T

5. 숨겨진 파일 보기
터미널에서 $ ls -a
혹은
GUI에서 ctrl + h

6. 찾기
sudo find . -name putty.log
sudo find . -name putty.lo*
sudo find . -name putty.l*
sudo find . -name *utty.log
1) 만약 sudo 가 없다면 어떤 폴더는 권한이 없다라는 출력이 많이 떠서 알아보기 어렵다.
2) * 는 임의의 문자를 위미하기 때문에 의도했던 결과인 putty.log 파일이 찾아진다.