SlideShare a Scribd company logo
Ubuntu Boot Camp 2013
The Freedom Is Yours!!
Ubuntu Boot Camp 2013
The Unity Desktop

Unity Desktop – Ubuntu Tweaks
Ubuntu Tweak: Is an application to configure Ubuntu that provides
many useful desktop & system options that the default Desktop
environment does not provide. http://ubuntu-tweak.com/
Ubuntu Boot Camp 2013
Using the Command Line -Tips & Tricks

Every command in Linux has a man (manual) page or help menu



man ls will bring up a manual which lists all the switches you can add to the command
To exit the manual, hit the 'q' key



mv –help will also give you more information


Ubuntu Boot Camp 2013
Basic Commands

1. Create a text file with gedit
2. Type in the following...this is my first command line exercise in Ubuntu
3. Save it to your desktop & name practice.txt
We will use this file to practice our commands today
ls: Lists the files in the current directory.
EG: ls
You can type ls -l to see all the file information including permissions and owner
EG: ls -l /var/cache/apt/archives
less: allows you to view/display a file contents
EG: less ~/Desktop/practice.txt
gedit: opens the text editor like notepad, so you may modify files.
EG: gedit ~/Desktop/practice.txt (now add another line of text then save)
Ubuntu Boot Camp 2013
Basic Commands

pwd: shows the current working directory
cd: Allows user to change directories. When opening a terminal, a user will be in their
home directory. As a shortcut , substitute ~ in place of the home directory eg:
home/user1/Desktop is the same as ~/Desktop
mv: Moves a file to a different location or renames a file.
EG: mv ~/Desktop/practice.txt ~/Documents/practice.txt
EG: mv ~/Documents/practice.txt ~/Desktop/practice2.txt
cp: Makes a copy of a file
EG: cp ~/Desktop/practice2.txt ~/Documents
mkdir: Allows user to create directories (folders)
EG: mkdir ~/test
Ubuntu Boot Camp 2013
Basic Commands

rm: Removes or deletes a file or an empty directory
EG: rm ~/Desktop/practice.txt (it does not work on directories that contain files)
If the directory contains files you must add -R ( recursively)
EG: rm -R ~/test
Ubuntu Boot Camp 2013
Basic Commands – User Management

adduser: Creates a new user
EG: sudo adduser user1
deluser: Removes a user from the system. To remove the user’s files and home directory,
add the -remove-home option
EG: sudo deluser -remove-home
Ubuntu Boot Camp 2013
Basic Commands – User Management

addgroup: Creates a new group on the system
EG: sudo addgroup teachers
delgroup: Removes a group from the system. Note: you cannot remove a group that is the
primary group of any users
EG: sudo delgroup
Ubuntu Boot Camp 2013
Basic Commands – User Management

Alternatively, you may use the GUI or graphical interface to add users as well. Search
Dash for Users...then unlock with your sudo password
Ubuntu Boot Camp 2013
Basic Commands – User Management

Alternatively, you may use the GUI or graphical interface to add users as well. Search
Dash for Users...then unlock with your sudo password
Ubuntu Boot Camp 2013
Basic Commands – User Management

passwd: Changes the user’s password. If run by a regular user, it will change his or her
password. If run using sudo, any user’s password can be changed.
EG: sudo passwd user1
Setting passwd for root account in Ubuntu:
As discussed, the root account is not activated by default in Ubuntu, in both the desktop
and server versions. Make it secure and not the same as sudo!!! ( !nt4u2c~ )
EG sudo passwd root
Now you will be able to enter and use recovery mode if needed, selecting either the net
root option (if you have internet connection) or root
Ubuntu Boot Camp 2013
Basic Commands – File Ownership

chown: Changes the user and group ownerships of a file
EG: sudo chown user1 ~/Documents/practice2.txt

Change the group ownership of a file
EG: sudo chown user1.teachers ~/Documents/practice2.txt
Ubuntu Boot Camp 2013
Basic Commands-File Permissions

chmod: Changes the permissions on a file or folder
EG: chmod 664 ~/Documents/test/practice2.txt
Ubuntu Boot Camp 2013
Basic Commands - Additional

lsusb: Shows a list of USB devices attached to your system

lspci: Shows a list of PCI devices installed on the system
Ifconfig: Displays all present network adaptors, the MAC addresses and
IP's
Thank you !

More Related Content

What's hot (19)

PDF
Introduction to Ubuntu
Czarli Evangelista
 
PPTX
Sudo & su commands
Meenu Chopra
 
PPTX
Ubuntu desktop
Gehrai
 
PDF
Ubuntu – Linux Useful Commands
University of Technology
 
ODP
Public software ubuntu (shreenivas)
KarnatakaOER
 
PDF
Ubuntu OS Presentation
Loren Schwappach
 
PDF
Get to know linux - First steps with Ubuntu
Maja Kraljič
 
PDF
2.Accessing the Pi
Mayank Joneja
 
PPT
Ubuntu for extreme beginners
International Institute of Tropical Agriculture
 
PPT
Hardware
karan saini
 
PPT
How ubuntu works???
Nirma University
 
PDF
How To Setup NVIDIA CUDA Drvier on Ubuntu
SEUNGWOO LEE
 
PPTX
Operating System
joygracia
 
PPTX
Windows xp™
Kamitoh
 
PPTX
Ubuntu File System
Bhagyesh Patel
 
PDF
Introduction to Ubuntu
Khairul Aizat Kamarudzzaman
 
PPT
Xampp
chandru671988
 
PPT
How to build and load linux to embedded system
Игорь Медведев
 
Introduction to Ubuntu
Czarli Evangelista
 
Sudo & su commands
Meenu Chopra
 
Ubuntu desktop
Gehrai
 
Ubuntu – Linux Useful Commands
University of Technology
 
Public software ubuntu (shreenivas)
KarnatakaOER
 
Ubuntu OS Presentation
Loren Schwappach
 
Get to know linux - First steps with Ubuntu
Maja Kraljič
 
2.Accessing the Pi
Mayank Joneja
 
Hardware
karan saini
 
How ubuntu works???
Nirma University
 
How To Setup NVIDIA CUDA Drvier on Ubuntu
SEUNGWOO LEE
 
Operating System
joygracia
 
Windows xp™
Kamitoh
 
Ubuntu File System
Bhagyesh Patel
 
Introduction to Ubuntu
Khairul Aizat Kamarudzzaman
 
How to build and load linux to embedded system
Игорь Медведев
 

Similar to Day4 ubuntu boot camp (20)

PPTX
Linux+Command+Line+&+Shell+Scripting+Masterclass+-+Final.pptx
newscribduserly
 
PPT
Common linux ubuntu commands overview
Ameer Sameer
 
PPTX
05. Ubuntu Terminal Commands.pptx
DIVKAGAMESTERBAIK
 
PDF
Ubuntu Practice and Configuration
Manoj Sahu
 
PDF
Basics Ubuntu commands
Prabath Jayawardena
 
PDF
Lesson 1 Linux System Fundamentals
Sadia Bashir
 
PPTX
Introduction to linux day-3
Gourav Varma
 
ODP
Ubuntu for beginners
Chantal Meersman
 
PDF
Basic Command
Sira Nokyoongtong
 
PPT
Sls01 Lecture02 Linux In Practice
Qasim Khawaja
 
PDF
User Management Command Cheat Sheet.pdf
LinuxTeck
 
ODP
Basic Cli By M Fawzy
Mahmoud Fawzy
 
PPT
Learning Linux v2.1
sdiviney
 
PPTX
7 - User Administration in Red Hat
Shafaan Khaliq Bhatti
 
PPTX
Introduction to linux2
Gourav Varma
 
PPTX
Linux basics part 1
Lilesh Pathe
 
PPTX
Introduction to linux day1
UtpalenduChakrobortt1
 
PDF
Clase4 (consola linux)
Miguel Eduardo Luces
 
PPTX
Linux Commands.pptx
MuhammadYasirKhan42
 
Linux+Command+Line+&+Shell+Scripting+Masterclass+-+Final.pptx
newscribduserly
 
Common linux ubuntu commands overview
Ameer Sameer
 
05. Ubuntu Terminal Commands.pptx
DIVKAGAMESTERBAIK
 
Ubuntu Practice and Configuration
Manoj Sahu
 
Basics Ubuntu commands
Prabath Jayawardena
 
Lesson 1 Linux System Fundamentals
Sadia Bashir
 
Introduction to linux day-3
Gourav Varma
 
Ubuntu for beginners
Chantal Meersman
 
Basic Command
Sira Nokyoongtong
 
Sls01 Lecture02 Linux In Practice
Qasim Khawaja
 
User Management Command Cheat Sheet.pdf
LinuxTeck
 
Basic Cli By M Fawzy
Mahmoud Fawzy
 
Learning Linux v2.1
sdiviney
 
7 - User Administration in Red Hat
Shafaan Khaliq Bhatti
 
Introduction to linux2
Gourav Varma
 
Linux basics part 1
Lilesh Pathe
 
Introduction to linux day1
UtpalenduChakrobortt1
 
Clase4 (consola linux)
Miguel Eduardo Luces
 
Linux Commands.pptx
MuhammadYasirKhan42
 
Ad

Recently uploaded (20)

DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
Essential Content-centric Plugins for your Website
Laura Byrne
 
PDF
Home Cleaning App Development Services.pdf
V3cube
 
PDF
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Essential Content-centric Plugins for your Website
Laura Byrne
 
Home Cleaning App Development Services.pdf
V3cube
 
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Ad

Day4 ubuntu boot camp

  • 1. Ubuntu Boot Camp 2013 The Freedom Is Yours!!
  • 2. Ubuntu Boot Camp 2013 The Unity Desktop Unity Desktop – Ubuntu Tweaks Ubuntu Tweak: Is an application to configure Ubuntu that provides many useful desktop & system options that the default Desktop environment does not provide. http://ubuntu-tweak.com/
  • 3. Ubuntu Boot Camp 2013 Using the Command Line -Tips & Tricks Every command in Linux has a man (manual) page or help menu  man ls will bring up a manual which lists all the switches you can add to the command To exit the manual, hit the 'q' key  mv –help will also give you more information 
  • 4. Ubuntu Boot Camp 2013 Basic Commands 1. Create a text file with gedit 2. Type in the following...this is my first command line exercise in Ubuntu 3. Save it to your desktop & name practice.txt We will use this file to practice our commands today ls: Lists the files in the current directory. EG: ls You can type ls -l to see all the file information including permissions and owner EG: ls -l /var/cache/apt/archives less: allows you to view/display a file contents EG: less ~/Desktop/practice.txt gedit: opens the text editor like notepad, so you may modify files. EG: gedit ~/Desktop/practice.txt (now add another line of text then save)
  • 5. Ubuntu Boot Camp 2013 Basic Commands pwd: shows the current working directory cd: Allows user to change directories. When opening a terminal, a user will be in their home directory. As a shortcut , substitute ~ in place of the home directory eg: home/user1/Desktop is the same as ~/Desktop mv: Moves a file to a different location or renames a file. EG: mv ~/Desktop/practice.txt ~/Documents/practice.txt EG: mv ~/Documents/practice.txt ~/Desktop/practice2.txt cp: Makes a copy of a file EG: cp ~/Desktop/practice2.txt ~/Documents mkdir: Allows user to create directories (folders) EG: mkdir ~/test
  • 6. Ubuntu Boot Camp 2013 Basic Commands rm: Removes or deletes a file or an empty directory EG: rm ~/Desktop/practice.txt (it does not work on directories that contain files) If the directory contains files you must add -R ( recursively) EG: rm -R ~/test
  • 7. Ubuntu Boot Camp 2013 Basic Commands – User Management adduser: Creates a new user EG: sudo adduser user1 deluser: Removes a user from the system. To remove the user’s files and home directory, add the -remove-home option EG: sudo deluser -remove-home
  • 8. Ubuntu Boot Camp 2013 Basic Commands – User Management addgroup: Creates a new group on the system EG: sudo addgroup teachers delgroup: Removes a group from the system. Note: you cannot remove a group that is the primary group of any users EG: sudo delgroup
  • 9. Ubuntu Boot Camp 2013 Basic Commands – User Management Alternatively, you may use the GUI or graphical interface to add users as well. Search Dash for Users...then unlock with your sudo password
  • 10. Ubuntu Boot Camp 2013 Basic Commands – User Management Alternatively, you may use the GUI or graphical interface to add users as well. Search Dash for Users...then unlock with your sudo password
  • 11. Ubuntu Boot Camp 2013 Basic Commands – User Management passwd: Changes the user’s password. If run by a regular user, it will change his or her password. If run using sudo, any user’s password can be changed. EG: sudo passwd user1 Setting passwd for root account in Ubuntu: As discussed, the root account is not activated by default in Ubuntu, in both the desktop and server versions. Make it secure and not the same as sudo!!! ( !nt4u2c~ ) EG sudo passwd root Now you will be able to enter and use recovery mode if needed, selecting either the net root option (if you have internet connection) or root
  • 12. Ubuntu Boot Camp 2013 Basic Commands – File Ownership chown: Changes the user and group ownerships of a file EG: sudo chown user1 ~/Documents/practice2.txt Change the group ownership of a file EG: sudo chown user1.teachers ~/Documents/practice2.txt
  • 13. Ubuntu Boot Camp 2013 Basic Commands-File Permissions chmod: Changes the permissions on a file or folder EG: chmod 664 ~/Documents/test/practice2.txt
  • 14. Ubuntu Boot Camp 2013 Basic Commands - Additional lsusb: Shows a list of USB devices attached to your system lspci: Shows a list of PCI devices installed on the system Ifconfig: Displays all present network adaptors, the MAC addresses and IP's