Home
Syllabus
Assignments
Exams
Lectures
Examples
Links
Contents:
Compression Process to use for CSE 222
Create a Tarred and Zipped Directory -- To create a zipped directory (for project submission) use the following command, where "name" is your last name, "N" is the mini-project number, and "name_mpN" is the directory to compress, a sub-directory of your current directory:
tar -cvzf name_mpN.tgz name_mpN
List Contents of Compressed Directory -- To list the contents of a downloaded directory run the following command:
tar -tzf file.tgz
Uncompress Downloaded Directory -- To uncompress a downloaded directory, run the following command in the directory where you would like the new subdirectory to be located:
tar -xzf file.tgz
Other How To's --
Remote login via a secure shell (ssh) --
ssh ID@pi.nmt.eduYou will be prompted for the password for the remote host.
Remote login via a secure shell (ssh) allowing secure data X-windows to be placed back on the local screen --
ssh -X ID@pi.nmt.eduYou will be prompted for the password for the remote host.
Copying a file to a remote system via a secure copy (scp) --
scp LocalFilePath ID@pi.nmt.edu:DestinationDirectoryPathYou will be prompted for the password for the remote host.
Copying a directory to a remote system via a secure copy (scp) --
scp -r LocalDirPath ID@pi.nmt.edu:DestinationDirectoryPathYou will be prompted for the password for the remote host.
Copying a file from a remote system via a secure copy (scp) --
scp -r ID@pi.nmt.edu:RemoteFilePath LocalDestinationDirectoryPathYou will be prompted for the password for the remote host.
Copying a directory from a remote system via a secure copy (scp) --
scp -r ID@pi.nmt.edu:RemoteDirPath LocalDestinationDirectoryPathYou will be prompted for the password for the remote host.
Demo code:
Home
Syllabus
Assignments
Exams
Lectures
Examples
Links
All Rights Reserved. 2009 | |||