인의예지를 이용한 기본적인 리눅스 사용해보기
인의예지를 이용한 기본적인 리눅스 사용해보기 인의예지란? 인의예지는 학교에서 제공하는 리눅스 클러스터 서버입니다. 인의예지에 대한 자세한 설명은 여기를 참고하세요! 인의예지에 접속해보기 가장 편한 방법은 역시 GUI죠! Windows 환경이시면 MobaXterm이 좋은 선택지가 될 거 같네요. 설명은 여기를 참고하세요! GUI를 쓰기 어려운 환경이신가요? 그러면 다음 명령어로 접속을 해봅시다. ssh -p 1398 (학번)@swji.skku.edu ssh는 리눅스 클러스터 서버에 접속하기 위해 사용되는 인터넷 프로토콜이자 명령어입니다. -p 는 옵션으로 ssh 서버에 접속할 때 어느 포트에 접속할 것인지를 특정지어 줍니다.
What is Inuiyeji cluster? ‘Inuiyeji’ cluster is a server cluster that is available for SKKU students who major in Software Engineering. Currently the ‘In’ server is runs independently, and the ‘uiyeji’ server is bounded with nfs. Translation of the below notice about the server. (https://cs.skku.edu/news/notice/view/2587) 4-node Linux cluster server is now available for SW college students. Students who want to use it can use it freely. Hosts: - swin.skku.edu - swui.
Linux command: cat
cat concatenate files and print on the standard output Usage Used to verify the contents of a file. Options Useful options Usage -A The same results as -vET. -v Prints strings that are not originally printed separately in the form of ^ and M-. -E Prints $ at the end of each line. -T Prints TAB in the form of ^l. Examples cat cat -A
List of Linux commands
Basic Linux Commands Information Commands that are applicable to both files and directories typically require additional options when attempting to apply to directories. Please check the options before you apply them. Please refer to the table below for other notations. Notation Meaning (——-) Additional Options (Not required) [——] Required Options usage Links to more detailed explanations Linux filesystem Command Description Example Man page Usage ls (option) (directory) View the contents of (directory) ls Link Link cd (directory) Navigate through (directory) cd Test/ Link Link mkdir [name] Make a new directory with the name [name] mkdir Test Link cp (option) [name1] [name2] Copy name1 files/directories to name2 files/directories cp test1 test2 Link mv (option) [name1] [name2] Move name1 file to name2 file mv file1 Test/file2 Link rm (option) [name] Delete files/directories called [name] rm file1 Link Link cat (option) (filename) List [filename] contents cat file1 Link Link Linux package manager Before we start… Commands with the CAUTION!
How to use Mobaxterm Mobaxterm is a program that supports running remote programs such as ssh, sftp, and X11 forwarding. Mobaxterm has a free and paid version, but the free version is more than enough. Here’s how to install: Go to https://mobaxterm.mobatek.net/ to download and install the installer. Open the program. Press ‘session’ at the top left. Press the leftmost ‘ssh’ and set it up. remote host: (Example) swji.skku.edu Port: (Example) 1398 Press OK and double-click the session created on the left to connect ssh.