The Linux Command Line Chapter 4

Slides:



Advertisements
Similar presentations
Lab6 CPCS361 I.Mona Alshehri. Working with Files and Directories Creating files Create a file with the cat command type the command cat > name_of_file.
Advertisements

Inodes. Filesystems Each partition has a filesystem –This filesystem will usually support a directory hierarchy Every file on a disk partition is allocated.
Lesson 22 – Introduction to Linux Systems Administration.
Linux+ Guide to Linux Certification, Second Edition
Links Software Tools. Lecture 4 / Slide 2 Links l A link is a pointer to a file. l In fact, in UNIX all filenames are just links to a file. Most files.
Embedded Programming and Robotics Lesson 13 Basic Linux 1.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
The file structure and related utilities CS240 Computer Science II.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Linux+ Guide to Linux Certification, Second Edition
Chapter Two Exploring the UNIX File System and File Security.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Managing Files. Module 5 Managing Files ♦ Introduction “On a Linux system, everything is a file; if something is not a file, it is a process.” ♦ Topics.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
1 © 2001 John Urrutia. All rights reserved. Chapter 4 The LINUX Filesystem.
Manipulating Files Refresher. The touch Command touch is used to create a new, empty file. If the file already exists, touch updates the time and date.
Fall 2013 SILICON VALLEY UNIVERSITY CONFIDENTIAL 1 Introduction to Embedded Systems Dr. Jerry Shiao, Silicon Valley University.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
Linux Stuff Last Update Copyright 2014 Kenneth M. Chipps Ph.D. 1.
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.
EMT 2390L Lecture 3 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Agenda The Linux File System (chapter 4 in text) Linking Files Hard Links / Symbolic Links Disk Storage Checking for Disk Space (df / du) Archiving (Backing.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Linux Filesystem Management
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.
Getting started with CentOS Linux
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Viewing and Changing the Filing System
Some Linux Commands.
OCCC CS – Linux – Fall ‘07 Find Command and Links
The Command Prompt Commands are the way to “do things” in Unix
The Linux Command Line Chapter 14
The Linux Command Line Chapter 2
Exploring the UNIX File System and File Security
Working with the Command-Line Interfaced
The Linux Command Line Chapter 6
The Linux Command Line Chapter 7
The Linux Command Line Chapter 18
Operating Systems and Using Linux
Operating Systems and Using Linux
The Linux Command Line Chapter 24
The Linux Command Line Chapter 3
The Unix File System.
The Linux Command Line Chapter 28
The Linux Command Line Chapter 9
Getting started with CentOS Linux
Hard Link when a file is copied, both the original and copy occupy separate space on the disk. unix allows a file to have more than one name and yet maintain.
The Linux Command Line Chapter 17
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Tutorial Unix Command & Makefile CIS 5027
The Linux Command Line Chapter 4
The Linux Command Line Chapter 25
The Linux Command Line Chapter 14
Module 6 Working with Files and Directories
Lab 2: Terminal Basics.
Chapter 4: The Linux Filesystem
January 26th, 2004 Class Meeting 2
The Linux Command Line Chapter 3
The Linux Command Line Chapter 24
Presentation transcript:

The Linux Command Line Chapter 4 Manipulating Files And Directories Prepared by Dr. Reyes, New York City College of Technology

Wildcards Wildcards - allows you to select filenames based on patterns of characters.

Character Classes

Wildcards examples

mkdir Command mkdir – creates a directory or multiple directories

cp Command cp – copies a file(s) or directory

cp examples

mv Command mv - performs file moving or file renaming

mv Examples

rm Command rm - used to remove files and directories

rm Examples

ln Command ln - used to create either hard or symbolic links Hard Links - ln file link Symbolic Link - ln -s item link Hard Links - The original Unix way of creating links. It cannot reference a file outside its own filesystem and cannot reference a directory. Symbolic Links - creates a special file with a pointer to the referenced file or directory, similar to a shortcut in Windows.