I/O & Perintah Dasar Linux Onno W. Purbo

Slides:



Advertisements
Similar presentations
UNIX Overview. 2 UNIX UNIX is a multi-user and multi-tasking operating system. Multi-tasking: Multiple processes can run concurrently. Example: different.
Advertisements

Introduction to Linux command line for bioinformatics Wenjun Kang, MS Jorge Andrade, PhD 6/28/2013 Bioinformatics Core, Center.
By: Tony Andrews.  Linux directory ordering system  Navigating and creating directories ◦ Listing directories and files ◦ Creating directories ◦ Changing.
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Unix. Outline Commands Environment Variables Basic Commands CommandMeaning lslist files and directories ls -alist all files and directories mkdirmake.
©Colin Jamison 2004 Introduction to Linux Colin Jamison.
It's a binary file kept under specific directory.
CSE 303 Lecture 2 Introduction to bash shell
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
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.
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Unix Basics Chapter 4.
Dedan Githae, BecA-ILRI Hub Introduction to Linux / UNIX OS MARI eBioKit Workshop; Nov , 2014.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
The Shell Chapter 7. Overview The Command Line Standard IO Redirection Pipes Running a Program in the Background Killing (a process!)
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
Linux File System and The Shell Yonglei Tao. Linux File System  Consists of one or more self-contained file management units  each is known as a filesystem.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
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:
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Chapter 9 Basic File Processing. Displaying File Contents cat, cat w/append tac nl pr more less head tail.
Linux Essentials Programming and Data Structures Lab M Tech CS – I 2014 Arijit Bishnu Ansuman Banerjee Debapriyo Majumdar.
Basic of UNIX For fresh members of SPARCS
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: which, passwd, date, ps / kill Working with Files: file, touch, cat, more, less, grep,
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 2a – A Unix Command Sampler (Courtesy of David Notkin, CSE 303)
Linux Commands C151 Multi-User Operating Systems.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University.
Linux Stuff Last Update Copyright 2014 Kenneth M. Chipps Ph.D. 1.
Lecture 1: Introduction, Basic UNIX Advanced Programming Techniques.
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).
+ Introduction to Unix Joey Azofeifa Dowell Lab Short Read Class Day 2 (Slides inspired by David Knox)
Learning Unix/Linux Based on slides from: Eric Bishop.
Linux Workshop Session 2 By Amol and Prem. Overview of Presentation Brief Review Useful tools Remote Access Troubleshooting.
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
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.
Linux 101 Training Module Linux Basics.
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Andy Wang Object Oriented Programming in C++ COP 3330
Linux file system "On a UNIX system, everything is a file;
Part 1: Basic Commands/Utilities
Basic Commands ls cp ls –l (in detail format) echo ls –a
Some Linux Commands.
C151 Multi-User Operating Systems
Basic knowledge about Linux
Command Line Interface for Beginners
Ubuntu Working in Terminal
CSE 374 Programming Concepts & Tools
Linux Basic Commands Visit to more Learning Resources.
Operating Systems and Using Linux
Introduction to Linux Week 0 - Thursday.
CS 60 Discussion Review.
Introduction to Computer Organization & Systems
The Unix File System.
Operating Systems and Using Linux
Andy Wang Object Oriented Programming in C++ COP 3330
The Linux Command Line Chapter 4
Operating Systems and Using Linux
Introduction to Linux Commands
The Linux Command Line Chapter 4
LPI Linux Certification
Presentation transcript:

I/O & Perintah Dasar Linux Onno W. Purbo

I/O & Perintah Dasar

Redirection Output Redirection Input Redirection

Output Redirection > >>

Input Redirection < <<

Pipeline |

Shell Bourne shell (sh) C shell (csh) Korn shell (ksh) Bourne Again shell (bash)

cat $ cat $ cat file1 file2 > file4

clear $ clear

cp $ cp [option] file /dir/path $ cp --help

cut $ cut [option] file

find $ find /path [option]

grep $ grep [option] “data” file

ln $ ln –s /path/to/source target

locate $ locate

ls $ ls [option] /directory

mkdir $ mkdir

mv $ mv file1 file2

rm $ rm

rmdir $ rmdir

tail $ tail [option]

mount $ mount [option] /dev/device /mnt/point

ps $ ps [option]

kill $ kill

adduser $ adduser

passwd $ passwd

userdel $ userdel [-r]