Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
97 views

Linux Shell Commands

This document provides an overview of the Linux operating system, including descriptions of its command line interface (CLI) and graphical user interface (GUI). It lists several common Linux commands to try, such as date, whoami, pwd, and ls, and explains how to use the echo command to display text. It also demonstrates concatenating multiple commands together using a semicolon.

Uploaded by

michaeldalisay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views

Linux Shell Commands

This document provides an overview of the Linux operating system, including descriptions of its command line interface (CLI) and graphical user interface (GUI). It lists several common Linux commands to try, such as date, whoami, pwd, and ls, and explains how to use the echo command to display text. It also demonstrates concatenating multiple commands together using a semicolon.

Uploaded by

michaeldalisay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Linux Operating System

EECP 3281
Recall
Operating System
Programming Language
Linux Operating System
What is an Operating System?
OS Interface
Command Line Interface
Graphical User Interface
Command Line Interface
requires the user to enter commands to the
computer using text only
Example : DOS
Graphical User Interface
provides access for the user to click on in
order to relay commands to the computer
In Linux
users can use both CLI and GUI
the program used to access the CLI for Linux is
called the shell
famous Linux shells: Bourne Shell, BASH, Korn
shell, C shell
Putty
an SSH and telnet client, developed originally
by Simon Tatham for the Windows platform.
an open source software that is available with
source code and is developed and supported
by a group of volunteers.

SSH-stands for secure shell
Try these commands
date
whoami
who
w
pwd
clear
man
uptime
useradd
cal
whatis
Try these commands
ls a
ls al
ls d
ls g
ls R
mkdir engg
cd engg
cd..
rmdir engg

UNIX shell emulator


http://bellard.org/jslinux/
The echo command
used to display a text or string
syntax
echo [options] [string, variable, ]

Try this code:

echo e Linux \t is \t an \n operating system



echo options
option meaning
-n Do not print with new line
-e Enable the backslash options below:
\a alert
\b backspace
\c suppress trailing new line
\n new line
\r carriage return
\t horizontal tab
\\ backslash
Challenge:
Ibra College of Technology
PO Box: 327, Postal Code:400
Al Sharqiyah North Governorate
Sultanate of Oman

Telephone: +968-25587800
+968-25587810

Fax: +968-25549020

Website: www.ict.edu.om
Concatenation of Commands
Write and execute the following code:

pwd; date; cal

What happened?

You might also like