Linux Labs: mini survival guide



Similar documents
University of Toronto

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

Tutorial Guide to the IS Unix Service

How to Backup XenServer VM with VirtualIQ

Lab 1 Beginning C Program

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

CS 103 Lab Linux and Virtual Machines

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

Introduction to the UNIX Operating System and Open Windows Desktop Environment

Using SSH Secure FTP Client INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 2.0 Fall 2008.

You must have at least Editor access to your own mail database to run archiving.

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

Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients

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

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger

Recommended File System Ownership and Privileges

MATLAB on EC2 Instructions Guide

Easy Setup Guide 1&1 CLOUD SERVER. Creating Backups. for Linux

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

How To Sync Google Drive On A Mac Computer With A Gmail Account On A Gcd (For A Student) On A Pc Or Mac Or Mac (For An Older Person) On An Ipad Or Ipad (For Older People) On

Working with your NTU off campus

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

VHA Innovations Program Future Technology Laboratory. Linux Workstation Remote Desktop Connection Manual

SSH and Basic Commands

Using WinSCP to Transfer Data with Florida SHOTS

Linux command line. An introduction to the Linux command line for genomics. Susan Fairley

Command Line Crash Course For Unix

WinSCP: Secure File Transfer Using WinSCP for Secure File Transfer on Windows

WinSCP for Windows: Using SFTP to upload files to a server

How to use FTP Commander

Tutorial 0A Programming on the command line

Chapter 9 PUBLIC CLOUD LABORATORY. Sucha Smanchat, PhD. Faculty of Information Technology. King Mongkut s University of Technology North Bangkok

Please note that a username and password will be made available upon request. These are necessary to transfer files.

Miami University RedHawk Cluster Connecting to the Cluster Using Windows

Autograph Network Installation

Access Instructions for United Stationers ECDB (ecommerce Database) 2.0

Command Line - Part 1

Setting Up a Dreamweaver Site Definition for OIT s Web Hosting Server

Wireless Printing Guide

Introduction to Mac OS X

Mail and Address Book Management

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

How To Unlink Your Computer From Dropbox From Your Computer To Your Computer (For A Free Download) From Your Dropbox Account (For Free) (For An Ubuntu Install) (Free Download) (Unlock) (Reboot)

Virtual Office Remote Installation Guide

Test Note Phone Manager Deployment Windows Group Policy Sever 2003 and XP SPII Clients

INASP: Effective Network Management Workshops

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

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

QUICK START BASIC LINUX AND G++ COMMANDS. Prepared By: Pn. Azura Bt Ishak

VCL Access. VCL provides access to Linux and Windows 7 Virtual Machines. Users will only see those images that they are authorized to access.

Installation Guidelines (MySQL database & Archivists Toolkit client)

Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at:

Secure Shell. The Protocol

The Blackboard Content System: A Quick Start Guide

Hadoop Installation MapReduce Examples Jake Karnes

Version Control with Subversion and Xcode

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

Using the Synchronization Client

1. Scope of Service. 1.1 About Boxcryptor Classic

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

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

Accessing VirtualBox Guests from Host using SSH, WinSCP and Tunnelling

The IDL Virtual Machine

Mobile Labs Plugin for IBM Urban Code Deploy

A Crash Course in OS X D. Riley and M. Allen

What Is Online Archiving?

Install and configure SSH server

Lexia Network Installation Instructions

User Manual for Data Backups

Information Security Group. IT Induction

Macintosh Printer Management using Centrify DirectControl Group Policies

Other documents in this series are available at: servernotes.wazmac.com

APPLICATION NOTE. How to build pylon applications for ARM

NAS 225 Introduction to FTP Explorer

Changing Your Cameleon Server IP

Remote Access. Connecting to your computer from home

Web Proxy Auto Discovery (WPAD) Configuration Guide. Revision Warning and Disclaimer

Aspera Connect User Guide

Aspera Connect User Guide

Introduction to Operating Systems

Centralized Mac Home Directories On Windows Servers: Using Windows To Serve The Mac

About (EAS) Archived Service

Check current version of Remote Desktop Connection for Mac.. Page 2. Remove Old Version Remote Desktop Connection..Page 8

General Computing Network (GCN) Guide for Mac OS X

Getting Started Guide for FTP

MultiValue Dashboard. Installation Guide

Active Directory Integration for Greentree

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

MERLIN SERVER. The Quick Start Guide for collaborative project management ProjectWizards GmbH, Melle, Germany. All rights reserved.

Setting up Radmind For an OSX Public Lab

Autograph 3.3 Network Installation

Linux Connection Guide. by Tristan Findley

Mass Deploying Bomgar Software to Macs

GoAnywhere Director to GoAnywhere MFT Upgrade Guide. Version: Publication Date: 07/09/2015

Getting Started with Command Prompts

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

Configuring for SFTP March 2013

BioWin Network Installation

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

Jabra Suite for Mac - Mass Deployment guide Revision 1 /

Transcription:

Enrique Soriano, Gorka Guardiola Laboratorio de Sistemas, Grupo de Sistemas y Comunicaciones, URJC 29 de septiembre de 2011

(cc) 2010 Grupo de Sistemas y Comunicaciones. Some rights reserved. This work is provided under Creative Commons Attribution License - NonCommercial - NoDerivs (by-nc-nd). To obtain the complete license go to http://creativecommons.org/licenses/by-sa/2.1/es. or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Panel: application menu Applications: Terminal: Aplicaciones Accesorios Terminal Navegador: Aplicaciones Internet Firefox Editor: Aplicaciones Programación Editor de textos SciTE Trick: To create a launcher drag and drop the icon onto the Desktop or Panel.

Panel: places in the file explorer Folders: Home ($HOME): Lugares Carpeta Personal Desktop: Lugares Escritorio

Filesystem tree

File explorer Directories (folders) contain files and other directories. Similar to Windows and Mac OS X. Copy, paste, cut...

Editing files with SciTE Different ways to open a file File Open Drag and drop the file to an already open SciTE. Dragging the file to the SciTE icon. Typing in the terminal (recommended): scite file-name.p

Compiling After saving the file. Different ways: Typing in the terminal: pick file-name.p En SciTE: Tools Compile. En SciTE: click in the hammer button in the Tool bar.

Basic commands man: asking the system for help about something. man cp apropos: find about something in the man pages. apropos copy

Basic commands pwd: print the working directory (the one currently being used). cd: change the working directory. cd mydir1 ls: list the contents of a directory ls mydir1 ls -l

Basic commands mkdir: create directories mkdir midir2 cp: copy files. cp fich1 fich2 cp fich1 fich2 midir1 mv: move files. mv fich1 fich2 mv fich2 fich3 midir1

rm: delete files (BE CAREFUL!). rm fich1 fich2 rm -r midir1 CAREFUL cat: see the contents of files. cat fich4 cat fich4 fich5

Paths Absolute path: string of directories starting from the root separated by slashes. Always starts with slash (root). /home/al-09-10/juan/file.txt Relative path: string of directories starting with the working directory. al-09-10/juan/file.txt.. : father directory.../juan/file.txt. : current directory../file.txt

Executable files./ to tell the system that it is in the current directory../myprogram or the absolute path: /home/al-09-10/juan/myprogram You can add the current directory to the places where executables are searched (default configuration in the lab): export PATH=.:$PATH

Command line tricks to repeat already executed commands. Tab to complete names Ctrl+r to search in the already executed commands.

Copy files Windows: Install this app: Winscp MacOSX http://winscp.net/eng/docs/lang:es In Finder: Ir Conect to server In the command line: scp Linux In the file explorer: Lugares Conectar con servidor (seleccionar SSH) In the command line: scp

Remote console Windows: Install this app: Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html MacOSX In the command line: ssh Linux In the command line: ssh

Example with scp Copy a file from a remote server to the local machine (for example, from the lab to my home terminal): scp your-login@servidor:origin-filename destitnation-filename Examples: scp juan@zeta01.aulas.gsyc.es:expr.p expr.p (copies the file expr.p from juan s home directory to the working directory in juan s PC) scp juan@zeta22.aulas.gsyc.es:desktop/a.txt a.txt (copy the file a.txt from juan s Desktop directory in the server to the local directory in his PC)

Example with scp Copy a file from the local machine to a remote server (for example, from my home terminal to the lab): scp origin-filename your-login@servidor:destination-filename Example: scp a.txt juan@zeta22.aulas.gsyc.es:desktop/a.txt (copy the file a.txt from the local directory in his PC to juan s Desktop directory in the server)