CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
CS2043 - Unix Tools & Scripting Lecture 4
More Unix Tools
Spring 2015 1
Instructor: Nicolas Savva
January 28, 2015
1 based on slides by Hussam Abu-Libdeh, Bruno Abrahao and David Slater over the years
Instructor: Nicolas Savva
CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
Course Logistics
Last day to enroll! Assignment 1 is due tonight Late policy: total of 5 days for the course Additional OH and support (beginning next week)
Instructor: Nicolas Savva
CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
Today
Accessing Remote Resources Variables More useful commands Piping, input/output redirection
Instructor: Nicolas Savva
CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
Remote Access
ssh
You can use "secure shell" (ssh) to connect to a remote machine.
ssh [username@]
If the username is omitted, local username will be used. Remote machine has to be configured to accept ssh connections:
ssh daemon (service) has to be running and listening on an open port (by default 22)
Instructor: Nicolas Savva
CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
Executing remote commands
ssh can be used to execute commands on the remote machine Example ssh nsavva@csug01.csuglab.cornell.edu ls this will execute ls on csug01.csuglab.cornell.edu and output the result to the screen before ssh terminates the connection
You can use the -f flag to put ssh into the background before executing the remote command You can use the -Y flag to forward X11 (graphical windows/user interface) to the local machine
Run firefox on the remote machine ssh -Y nsavva@csug01.csuglab.cornell.edu firefox
Instructor: Nicolas Savva
CS2043 - Unix Tools & Scripting Lecture 4 More Unix Tools
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- openmp part 2 indian institute of science
- cs2043 unix tools scripting lecture 4 more unix tools
- openjdk 17 installing and using openjdk 17 for windows
- slj setup a local development environment for windows oracle
- environment variables university of washington
- 090 2010 make your sas code environmentally aware
- how to set the path and environment variables in windows
- u boot reference manual digi international
- list all environment variables
- environment variables quick guide for commands lt only hyperpics
Related searches
- more than me or more than i
- more important vs more importantly
- more important or more importantly
- more and more people synonym
- batch scripting tutorial
- batch scripting cheat sheet
- unix shell scripting basics
- unix shell scripting examples
- more and more synonym
- more and more thesaurus
- more than or more than
- unix shell scripting tutorial pdf