Linux Overview. Local facilities. Linux commands. The vi (gvim) editor



Similar documents
Tutorial Guide to the IS Unix Service

University of Toronto

Lab 1 Beginning C Program

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Introduction to the UNIX Operating System and Open Windows Desktop Environment

WinSCP PuTTY as an alternative to F-Secure July 11, 2006

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

Getting the most out of your new Aalto workstation An Aalto IT guide for personnel migrating to the new Aalto workstation environment

Using Keil software with Linux via VirtualBox

There s a variety of software that can be used, but the approach described here uses freely available Cygwin software: (1) Cygwin/X (2) Cygwin/openssh

2 Advanced Session... Properties 3 Session profile... wizard. 5 Application... preferences. 3 ASCII / Binary... Transfer

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to ITC

Introduction to MS WINDOWS XP

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

New Lab Intro to KDE Terminal Konsole

File Management and File Storage

Using SSH Secure Shell Client for FTP

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

Miami University RedHawk Cluster Connecting to the Cluster Using Windows

Installing the SSH Client v3.2.2 For Microsoft Windows

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to IROC RI

SSH Connections MACs the MAC XTerm application can be used to create an ssh connection, no utility is needed.

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Introductory Note 711 & 811. Remote Access to Computer Science Linux Files Using Secure Shell Protocols

Compuprint 4247 Serial Matrix Printers

FEEG Applied Programming 6 - Working Remotely on Linux Server

UOG User Guide. Windows

Linux Labs: mini survival guide

RDM+ Remote Desktop for Android. Getting Started Guide

Stealth OpenVPN and SSH Tunneling Over HTTPS

Using Windows XP and File Management Handout (Staff)

The Einstein Depot server

Introduction to Operating Systems

RecoveryVault Express Client User Manual

1. Product Information

Online Backup Linux Client User Manual

Online Backup Client User Manual Linux

Using Virtual Machines

Online Backup Client User Manual

How to FTP (How to upload files on a web-server)

Mikogo User Guide Linux Version

Remote Access to Unix Machines

CS 103 Lab Linux and Virtual Machines

Download and Install the Citrix Receiver for Mac/Linux

Version Control with Subversion

Lab 8: Configuring Backups

Parallels. for your Linux or Windows Server. Small Business Panel. Getting Started Guide. Parallels Small Business Panel // Linux & Windows Server

Command Line - Part 1

Installing Exceed. (Exceed Exceed 15 3D + SecureShell 15)

File management Editing X Window KDE. Debian/GNU Linux. Introduction II. Károly Erdei. November 21, Károly Erdei Debian/GNU Linux 1/45

How To Set Up Dataprotect

sftp - secure file transfer program - how to transfer files to and from nrs-labs

Installing Novell Client Software (Windows 95/98)

Centers for Medicare and Medicaid Services. Connect: Enterprise Secure Client (SFTP) Gentran. Internet Option Manual

Windows Offline Files

If you are planning to work from home or your laptop, there are several things you need to have access to:

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

Week Overview. Running Live Linux Sending from command line scp and sftp utilities

Editing Files on Remote File Systems

Notes on Features of a CentOS 6 Desktop

Instructions for Accessing the Advanced Computing Facility Supercomputing Cluster at the University of Kansas

MATLAB on EC2 Instructions Guide

ParishSOFT Remote Installation

REMOTELY ACCESS YOUR FILES WITH THE FLAGLER FILECONNECT SYSTEM

Working With Your FTP Site

Unix Sampler. PEOPLE whoami id who

GETTING STARTED ON THE WINDOWS SERVICE A GUIDE FOR NEW STAFF MEMBERS

Webmail Access. Contents

SSH with private/public key authentication

1. Application Overview System Requirements Installation Splash Screen Registration Screen...

OpenVPN over SSH tunneling

Command-Line Operations : The Shell. Don't fear the command line...

Introduction to Computers

Linux Connection Guide. by Tristan Findley

Using SSH Secure File Transfer to Upload Files to Banner

Editing Locally and Using SFTP: the FileZilla-Sublime-Terminal Flow

BackupAgent Management Console User Manual

SIMIAN systems. Sitellite Desktop User Manual. Sitellite Professional Edition

Virtual Office Remote Installation Guide

Hosting Users Guide 2011

Schools Remote Access Server

Setting up VPN and Remote Desktop for Home Use

EURECOM VPN SSL for students User s guide

warpct.com Basic Computer Skills MS Windows XP Workbook courseware by WARP! Computer Training

Introduction to Mac OS X

CLC Server Command Line Tools USER MANUAL

FUGU - SFTP FOR MACS- REFERENCE GUIDE

USERS MANUAL FOR OWL A DOCUMENT REPOSITORY SYSTEM

Computer Basics: Tackling the mouse, keyboard, and using Windows

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

Manual pdf-recover Page 2

VERITAS NetBackup 6.0

13. Configuring FTP Services in Knoppix

TM Online Storage: StorageSync

POLARIS INSTALLATION

How to use SURA in three simple steps:

Transcription:

Linux Overview Local facilities Linux commands The vi (gvim) editor

MobiLan This system consists of a number of laptop computers (Windows) connected to a wireless Local Area Network. You need to be careful not to turn the wireless sensors off or you won t be able to connect to the network. The computer needs to stay in the same room as the cart the wireless is fairly local Be sure to shut the computer down before bringing the computer back to the cart.

Secure Shell We will be using the SSH program to connect to onyx Start the program Start a new session Type your user name and password Now you can practice using the command-line interface to Linux as I talk about it

Working with Linux There are a number of links to handouts about Linux and vi at http://cs.boisestate.edu/~tcole/cs125/fall04/useful.html Local Linux Guide basic Unix commands getting started with vi

command line interface Using the console can be faster than navigating graphical windows and menus. When you access the server via the Internet, the console mode is much faster to use than the graphical mode. If you are coming in from Windows than the console mode is all you have. So it makes sense to learn your way around the console mode. You can start up a console window by clicking on the icon for the Terminal program (the monitor icon) on the panel. Once you have opened a console, use it to learn a few basic commands. navigating directories (also known as folders) creating directories moving across directories copying files deleting files

Basic Linux commands Command cd Effect takes you to your home directory cd dir1 takes you to directory dir 1 cd.. ls ls -l mkdir skills pwd cp file1 skills mv file2 junk mv xyz skills rm junk go up one level in the directory tree list all files in the current directory shows detailed listing (includes file sizes, date created etc.) makes a new directory called skills print the name of the working directory copy file named file1 to the directory skills rename file2 to junk move file xyz to the directory skills remove file junk

Changing your password You can use the command passwd to change your password to something that is easier to remember. But don t make it too easy or it will not be secure. You should use a mixture of letters and digits up to 8 characters. When you type passwd, you will be asked to enter your current password once to log into the main onyx server and again for the passwd command. Then you will be asked to enter the new one twice.

Email You have several choices of email clients on onyx. When you are in the lab, you have a graphical program called evolution available to use. Once it has been set up, it should be reasonably self-explanatory. If you are logging in remotely, there are several text-based email programs: mutt, pine, elm, mail (in decreasing order of user-friendliness in my opinion)

Forwarding mail If you don t want to deal with mail on onyx, you can forward everything to another account. Go to your home directory (Type cd) Create a text file named.forward which should contain the email address you want to forward to and nothing else. You can use vi.forward i user@isp.net ESC ZZ If you want to keep a copy of your mail on onyx, you can replace the 3rd line with \onyxuser, user@isp.net Grades for programming assignments get sent to onyx so you need to do something about either using mail on onyx or forwarding your email.

Redirection We will be writing programs that read from the keyboard and write to the console. You will probably find yourself typing in the same sequence of text over and over as you debug the programs. You can save yourself some typing by using input redirection. Basically, this allows you to replace the keyboard with a text file for a single run of the program. Put the text that you would have typed into the program in a file (datafile below) and then type java MyProg < datafile Similarly, you can redirect the console output to a file by typing java MyProg > outfile You can do both at once as well java MyProg < datafile > outfile

Logging out Make sure you are completely logged out before you leave the lab. The logout option is on the start menu on the main panel at the bottom. Be sure the login screen is visible before you leave the lab. There are gremlins in the lab who have been known to play tricks on people who forget to log out before leaving the lab. Typing exit will close an xterm window but it does not log you out.

Remote Sessions via ssh Download a free Secure Shell Client for your home computer from PC: http://www.jfitz.com/tips/ssh_for_windows.html#sshserver Mac: http://pro.wanadoo.fr/chombier/ Once you install this package, you have two programs: 1. the ssh terminal that lets you connect to onyx remotely 2. a secure copy (scp) client that lets you copy files between onyx and your computer. The ssh programs are secure since they encrypt your password and data before sending over the Internet.

Using the workstations in the lab The computer labs are ET 213 and ET 214. You can enter through ET 239 when it is open You can use the combination for the keypad lock (96350) anytime you can get into the building

Logging in Choose a computer and make sure everything is turned on. Move the mouse if necessary so that you can see the login screen. Enter your user name and password in the appropriate dialog boxes. Now you should see the KDE desktop which provides you with a graphical interface (GUI) to the operating system

The KDE Desktop The KDE desktop looks similar to the Windows desktop. Icons on the desktop can be double clicked to open/start them. The taskbar at the bottom of the screen (usually) has a number of useful things. The Red Hat icon is a menu that lets you start programs and logout. The icon that looks like a terminal opens up a Terminal window. Here you can type commands. More on this later. The control center lets you modify the looks of your desktop. The life-saver opens up a help window. The house icon will give you a window showing the files and directories in your home directory. Use the Lock/Logout applet (either in the taskbar or in the red-hat menu) to log out of your session.