Advanced GNU/Linux Command Line By: - Mohammed El-Sayed.

Slides:



Advertisements
Similar presentations
UNIX Chapter 12 Redirection and Piping Mr. Mohammad Smirat.
Advertisements

การใช้ระบบปฏิบัติการ UNIX พื้นฐาน บทที่ 4 File Manipulation วิบูลย์ วราสิทธิชัย นักวิชาการคอมพิวเตอร์ ศูนย์คอมพิวเตอร์ ม. สงขลานครินทร์ เวอร์ชั่น 1 วันที่
EMT 2390L Lecture 4 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
5 Basic utilities When a user logs in to the Linux operating system the directory that they will start in is their home directory. Most users will have.
1.1 File System Implementation A possible file system layout.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
Unix Tutorial CSU480. Outline  Getting Started  System Resources  Shells  Special Unix Features  Text Processing  Other Useful Commands.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Lesson 22 – Introduction to Linux Systems Administration.
Introduction to UNIX A User’s Perspective: Day 2 – Command Basics.
Very Quick & Basic Unix Steven Newhouse Unix is user-friendly. It's just very selective about who its friends are.
Unix Shell Scripts. What are scripts ? Text files in certain format that are run by another program Examples: –Perl –Javascript –Shell scripts (we learn.
Introduction to Unix – CS 21 Lecture 5. Lecture Overview Lab Review Useful commands that will illustrate today’s lecture Streams of input and output File.
Unix Files, IO Plumbing and Filters The file system and pathnames Files with more than one link Shell wildcards Characters special to the shell Pipes and.
Linux Commands LINUX COMMANDS.
Further Command line… Nic Bertrand CEH IT Support, GRID & Bioinformatics.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II CHAPTER 10: ADVANCED FILE PROCESSING.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Manage Directories and Files in Linux
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
C & Unix Final Session Review (… because I, too, can do PowerPoint …)
Introduction to UNIX Don Bahls user consultant (907)
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Unix Basics Chapter 4.
The “File System” Under UNIX, (almost) everything is a “file”: –Normal files –Directories –Hardware –Sockets –Pipes Things that are not files: –Users –Groups.
Linux Un*x Overview Peter Norton’s Guide to Unix Running Linux (O’Reilly)
Linux Operations and Administration
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
The UNIX File System. The UNIX File A file is a container for storing information and data. Filename limited to 255 characters. Can’t contain / or NULL.
1 UNIX essentials (hands-on) the directory tree running programs the shell → command line processing → special characters → command types → shell variables.
Workbook 5 - Part 2 The Linux Filesystem RH030 Linux Computing Essentials.
Chapter Two Exploring the UNIX File System and File Security.
Module 6 – Redirections, Pipes and Power Tools.. STDin 0 STDout 1 STDerr 2 Redirections.
Quiz 15 minutes Open note, open book, open computer Finding the answer – working to get it – is what helps you learn I don’t care how you find the answer,
Pipes and Redirection in Linux ASFA Programming III C. Yarbrough.
Linux file system "On a UNIX system, everything is a file; if something is not a file, it is a process." Sorts of files (on a Linux system) Directories:
Shell (Addendum). Example r What if we want to support something like this: m ps –le | sort r One process should execute ps –le and another should execute.
Chapter Four I/O Redirection1 System Programming Shell Operators.
CSC414 “Introduction to UNIX/ Linux” Lecture 5. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Week 9 - Nov 7, Week 9 Agenda I/O redirection I/O redirection pipe pipe tee tee.
Basic of UNIX For fresh members of SPARCS
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 Commands C151 Multi-User Operating Systems.
The Unix File system (UFS) Presented by: Gurpreet Singh Assistant Professor Department of School of Computing and Engineering Galgotias University.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
Lecture 1: Introduction, Basic UNIX Advanced Programming Techniques.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
Using Linux Kaya Oğuz Room: 310.
This Month's Underprepared Command Line Talk Part Three
Introduction to Unix – CS 21
Read the relevant material in Sobell!
Department of Computer Engineering
LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5
Linux file system "On a UNIX system, everything is a file;
C151 Multi-User Operating Systems
Basic knowledge about Linux
Command Line Interface for Beginners
Linux Basic Commands Visit to more Learning Resources.
CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection
Exploring the UNIX File System and File Security
The Linux Command Line Chapter 6
Chapter Four UNIX File Processing.
More advanced BASH usage
Command line.
Linux Commands LINUX COMMANDS.
Short Read Sequencing Analysis Workshop
Presentation transcript:

Advanced GNU/Linux Command Line By: - Mohammed El-Sayed

Flashback! File system hierarchy. File system navigation. File and directory management. Getting help and information.

Now, let's talk about: Relative/Absolute paths. Finding stuff. Basic Permissions. Mounting partitions..and more.. Compressing and Extracting files. Piping and Redirection. Filters.

Relative and Absolute Paths: A relative path, starts from your working directory. Let's meet “.” and “..” An absolute path, starts form the Root.

Finding Stuff: which: shows the full path of (shell) commands. whereis: locate the binary, source, and manual page files for a command. locate/updatedb: find files on your system quickly, but... find: find files, period!

Basic Permissions: Users... System users. Normal users. Groups.... System groups. Um, just groups? chown : change ownership of a file.

Basic Permissions, cont'd: r : read : 4 w : write : 2 x : execute : 1 chmod: change permissions of a file.

Mounting Partitions: mount: mount a file system. umount: unmount file systems. ISO's ? disk images ? USB devices ?

Compress/Extract Files: gzip : compress. gunzip : extract. bzip2 : compress. bunzip2 : extract. tar : does it all.

Redirection First: stdin / 0 process program stdout / 1 command stderr / 2

Now, lets put in some pipes: Command1 Command2 Command3

Filters: sort uniq grep head tail and the list goes on....

Questions?

I get to ask questions, too! Where do you wanna go next?

Thank You,, EGLUG Team http://eglug.org