We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byMartin Peters
Modified over 5 years ago
© Crown copyright Met Office An Introduction to Linux PRECIS Workshop, University of Reading, 23rd – 27th April 2012
© Crown copyright Met Office What is Linux Installing Linux Directory structure Demonstration Useful websites Contents
© Crown copyright Met Office Tux the penguin, mascot of Linux http://www.linux.org/ A form of the Unix operating system. Created by Linus Torvalds. Freely downloadable from the internet. What is Linux?
© Crown copyright Met Office Installation of Linux openSUSE Insert Linux DVD and start up computer Installation instructions are in the PRECIS technical manual section 2.3 List of software needed is in the PRECIS manual section 2.5 http://www.opensuse.org/
© Crown copyright Met Office Organisation of Linux systems H/W Users & Apps Shell Commands & Utils Kernel
© Crown copyright Met Office Directory structure / bindevhome dir1dir2 rootusr
© Crown copyright Met Office Demonstration…
© Crown copyright Met Office command [options] [arguments] (what to do) (how to do it) (what to do it with) at least one space
© Crown copyright Met Office Navigating the file system cd Change Directory cd home/dir1 to get to the dir1 directory cd.. to go up one directory (parent directory) cd $HOME or cd ~ to navigate back to your personal directory no matter where you are cd - goes to the former working directory pwd Print Working Directory to display the path of the current directory
© Crown copyright Met Office List directory contents ls Lists files and directories ls -a lists all files, including hidden ones. ls -l displays the file list in long format, including file details like size, time stamp, and owner. ls -F adds / after the name for directories, an * for executables, and @ for linked files. ls -r reverses the sort order (alphabetic or time). ls -t sorts the list by the time each file was created.
© Crown copyright Met Office Copying and renaming files cp Copy cp file1 file2 makes a copy of file1 in same directory cp file1 /dir2/ makes a copy of the file in dir2 mv To move or rename files mv file1 file001 to rename file1 to file 001 mv file001 dir2 to move file001 into dir2
© Crown copyright Met Office Creating and deleting files and directories Files touch newfile.dat makes a new empty file or updates the time and date stamp on an existing file. rm file1 removes the file. Directories mkdir dir3 makes a new directory. rmdir -r dir1 deletes the directory and the r flag is used to delete everything underneath it.
© Crown copyright Met Office Useful shortcuts… ls e* lists all files that start with e ls *pdf lists all files that end in pdf ls file?.dat will list files such as file1.dat and file7.dat but will not list file001.dat * ? To copy double click with left mouse button and paste by pressing middle mouse button. Control + A to go to beginning of typed line. Control + E to go to the end of typed line. Control + K deletes the line. ctrlK ctrlE ctrlA
© Crown copyright Met Office Other Basic Commands catConcatenate and display lessCan move through a file when viewing it manManual touchMakes a new file clearClears the terminal screen emacsEditor picoEditor viEditor acroreadAcrobat Reader
© Crown copyright Met Office Some useful websites Doctor Bobs Lowfat Linux http://lowfatlinux.com/ http://lowfatlinux.com/ Getting started with Linux http://www.linux.org/lessons/beginner/toc.html http://www.linux.org/lessons/beginner/toc.html Unix Tutorial for beginners http://www.ee.surrey.ac.uk/Teaching/Unix/index.html http://www.ee.surrey.ac.uk/Teaching/Unix/index.html
© Crown copyright Met Office Questions
Exploring the UNIX File System and File Security
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Linux+ Guide to Linux Certification, Second Edition
Guide To UNIX Using Linux Third Edition
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
Very Quick & Basic Unix Steven Newhouse Unix is user-friendly. It's just very selective about who its friends are.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
A Mini UNIX Tutorial. What’s UNIX? An operating system run on many servers/workstations Invented by AT&T Bell Labs in late 60’s Currently there.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Learning basic Unix command IT 325 operating system.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Working with Files Chapter 5. Display a Calendar Display a calendar for a specific month – cal Display a calendar for a specific year – cal 2000.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
1 Lecture 2 Working with Files and Directories COP 3344 Introduction to UNIX.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
The UNIX development environment CS 400/600 – Data Structures.
Chapter Two Exploring the UNIX File System and File Security.
© 2021 SlidePlayer.com Inc. All rights reserved.