SlideShare a Scribd company logo
Terminal Commands
Terminal Commands  (Linux - ubuntu) (part-1)
What is a terminal on a computer?
computer terminal, a device that enables a
computer to receive or deliver data. Computer
terminals vary greatly depending on the format
of the data they handle. For example, a simple
early terminal comprised a typewriter keyboard
for input and a typewriter printing element for
alphanumeric output.
Why use the terminal?
"Under Linux there are GUIs (graphical user
interfaces), where you can point and click and
drag, and hopefully get work done without first
reading lots of documentation. The traditional
Unix environment is a CLI (command line
interface), where you type commands to tell the
computer what to do. That is faster and more
powerful, but requires finding out what the
commands are."
Important information
about the Linux
terminal
The Linux commands are case-sensitive
It is important to remember that
everything written in the terminal is
case-sensitive. When the command is
"sudo", neither "Sudo", "SUDO", nor
"sUdO" will work.
Beware of spaces
Spacing is equally important. "chown-R" will
only return an error. If we want to
create/access/delete a file or directory that has
a space in the filename, we can either put the
whole filename inside quotation marks or
"escape" the space using the backslash "".
Finding previous Linux commands
Pressing the Up keyboard key will cycle
through the last Linux commands we
successfully used, in order. No failed
commands will show here.
The invisible password
When we are asked for our password, e.g.
after we used "sudo", as we type the
password nothing will show on screen, no
stars or dots or anything. We just type the
password and press Enter.
COMMANDS
Command:- pwd
• pwd stands for "present working directory".
• The current directory, also known as the working directory, is where you are. In the Finder,
this is equivalent to having a window open and viewing the files. To determine the current
directory, type in: pwd
Command : ls
 list files and directories .
Command:- mkdir directory name
 create a new directory.
 Here for example we create directory name as user so for that we have to use
command:- mkdir user



 Now let us see our new directory is created or not.
 Use command:- ls
 You can see we created new directory.
One directory is created
?? Question ??
Can we make multiple folder within one second???
Like we want to create folder
user1,user2,user3.....user10.
it’s possible????
In GUI(graphical user interface) it’s also not possible to
create 100 or even more folder within ONE second!!!!!!!
This work can be done using TERMINAL.
Now we will create 10 folders in one second!
Command :- mkdir user{1..10}
As you can see we created 10 folder/directory within one second.
Just type command:- mkdir directory_name {starting value (1) .. ending value(10)}
You can see 10 directory is
created
Command:- rmdir directory_name
 Delete a existing directory.
 Here for example we have to delete user directory then we have to use
command:- rmdir user
 Now let us see our user directory is deleted or not.
 Use command:- ls
 You can see we have deleted user directory.
Before deleting
after deleting
Command:-
mv existing(directory)_name
new_name
• Exmaple here i have created directory named as user.
• Now i want to change the directory name user to
user1.
• So we have to use command as given bellow.
• Command:- mv user user1
• *Existing folder(directory name) :- user
• *New name:- user1
Before name changed :-
USER
After name changed :-
USER 1
Command:- cat > test
It will create a Text file with name “test”
By default it’s extension is .txt
If you want to make file with diffent extension then simply type
Command:- cat > test.c
It will create a file test with .c extension.
When you type command:- cat > test
Then you can write any message that you want to store in that file. You can write anything.
When you finishes your typing work then you have to press
“Ctrl+d”. then your typing will be stored.
Terminal Commands  (Linux - ubuntu) (part-1)
Command :- cat test
Till now we have created one file.
Now how to see what is written in that file.
First we will see our file is existing or not with help of command:- ls
Then we will open that file and we can read what ever is written in that file.
Simpley we have to write
Command:- cat file_name.
Here :- cat test.
Terminal Commands  (Linux - ubuntu) (part-1)
??Question??
 Now if we want to edit our existing file then what to do ?????
 Cool don’t worry we just need to type few command (hahaha).
 Command:- cat >> test
 After writing this we can edit our file.
 Now you can write whatever you want to write.
 When you finished the writing simply press “Ctrl+d”
 Now your information or your data will be stored.
 Then re-open file and see the changes.
Terminal Commands  (Linux - ubuntu) (part-1)
 As you can see in previous picture.
 Already we have created one file. (file_name= test)
 We run command:- cat >> test
 Then we write few thing than we press “Ctrl+d”
 Then we open our existing file with help of command:- cat
test
 We can see our file is now updated.
??Question??
Can we find the numbers of lines, words, characters in given text file???
 Answer is YES
 First we have to make one text file.
 In our case we already created one file. File name is ‘test’
 Now we will count
 Number of lines
 Number of Words
 Number of characters.
Command:- wc Filename
 Command :- wc test , will give total number of lines, words,
characters.
 Step 1: open the file :- cat test
 Step 2:
 write command:- wc -l test (It will count number of line)
 Step 3:
 write command:- wc -w test (It will count number of words)
 Step 4:
 write command:- wc -c test (It will count number of characters )
Here you can see wc -l test will give you number of lines,-w will give words,-c will give characters.
And you can notice wc test will give you same result.
In next PPT we will learn
• Copy file1 as file2
• Sorting of file
• permission of file in linux
• How to display system information
• Banner command
• Ln Command
• Compression of file
• How to uncompress compressed file
• How to open Compressed file
• Converting upper_case to lowwer
• Lower_case to Upper in existing file.
• And some basic commands
Terminal Commands  (Linux - ubuntu) (part-1)
Ad

More Related Content

What's hot (20)

Linux presentation
Linux presentationLinux presentation
Linux presentation
Nikhil Jain
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
kalyanineve
 
Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
Subashini Pandiarajan
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
Ramasubbu .P
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell script
Bhavesh Padharia
 
Linux commands
Linux commandsLinux commands
Linux commands
Balakumaran Arunachalam
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
Manav Prasad
 
File handling in Python
File handling in PythonFile handling in Python
File handling in Python
Megha V
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
 
Linux commands
Linux commandsLinux commands
Linux commands
Mannu Khani
 
Linux file system
Linux file systemLinux file system
Linux file system
Md. Tanvir Hossain
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
sbmguys
 
Linux
LinuxLinux
Linux
dwarfyray
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
ABhay Panchal
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
VIKAS TIWARI
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in Linux
SAMUEL OJO
 
Command-Line 101
Command-Line 101Command-Line 101
Command-Line 101
Artefactual Systems - AtoM
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
MohanKumar Palanichamy
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
Sagar Kumar
 
Linux distributions
Linux    distributionsLinux    distributions
Linux distributions
RJ Mehul Gadhiya
 

Viewers also liked (20)

Terminal commands ubuntu 2
Terminal commands ubuntu 2Terminal commands ubuntu 2
Terminal commands ubuntu 2
raj upadhyay
 
Ubuntu Terminal
Ubuntu TerminalUbuntu Terminal
Ubuntu Terminal
Cathy Woods
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
Sreenatha Reddy K R
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
University of Technology
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
 
Top 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsTop 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu Commands
Yusuf Felly
 
Useful linux-commands
Useful linux-commandsUseful linux-commands
Useful linux-commands
Himani Singh
 
Ubuntu tutorial slides
Ubuntu tutorial slidesUbuntu tutorial slides
Ubuntu tutorial slides
Trung Nguyen
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود
Ahmad Salameh
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفر
sis shiraviolet
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
 
Linux administration
Linux administrationLinux administration
Linux administration
Yogesh Ks
 
Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.
raj upadhyay
 
Installing hadoop on ubuntu 16
Installing hadoop on ubuntu 16Installing hadoop on ubuntu 16
Installing hadoop on ubuntu 16
Enrique Davila
 
Linux Internals - Part I
Linux Internals - Part ILinux Internals - Part I
Linux Internals - Part I
Emertxe Information Technologies Pvt Ltd
 
Ubuntu guia_do_iniciante
Ubuntu guia_do_inicianteUbuntu guia_do_iniciante
Ubuntu guia_do_iniciante
Eduardo Chaves Fernandes
 
كتاب الخرائط الذهنية لسور القرآن
كتاب الخرائط الذهنية لسور القرآنكتاب الخرائط الذهنية لسور القرآن
كتاب الخرائط الذهنية لسور القرآن
Yassin Balja
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
shravan saini
 
Linux Internals - Part III
Linux Internals - Part IIILinux Internals - Part III
Linux Internals - Part III
Emertxe Information Technologies Pvt Ltd
 
Linux System Administration Crash Course
Linux System Administration Crash CourseLinux System Administration Crash Course
Linux System Administration Crash Course
Jason Cannon
 
Terminal commands ubuntu 2
Terminal commands ubuntu 2Terminal commands ubuntu 2
Terminal commands ubuntu 2
raj upadhyay
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
Sreenatha Reddy K R
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
 
Top 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsTop 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu Commands
Yusuf Felly
 
Useful linux-commands
Useful linux-commandsUseful linux-commands
Useful linux-commands
Himani Singh
 
Ubuntu tutorial slides
Ubuntu tutorial slidesUbuntu tutorial slides
Ubuntu tutorial slides
Trung Nguyen
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود
Ahmad Salameh
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفر
sis shiraviolet
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
 
Linux administration
Linux administrationLinux administration
Linux administration
Yogesh Ks
 
Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.
raj upadhyay
 
Installing hadoop on ubuntu 16
Installing hadoop on ubuntu 16Installing hadoop on ubuntu 16
Installing hadoop on ubuntu 16
Enrique Davila
 
كتاب الخرائط الذهنية لسور القرآن
كتاب الخرائط الذهنية لسور القرآنكتاب الخرائط الذهنية لسور القرآن
كتاب الخرائط الذهنية لسور القرآن
Yassin Balja
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
shravan saini
 
Linux System Administration Crash Course
Linux System Administration Crash CourseLinux System Administration Crash Course
Linux System Administration Crash Course
Jason Cannon
 
Ad

Similar to Terminal Commands (Linux - ubuntu) (part-1) (20)

11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commands
Macinfosoft
 
Code tacoma command_line
Code tacoma command_lineCode tacoma command_line
Code tacoma command_line
Andrea Urban
 
Linux commands
Linux commandsLinux commands
Linux commands
Meenu Chopra
 
Unix_QT.ppsx
Unix_QT.ppsxUnix_QT.ppsx
Unix_QT.ppsx
vamsikrishna204239
 
Unix_QT.ppsx
Unix_QT.ppsxUnix_QT.ppsx
Unix_QT.ppsx
vamsikrishna204239
 
Linux Basics.pptx
Linux Basics.pptxLinux Basics.pptx
Linux Basics.pptx
RanjitKumarPanda5
 
Linux admin interview questions
Linux admin interview questionsLinux admin interview questions
Linux admin interview questions
Kavya Sri
 
Unix
UnixUnix
Unix
Thesis Scientist Private Limited
 
Linux
LinuxLinux
Linux
sravan kumar
 
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
KesavanT10
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
Sudharsan S
 
Linux basic
Linux basicLinux basic
Linux basic
Pragyagupta37
 
The structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsThe structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformatics
BITS
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
Er Mittinpreet Singh
 
60761 linux
60761 linux60761 linux
60761 linux
Ritika Ahlawat
 
Introduction to UNIX
Introduction to UNIXIntroduction to UNIX
Introduction to UNIX
Bioinformatics and Computational Biosciences Branch
 
Unix Basics 04sp
Unix Basics 04spUnix Basics 04sp
Unix Basics 04sp
Dr.Ravi
 
Assignment OS LAB 2022
Assignment OS LAB 2022Assignment OS LAB 2022
Assignment OS LAB 2022
INFOTAINMENTCHANNEL1
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.ppt
LuigysToro
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
Ad

More from raj upadhyay (10)

JavaScript Regular Expression Match
JavaScript Regular Expression MatchJavaScript Regular Expression Match
JavaScript Regular Expression Match
raj upadhyay
 
Basics of java (1)
Basics of java (1)Basics of java (1)
Basics of java (1)
raj upadhyay
 
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
raj upadhyay
 
Folder Can't Delete How to Remove FILES That Won't Delete?
 Folder Can't Delete How to Remove FILES That Won't Delete? Folder Can't Delete How to Remove FILES That Won't Delete?
Folder Can't Delete How to Remove FILES That Won't Delete?
raj upadhyay
 
Recovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash driveRecovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash drive
raj upadhyay
 
Tree Traversals (In-order, Pre-order and Post-order)
Tree Traversals (In-order, Pre-order and Post-order)Tree Traversals (In-order, Pre-order and Post-order)
Tree Traversals (In-order, Pre-order and Post-order)
raj upadhyay
 
Relational Algebra,Types of join
Relational Algebra,Types of joinRelational Algebra,Types of join
Relational Algebra,Types of join
raj upadhyay
 
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMSPL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
raj upadhyay
 
How to get notification from google group
How to get notification from google groupHow to get notification from google group
How to get notification from google group
raj upadhyay
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
raj upadhyay
 
JavaScript Regular Expression Match
JavaScript Regular Expression MatchJavaScript Regular Expression Match
JavaScript Regular Expression Match
raj upadhyay
 
Basics of java (1)
Basics of java (1)Basics of java (1)
Basics of java (1)
raj upadhyay
 
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
raj upadhyay
 
Folder Can't Delete How to Remove FILES That Won't Delete?
 Folder Can't Delete How to Remove FILES That Won't Delete? Folder Can't Delete How to Remove FILES That Won't Delete?
Folder Can't Delete How to Remove FILES That Won't Delete?
raj upadhyay
 
Recovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash driveRecovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash drive
raj upadhyay
 
Tree Traversals (In-order, Pre-order and Post-order)
Tree Traversals (In-order, Pre-order and Post-order)Tree Traversals (In-order, Pre-order and Post-order)
Tree Traversals (In-order, Pre-order and Post-order)
raj upadhyay
 
Relational Algebra,Types of join
Relational Algebra,Types of joinRelational Algebra,Types of join
Relational Algebra,Types of join
raj upadhyay
 
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMSPL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
raj upadhyay
 
How to get notification from google group
How to get notification from google groupHow to get notification from google group
How to get notification from google group
raj upadhyay
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
raj upadhyay
 

Recently uploaded (20)

Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025
Phil Eaton
 
Serato DJ Pro Crack Latest Version 2025??
Serato DJ Pro Crack Latest Version 2025??Serato DJ Pro Crack Latest Version 2025??
Serato DJ Pro Crack Latest Version 2025??
Web Designer
 
AI in Business Software: Smarter Systems or Hidden Risks?
AI in Business Software: Smarter Systems or Hidden Risks?AI in Business Software: Smarter Systems or Hidden Risks?
AI in Business Software: Smarter Systems or Hidden Risks?
Amara Nielson
 
Download MathType Crack Version 2025???
Download MathType Crack  Version 2025???Download MathType Crack  Version 2025???
Download MathType Crack Version 2025???
Google
 
Wilcom Embroidery Studio Crack Free Latest 2025
Wilcom Embroidery Studio Crack Free Latest 2025Wilcom Embroidery Studio Crack Free Latest 2025
Wilcom Embroidery Studio Crack Free Latest 2025
Web Designer
 
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdfProtect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
株式会社クライム
 
Passive House Canada Conference 2025 Presentation [Final]_v4.ppt
Passive House Canada Conference 2025 Presentation [Final]_v4.pptPassive House Canada Conference 2025 Presentation [Final]_v4.ppt
Passive House Canada Conference 2025 Presentation [Final]_v4.ppt
IES VE
 
Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025
GrapesTech Solutions
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
Gojek Clone App for Multi-Service Business
Gojek Clone App for Multi-Service BusinessGojek Clone App for Multi-Service Business
Gojek Clone App for Multi-Service Business
XongoLab Technologies LLP
 
Beyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraftBeyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraft
Dmitrii Ivanov
 
Robotic Process Automation (RPA) Software Development Services.pptx
Robotic Process Automation (RPA) Software Development Services.pptxRobotic Process Automation (RPA) Software Development Services.pptx
Robotic Process Automation (RPA) Software Development Services.pptx
julia smits
 
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
Meet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Meet the New Kid in the Sandbox - Integrating Visualization with PrometheusMeet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Meet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Eric D. Schabell
 
Tools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google CertificateTools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google Certificate
VICTOR MAESTRE RAMIREZ
 
GDS SYSTEM | GLOBAL DISTRIBUTION SYSTEM
GDS SYSTEM | GLOBAL  DISTRIBUTION SYSTEMGDS SYSTEM | GLOBAL  DISTRIBUTION SYSTEM
GDS SYSTEM | GLOBAL DISTRIBUTION SYSTEM
philipnathen82
 
Exchange Migration Tool- Shoviv Software
Exchange Migration Tool- Shoviv SoftwareExchange Migration Tool- Shoviv Software
Exchange Migration Tool- Shoviv Software
Shoviv Software
 
wAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptxwAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptx
SimonedeGijt
 
Programs as Values - Write code and don't get lost
Programs as Values - Write code and don't get lostPrograms as Values - Write code and don't get lost
Programs as Values - Write code and don't get lost
Pierangelo Cecchetto
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 
Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025
Phil Eaton
 
Serato DJ Pro Crack Latest Version 2025??
Serato DJ Pro Crack Latest Version 2025??Serato DJ Pro Crack Latest Version 2025??
Serato DJ Pro Crack Latest Version 2025??
Web Designer
 
AI in Business Software: Smarter Systems or Hidden Risks?
AI in Business Software: Smarter Systems or Hidden Risks?AI in Business Software: Smarter Systems or Hidden Risks?
AI in Business Software: Smarter Systems or Hidden Risks?
Amara Nielson
 
Download MathType Crack Version 2025???
Download MathType Crack  Version 2025???Download MathType Crack  Version 2025???
Download MathType Crack Version 2025???
Google
 
Wilcom Embroidery Studio Crack Free Latest 2025
Wilcom Embroidery Studio Crack Free Latest 2025Wilcom Embroidery Studio Crack Free Latest 2025
Wilcom Embroidery Studio Crack Free Latest 2025
Web Designer
 
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdfProtect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
Protect HPE VM Essentials using Veeam Agents-a50012338enw.pdf
株式会社クライム
 
Passive House Canada Conference 2025 Presentation [Final]_v4.ppt
Passive House Canada Conference 2025 Presentation [Final]_v4.pptPassive House Canada Conference 2025 Presentation [Final]_v4.ppt
Passive House Canada Conference 2025 Presentation [Final]_v4.ppt
IES VE
 
Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025
GrapesTech Solutions
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
Beyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraftBeyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraft
Dmitrii Ivanov
 
Robotic Process Automation (RPA) Software Development Services.pptx
Robotic Process Automation (RPA) Software Development Services.pptxRobotic Process Automation (RPA) Software Development Services.pptx
Robotic Process Automation (RPA) Software Development Services.pptx
julia smits
 
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
Meet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Meet the New Kid in the Sandbox - Integrating Visualization with PrometheusMeet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Meet the New Kid in the Sandbox - Integrating Visualization with Prometheus
Eric D. Schabell
 
Tools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google CertificateTools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google Certificate
VICTOR MAESTRE RAMIREZ
 
GDS SYSTEM | GLOBAL DISTRIBUTION SYSTEM
GDS SYSTEM | GLOBAL  DISTRIBUTION SYSTEMGDS SYSTEM | GLOBAL  DISTRIBUTION SYSTEM
GDS SYSTEM | GLOBAL DISTRIBUTION SYSTEM
philipnathen82
 
Exchange Migration Tool- Shoviv Software
Exchange Migration Tool- Shoviv SoftwareExchange Migration Tool- Shoviv Software
Exchange Migration Tool- Shoviv Software
Shoviv Software
 
wAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptxwAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptx
SimonedeGijt
 
Programs as Values - Write code and don't get lost
Programs as Values - Write code and don't get lostPrograms as Values - Write code and don't get lost
Programs as Values - Write code and don't get lost
Pierangelo Cecchetto
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 

Terminal Commands (Linux - ubuntu) (part-1)

  • 3. What is a terminal on a computer? computer terminal, a device that enables a computer to receive or deliver data. Computer terminals vary greatly depending on the format of the data they handle. For example, a simple early terminal comprised a typewriter keyboard for input and a typewriter printing element for alphanumeric output.
  • 4. Why use the terminal? "Under Linux there are GUIs (graphical user interfaces), where you can point and click and drag, and hopefully get work done without first reading lots of documentation. The traditional Unix environment is a CLI (command line interface), where you type commands to tell the computer what to do. That is faster and more powerful, but requires finding out what the commands are."
  • 6. The Linux commands are case-sensitive It is important to remember that everything written in the terminal is case-sensitive. When the command is "sudo", neither "Sudo", "SUDO", nor "sUdO" will work.
  • 7. Beware of spaces Spacing is equally important. "chown-R" will only return an error. If we want to create/access/delete a file or directory that has a space in the filename, we can either put the whole filename inside quotation marks or "escape" the space using the backslash "".
  • 8. Finding previous Linux commands Pressing the Up keyboard key will cycle through the last Linux commands we successfully used, in order. No failed commands will show here.
  • 9. The invisible password When we are asked for our password, e.g. after we used "sudo", as we type the password nothing will show on screen, no stars or dots or anything. We just type the password and press Enter.
  • 11. Command:- pwd • pwd stands for "present working directory". • The current directory, also known as the working directory, is where you are. In the Finder, this is equivalent to having a window open and viewing the files. To determine the current directory, type in: pwd
  • 12. Command : ls  list files and directories .
  • 13. Command:- mkdir directory name  create a new directory.  Here for example we create directory name as user so for that we have to use command:- mkdir user   
  • 14.  Now let us see our new directory is created or not.  Use command:- ls  You can see we created new directory. One directory is created
  • 15. ?? Question ?? Can we make multiple folder within one second??? Like we want to create folder user1,user2,user3.....user10. it’s possible???? In GUI(graphical user interface) it’s also not possible to create 100 or even more folder within ONE second!!!!!!! This work can be done using TERMINAL. Now we will create 10 folders in one second!
  • 16. Command :- mkdir user{1..10} As you can see we created 10 folder/directory within one second. Just type command:- mkdir directory_name {starting value (1) .. ending value(10)} You can see 10 directory is created
  • 17. Command:- rmdir directory_name  Delete a existing directory.  Here for example we have to delete user directory then we have to use command:- rmdir user
  • 18.  Now let us see our user directory is deleted or not.  Use command:- ls  You can see we have deleted user directory. Before deleting after deleting
  • 19. Command:- mv existing(directory)_name new_name • Exmaple here i have created directory named as user. • Now i want to change the directory name user to user1. • So we have to use command as given bellow. • Command:- mv user user1 • *Existing folder(directory name) :- user • *New name:- user1
  • 20. Before name changed :- USER After name changed :- USER 1
  • 21. Command:- cat > test It will create a Text file with name “test” By default it’s extension is .txt If you want to make file with diffent extension then simply type Command:- cat > test.c It will create a file test with .c extension. When you type command:- cat > test Then you can write any message that you want to store in that file. You can write anything. When you finishes your typing work then you have to press “Ctrl+d”. then your typing will be stored.
  • 23. Command :- cat test Till now we have created one file. Now how to see what is written in that file. First we will see our file is existing or not with help of command:- ls Then we will open that file and we can read what ever is written in that file. Simpley we have to write Command:- cat file_name. Here :- cat test.
  • 25. ??Question??  Now if we want to edit our existing file then what to do ?????  Cool don’t worry we just need to type few command (hahaha).  Command:- cat >> test  After writing this we can edit our file.  Now you can write whatever you want to write.  When you finished the writing simply press “Ctrl+d”  Now your information or your data will be stored.  Then re-open file and see the changes.
  • 27.  As you can see in previous picture.  Already we have created one file. (file_name= test)  We run command:- cat >> test  Then we write few thing than we press “Ctrl+d”  Then we open our existing file with help of command:- cat test  We can see our file is now updated.
  • 28. ??Question?? Can we find the numbers of lines, words, characters in given text file???  Answer is YES  First we have to make one text file.  In our case we already created one file. File name is ‘test’  Now we will count  Number of lines  Number of Words  Number of characters.
  • 29. Command:- wc Filename  Command :- wc test , will give total number of lines, words, characters.  Step 1: open the file :- cat test  Step 2:  write command:- wc -l test (It will count number of line)  Step 3:  write command:- wc -w test (It will count number of words)  Step 4:  write command:- wc -c test (It will count number of characters )
  • 30. Here you can see wc -l test will give you number of lines,-w will give words,-c will give characters. And you can notice wc test will give you same result.
  • 31. In next PPT we will learn • Copy file1 as file2 • Sorting of file • permission of file in linux • How to display system information • Banner command • Ln Command • Compression of file • How to uncompress compressed file • How to open Compressed file • Converting upper_case to lowwer • Lower_case to Upper in existing file. • And some basic commands
  翻译: