Essential Cluster OS Commands

Essential cluster Os Commands class 3
Essential Cluster OS Commands Class 3

SSH ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network Usage ssh [-l login name]hostname user @hostname [command] EXample ssh-l peter tdgrocks sci hkbu. edu. hk ssh peter@tdgrocks sci hkbu. edu. hk
SSH • ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. • Usage: – ssh [-l login_name] hostname | user@hostname [command] • Example: ssh -l peter tdgrocks.sci.hkbu.edu.hk ssh peter@tdgrocks.sci.hkbu.edu.hk

Common Linux Command Getting Help man [command]-manual pages apropos [keyword-Searches the manual pages for the keyord Directory Movement pwd -current directory path cd-change directory
Common Linux Command • Getting Help – man [command] - manual pages – apropos [keyword] - Searches the manual pages for the keyword • Directory Movement – pwd - current directory path – cd - change directory

Common Linux Command File/Directory Viewing -Is- list cat -display entire file more-page through file less-page forward and backward through file head- view first ten lines of file tail -view last ten lines of file
Common Linux Command • File/Directory Viewing – ls - list – cat - display entire file – more - page through file – less - page forward and backward through file – head - view first ten lines of file – tail - view last ten lines of file

Common Linux Command File/Directory Control cp-copy mv-move/rename rm- remove mkdir-make directory rmdir-remove directory In-create pseudonym(ink) chmod -change permissions touch -update access time (or create blank file
Common Linux Command • File/Directory Control – cp - copy – mv - move/rename – rm - remove – mkdir - make directory – rmdir - remove directory – ln - create pseudonym (link) – chmod - change permissions – touch - update access time (or create blank file)

Common Linux Command Searching locate- list files in filename database find -recursive file search grep-search file (also see"egrep"& fgrep") · Text editors vim- text editor pico-another text editor emacs -another text editor nano-and another text editor
Common Linux Command • Searching – locate - list files in filename database – find - recursive file search – grep - search file (also see "egrep" & "fgrep") • Text Editors – vim – text editor – pico - another text editor – emacs - another text editor – nano - and another text editor

Common Linux Command Compression tar-tape archiver gzip-GNu compression utility bzip2 -compression and package utility unzip uncompress zip files · Session and terminal history-command history clear - clear screen
Common Linux Command • Compression – tar - tape archiver – gzip - GNU compression utility – bzip2 - compression and package utility – unzip - uncompress zip files • Session and Terminal – history - command history – clear - clear screen

Common Linux Command User Information yppasswd -change user password (not available in our cluster) finger-display user() data, includes full name Who - display user(s) data W-display user(s)current activity System Usage ps -show processes kill -kill process uptime-system usage uptime
Common Linux Command • User Information – yppasswd - change user password (not available in our cluster) – finger - display user(s) data, includes full name – who - display user(s) data – w - display user(s) current activity • System Usage – ps - show processes – kill - kill process – uptime - system usage & uptime

Common Linux Command Misc ftp- simple File Transfer Protocol client sftp- Secure File Transfer Protocol client ssh- Secure shell ispell -interactively check spelling against system dictionary date-display date and time cal -display calendar wget-web content retriever(mirror)
Common Linux Command • Misc. – ftp - simple File Transfer Protocol client – sftp - Secure File Transfer Protocol client – ssh - Secure Shell – ispell - interactively check spelling against system dictionary – date - display date and time – cal - display calendar – wget - web content retriever (mirror)

Cluster-fork Rocks provides a simple tool for this purpose called cluster-fork. For example, to list all your processes on the compute nodes of the cluster cluster-fork ps -USUSER Cluster-fork is smart enough to ignore dead nodes. Usually the job is"blocking": cluster-fork waits for the job to start on one node before moving to the next
Cluster-fork • Rocks provides a simple tool for this purpose called cluster-fork. For example, to list all your processes on the compute nodes of the cluster: cluster-fork ps -U$USER • Cluster-fork is smart enough to ignore dead nodes. Usually the job is "blocking": cluster-fork waits for the job to start on one node before moving to the next
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 07 Mean-shift and Cam-shift.pptx
- 香港中文大学:Image processing and computer vision(PPT课件讲稿)Edge detection and image filtering.pptx
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 05 Hough transform.pptx
- GD-Aggregate:A WAN Virtual Topology Building Tool for Hard Real-Time and Embedded Applications.ppt
- Introduction to Internet and TCPIP(PPT讲稿)IP转发 IP FORWARDING.pptx
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 10 Pose estimation by the iterative method.pptx
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 8 Virtual Memory.ppt
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 6 Concurrency Deadlock and Starvation.ppt
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 1 and 2 Computer System and Operating System Overview.ppt
- 印第安纳大学:《Informatics》课程PPT教学课件(信息学)08 网络爬虫 Web Crawling.ppt
- 《Java编程导论》课程教学资源(PPT课件讲稿)Chapter 8 Strings and Text I/O.ppt
- 《计算机网络与通讯》课程教学资源(PPT课件讲稿,英文版)Chapter 3 Transport Layer.ppt
- C++ Review.ppt
- 《计算机网络与通讯》课程教学资源(PPT课件讲稿,英文版)Chapter 07 Network Security.ppt
- Incorporating Structured World Knowledge into Unstructured Documents via——Heterogeneous Information Networks.pptx
- FairCloud:Sharing the Network in Cloud Computing.pptx
- 香港科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件)Chapter 1 Introduction of computer networking.ppsx
- Fluent:《GAMBIT建模教程》教学资源(PPT讲稿)Geometry Operations in GAMBIT.ppt
- 有限元分析 ANSYS:Modeling Turbulent Flows(PPT讲稿)Introductory FLUENT Training.ppt
- 隐马尔科夫模型和词性标注(PPT课件讲稿).ppt
- 香港浸会大学:Kickstart Tutorial/Seminar on using the 64-nodes P4-Xeon Cluster in Science Faculty.ppt
- 香港浸会大学:并行输入输出(PPT讲稿)Parallel I/O.ppt
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 7 Memory Management.ppt
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)第4章 数据库查询.ppt
- 《计算机系统结构》课程教学资源(PPT课件讲稿)第五章 存储层次.ppt
- 软件配置管理和项目管理工具(PPT讲稿)Software Configuration Management and Project Management Tool.ppt
- 《数据库基础》课程PPT教学课件(SQL Server)第4章 T-SQL与可编程对象.ppt
- 《嵌入式系统开发》课程PPT教学课件(讲稿)第一章 嵌入式系统概述.ppt
- 《编译原理 Compiler Construction》课程教学资源(PPT讲稿)语义分析 Semantic Analysis(Attributes and Attribute Grammars、Algorithms for Attribute Computation).ppt
- 四川大学:《Linux操作系统》课程教学资源(PPT课件讲稿)第6章 Linux系统调用.ppt
- 《数据库技术》课程教学资源(PPT课件讲稿)第3章 SQL语言基础及数据定义功能(主讲:曾晓东).ppt
- 四川大学:.NET and .NET Core:Languages, Cloud, Mobile and AI(PPT课件讲稿)NET for Data Science and AI.pptx
- 四川大学:《Matlab程序设计》课程教学资源(教学大纲)Programming in Matlab.pdf
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第4章 网络基础(网络概述、协议).ppt
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第7章 协议安全技术(安全协议实例).ppt
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第5章 网络隔离技术.ppt
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第2章 信息安全数学基础(计算复杂性).ppt
- 《计算机系统结构》课程教学资源(PPT课件讲稿)第五章 存储系统.ppt
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 03 Process Description And Control.ppt
- 电子科技大学:《面向对象程序设计语言C++》课程教学资源(PPT课件讲稿)第九章 多态性(主讲:丘志杰).ppt