Lecture One. Objective: Provide description of the Command-Line Editor of Linux operating system. Enable students to understand the practical side of.

Slides:



Advertisements
Similar presentations
PacNOG 6: Nadi, Fiji Using Commands in Linux Hervey Allen Network Startup Resource Center.
Advertisements

NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux+ Guide to Linux Certification, Second Edition
Unix Basics. Systems Programming: Unix Basics 2 Unix Basics  Unix directories  Important Unix file commands  File and Directory Access Rights through.
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.
Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder.
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
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Systems Programming Concepts
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Learning basic Unix command IT 325 operating system.
Using the “CLI” Unix / Linux Preparation Course May 25 Djibouti.
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.
Unix Basics Chapter 4.
Linux+ Guide to Linux Certification, Third Edition
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
UNIX/LINUX Shells Shell is an UNIX/LINUX command interpreter. Shell command can be internal or external. The code to execute an internal command is part.
Week 3 Exploring Linux Filesystems. Objectives  Understand and navigate the Linux directory structure using relative and absolute pathnames  Describe.
Lesson 9-Setting and Using Permissions. Overview Describing file permissions. Using execute permissions with a file. Changing file permissions using mnemonics.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX Commands cal – will print a calendar.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
Introduction to UNIX Geraint Vaughan. What is UNIX? Command-line operating system (not point- and click) Designed for ‘experts’ Lots of different variants.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
Week 8: Linux / ubuntu Dr. I. H. Shah. / CSCS 301 Fall 2009.
Chapter 4 LINUX Shells. Table 4.1 Shell Locations and Program Names.
Manage Directories and Files in Linux Part 2. 2 Identify File Types in the Linux System The file types in Linux referred to as normal files and directories.
Linux - Ubuntu LECTURE TWO. Objective: Enable students to understand the practical side of Linux operating system. Understand and implement the following.
1 Day 18 Bash and the.files. 2 The.files ls shows you the files in your directory –Or at least most of them. –Some files are hidden. Try: ls –a –This.
Using the “CLI” Unix / Linux Preparation Course June 9, 2013 Lusaka, Zambia.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
1 Manufacturing Operations Center 16. Demo Data Customization Scripts APAC Training, Feb-Mar, 2010.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
The Unix File sytem. Introduction Tree structure …
Unix Fundamentals CS 127. File navigation cd - change directory cd /var/log cd /etc/apache2 cd ~/Desktop ~ is a shortcut for the home directory.
Basic Unix Commands. Listing files and directories ● ls:command is used to list the files and ● directories in present working directory ● ls command.
Learning basic Unix command It 325 operating system.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
1 Linux Commands. 2 Path You specify a file or directory by its path name:  the full, or absolute, path name or the one relative to a location. The full.
Bash Scripting CIRC Summer School 2016 Baowei Liu CIRC Summer School 2016 Baowei Liu.
Introduction to Unix for FreeSurfer Users
GRID COMPUTING.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CIRC Winter Boot Camp 2017 Baowei Liu
Getting started with CentOS Linux
The Command Prompt Commands are the way to “do things” in Unix
Useful Linux Commands.
Eric Shook Department of Geography Kent State University
WELCOME FREESURFER COURSE ATTENDEES!
WELCOME FREESURFER COURSE ATTENDEES!
The Unix File System.
Getting started with CentOS Linux
Tutorial Unix Command & Makefile CIS 5027
Module 6 Working with Files and Directories
Lab 2: Terminal Basics.
Linux File System Commands
Presentation transcript:

Lecture One

Objective: Provide description of the Command-Line Editor of Linux operating system. Enable students to understand the practical side of Linux operating system. Understand and implement the following commands:  cd command.  pwd command.  ls command.  Cp command.  mkdir command.

The Command-Line Editor Before looking at the command-line instructions, I’d like to explore the various ways you can enter and edit text on the command line, because numerous options are avail-able to make your life a lot easier. For example, once you have entered one or more commands, you can scroll back and forth through the command history to reselect or edit previous commands by using the Up and Down cursor keys, or Ctrl-N for Next and Ctrl-P for Previous, as you can see from Table 7-2.

Bash Commands Running Bash commands is quite easy. For example, you can verify the location of the current folder simply by entering the command pwd, which stands for print working directory, to print out the full path of the current working folder. Or you can see which files and subfolders are in the current folder by entering ls, which stands for list con-tents. Table 7-2 details some of the more common commands relating to files and folders (along with what they do)

File and folder Commands

Now let’s look at some commands, starting with the cd command, which is used to change directory (or folder). In its simplest form, you just enter something like the following: 1)- cd /home 2)- PWD  Ubuntu should report that you are now in the home folder  Display the full path of the current working folder. The cd, PWD, and ls Commands

You can try navigating back up a level to the / directory by entering this: 3)- cd.. The cd, PWD, and ls Commands

4)- ls List all files and folders in the current folder (except hidden ones). 5)- ls -l Display all files and folders one line at a time with extended information (long form). 6)- ls -a Display all files and folders (including hidden ones). 7)- ls -la Display all files and folders (including hidden ones) in long form. The cd, PWD, and ls Commands

The cp and mkdir Commands 8)- CP The cp command takes two arguments: an existing file to copy and a destination. So, for example, if you have the file accounts.txt and would like to make a backup file, you can issue this command: o cp accounts.txt accounts.bak

The cp and mkdir Commands 9)- mkdir Create folder.

Conclusion: Learn Linux operating system used to implement command line editor. Understand and implement the cd, ls, cp, mkdir commands.