Using Linux Command 3 Lab#6.

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

Operating System Type of Operating System
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
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.
Chapter 11 UNIX Printing. have to be root to setup a printer local printer is directly connected remote printer is a network printer print queue is nothing.
Unix Filters Text processing utilities. Filters Filter commands – Unix commands that serve dual purposes: –standalone –used with other commands and pipes.
2 $ command Command Line Options ls –a –l hello hi Command Arguments.
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.
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #5  Files and directories in UNIX  Various types of files  File attributes  Notion of pathname  Commands.
EMT 2390L Lecture 2 Dr. Reyes. Outline What is the Shell Basic commands Linux Filesystem System commands.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
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.
©NIIT Collaborate Lesson 1C / Slide 1 of 23 Collaborate Knowledge Byte In this section, you will learn to: Use the cal command Determine the file types.
1 Day 5 Additional Unix Commands. 2 Important vs. Not Often in Unix there are multiple ways to do something. –In this class, we will learn the important.
Slackware 9.1 Installation First prompt in the installation process.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
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.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Log-in to the Unix Server A successful log-in allows access to the server through the Secure Shell. SSH, also known as Secure Shocket Shell, is a Unix.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
UNIX An Introduction. Brief History UNIX UNIX Created at Bell Labs, 1969 Created at Bell Labs, 1969 BSD during mid 70s BSD during mid 70s AT&T began offering.
Introduction to Linux Instructor: Bennett M. Tanyag PART – 3 Unit 1.
Lecture Three. Objective: Enable students to understand the practical side of Linux operating system. Understand and implement the following commands:
Week 8: Linux / ubuntu Dr. I. H. Shah. / CSCS 301 Fall 2009.
Linux+ Guide to Linux Certification, Third Edition
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.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 2a – A Unix Command Sampler (Courtesy of David Notkin, CSE 303)
– Introduction to the Shell 1/21/2016 Introduction to the Shell – Session Introduction to the Shell – Session 3 · Job control · Start,
Linux Stuff Last Update Copyright 2014 Kenneth M. Chipps Ph.D. 1.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
CSCI 330 UNIX and Network Programming Unit II Basic UNIX Usage: File System.
All of Unix is case sensitive. WARNING!. Shell Prompt Now that you have logged in, you will see a shell prompt. This is where you will spend most of your.
File Management commands cat Cat command cat cal.txt cat command displays the contents of a file here cal.txt on screen (or standard out).
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
Learning Unix/Linux Based on slides from: Eric Bishop.
Operating systems Lecture #3 Modern OS characteristics.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
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.
Getting started with CentOS Linux
LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5
Linux 103 Training MOdule Basic System Mgmt.
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
INTERNAL COMMANDS CLS(Clear Screen):-
Unix Commands PowerPoint
Some Linux Commands.
Lecture #3 Modern OS characteristics
Chapter 6 Filters.
Command Line Interface for Beginners
Ubuntu Working in Terminal
CSE 374 Programming Concepts & Tools
Lecture #3 Modern OS characteristics
Introduction to MS-DOS
The Linux Command Line Chapter 1
The Linux Command Line Chapter 3
Getting started with CentOS Linux
Tutorial Unix Command & Makefile CIS 5027
Command line.
Lecture 4 Redirecting standard I/O & Pipes
Lab 7: Filtering.
Lab 2: Terminal Basics.
A shell is a user interface.
Review.
The Linux Command Line Chapter 3
LPI Linux Certification
Presentation transcript:

Using Linux Command 3 Lab#6

Some useful commands [clear] The clear command clears your terminal and returns the command line prompt to the top of the screen. [root@localhost /root]# clear

rmdir—Remove empty directories Directories [rmdir] rmdir—Remove empty directories #rmdir dir1

cal [[0-12] 1--9999] [root@localhost /root]# cal 1947 Prints out a nicely formatted calendar of the current month, or a specified month, or a specified whole year. [root@localhost /root]# cal 1947

df Stands for disk free [root@localhost /root]# df -h This tells you how much free space is left on your system. [root@localhost /root]# df -h

free Prints out available free memory. You will notice two listings: swap space and physical memory. [root@localhost /root]# free

wc [-c] [-w] [-l] <filename> Counts the number characters/bytes (with -c), words (with -w) or lines (with-l) in a file. [root@localhost /root]# wc –c /etc/passwd

file <filename> Determining file type file <filename> This command prints out the type of data contained in a file. will tell you that portrate.jpg is a JPEG image data, # file portrate.jpg

head [root@localhost /root]# head -2 doc.txt Syntax: head [-count | -n number] filename This command will display the first few lines of a file. By default, the first 10 lines of a file are displayed. However, you could use the preceding options to specify a different number of lines. # Outline of future projects ff Last modified: 02/02/99 [root@localhost /root]# head -2 doc.txt

tail [root@localhost /root]# tail -50 doc.txt [root@localhost /root]# tail -r doc.txt