리눅스 기본 명령어에 대해 알아보자
우리는 리눅스를 사용하면서 너무 많은 명령어를 사용하고 있다.
하지만 모르는 사람들을 위해 내가 많이 사용하는 명령어 위주로 몇 가지만 적어보자 한다.
root@ubuntu:/opt/MegaRAID# cd ..
containerd MegaRAID
root@ubuntu:/opt# cd ~
629-INT03-UNIV-ALL dl_source.sh IPMICFG_1.30.0_build.190710.zip nccl NV_Fied.zip onboard_app_source.sh
anaconda3 gmonitor IPMICFG_1.31.0_build.200205 nccl_2.7.5-1+cuda11.0_x86_64 NVIDIA_CUDA-11.0_Samples storcli-1.23.02-1.noarch.rpm
Anaconda3-2019.10-Linux-x86_64.sh gpu-burn IPMICFG_1.31.0_build.200205.zip nccl_2.7.5-1+cuda11.0_x86_64.txz NVIDIA-Linux-x86_64-440.59.run test.JPG
ckkim IPMICFG_1.29.0_build.181029.zip minikube nouveau_onboard.sh offboard_app_source.sh test.txt
root@ubuntu:~# cd /root/ckkim/app/
root@ubuntu:~/ckkim/app#
root@ubuntu:~/ckkim# ls
app cuda cuda_11.0.2_450.51.05_linux.run lsigetlinux_091218 motd
bazel-0.24.1-installer-linux-x86_64.sh cuda_10.0.130_410.48_linux.run cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8 lsigetlinux_latest.tgz nvidia-bug-report.log
root@ubuntu:~/ckkim# ls -a
. app cuda cuda_11.0.2_450.51.05_linux.run lsigetlinux_091218 motd
.. bazel-0.24.1-installer-linux-x86_64.sh cuda_10.0.130_410.48_linux.run cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8 lsigetlinux_latest.tgz nvidia-bug-report.log
root@ubuntu:~/ckkim# ls -l
total 5493960
drwxr-xr-x 2 root root 4096 Jul 27 01:05 app
-rwxrwxrwx 1 root root 95686759 Jun 17 21:04 bazel-0.24.1-installer-linux-x86_64.sh
drwxr-xr-x 4 root root 4096 Jun 22 00:04 cuda
-rwxrwxrwx 1 root root 2020126691 Mar 25 2019 cuda_10.0.130_410.48_linux.run
-rwxrwxrwx 1 root root 3066694836 Jul 2 19:34 cuda_11.0.2_450.51.05_linux.run
-rw-r--r-- 1 root root 424488399 Mar 25 2019 cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8
drwxr-xr-x 7 root root 4096 Jul 13 01:04 lsigetlinux_091218
-rw-r--r-- 1 root root 17043379 Jun 17 21:15 lsigetlinux_latest.tgz
-rwxrwxrwx 1 root root 37 Jul 13 01:42 motd
-rw-r--r-- 1 root root 1723399 Jul 15 04:27 nvidia-bug-report.log
root@ubuntu:~/ckkim# ls -al
total 5493968
drwxr-xr-x 5 root root 4096 Jul 27 01:05 .
drwx------ 19 root root 4096 Jul 27 01:05 ..
drwxr-xr-x 2 root root 4096 Jul 27 01:05 app
-rwxrwxrwx 1 root root 95686759 Jun 17 21:04 bazel-0.24.1-installer-linux-x86_64.sh
drwxr-xr-x 4 root root 4096 Jun 22 00:04 cuda
-rwxrwxrwx 1 root root 2020126691 Mar 25 2019 cuda_10.0.130_410.48_linux.run
-rwxrwxrwx 1 root root 3066694836 Jul 2 19:34 cuda_11.0.2_450.51.05_linux.run
-rw-r--r-- 1 root root 424488399 Mar 25 2019 cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8
drwxr-xr-x 7 root root 4096 Jul 13 01:04 lsigetlinux_091218
-rw-r--r-- 1 root root 17043379 Jun 17 21:15 lsigetlinux_latest.tgz
-rwxrwxrwx 1 root root 37 Jul 13 01:42 motd
-rw-r--r-- 1 root root 1723399 Jul 15 04:27 nvidia-bug-report.log
root@ubuntu:~# mv test.txt /root/ckkim/app/
root@ubuntu:~# cd /root/ckkim/app/
test.txt
root@ubuntu:~/ckkim/app# mv test.txt test.txt.org
root@ubuntu:~/ckkim/app# ls
test.txt.org
root@ubuntu:~/test# cp test.txt /root/ckkim/app/
root@ubuntu:~/test# ls /root/ckkim/app/
test.txt test.txt.org
root@ubuntu:~/test# cd ..
629-INT03-UNIV-ALL dl_source.sh IPMICFG_1.30.0_build.190710.zip nccl NV_Fied.zip onboard_app_source.sh
anaconda3 gmonitor IPMICFG_1.31.0_build.200205 nccl_2.7.5-1+cuda11.0_x86_64 NVIDIA_CUDA-11.0_Samples storcli-1.23.02-1.noarch.rpm
Anaconda3-2019.10-Linux-x86_64.sh gpu-burn IPMICFG_1.31.0_build.200205.zip nccl_2.7.5-1+cuda11.0_x86_64.txz NVIDIA-Linux-x86_64-440.59.run test
ckkim IPMICFG_1.29.0_build.181029.zip minikube nouveau_onboard.sh offboard_app_source.sh test.JPG
root@ubuntu:~# cp -r test /root/ckkim/app/
root@ubuntu:~# ls /root/ckkim/app/
test test.txt test.txt.org
root@ubuntu:~/ckkim/app# ls
test test.txt test.txt.org
root@ubuntu:~/ckkim/app# rm test.txt
root@ubuntu:~/ckkim/app# rm -r test
root@ubuntu:~/ckkim/app# ls
test.txt.org
root@ubuntu:~# history 5
654 cd ~
655 vim test.txt
656 clear
657 w
658 history 5
root@ubuntu:~# !657
w
01:03:09 up 5 days, 22:40, 2 users, load average: 0.01, 0.02, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 192.168.15.35 Wed21 5.00s 0.65s 0.00s w
root tty3 - Wed21 4days 9.11s 1.64s ./cuda-installer
root@ubuntu:~#
2020/07/23 - [GPU] - cuda 11.0 설치 리눅스 환경
2020/07/21 - [linux] - linux path 설정 - bashrc ? /etc/bashrc ?
2020/07/20 - [linux] - linux - hostname, hosts 파일 및 hosts.deny hosts.allow 알아보기
linux - centos 본딩(bonding)종류 및 설정하기 (1) | 2020.07.30 |
---|---|
linux - ssh 접속하기 및 포트 변경 (2) | 2020.07.29 |
linux path 설정 - bashrc ? /etc/bashrc ? (2) | 2020.07.21 |
linux - hostname, hosts 파일 및 hosts.deny hosts.allow 알아보기 (2) | 2020.07.20 |
ssh 접속 MobaXterm (0) | 2020.07.19 |