Day4 ubuntu boot camp
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Day4 ubuntu boot camp

on

  • 344 views

Ubuntu Boot Camp which Darlene facilitated at Costech (Commission for Science & Technology) in Dar Es Salaam Tanzania. We had a full house of enthusiastic users looking for hands on knowledge of ...

Ubuntu Boot Camp which Darlene facilitated at Costech (Commission for Science & Technology) in Dar Es Salaam Tanzania. We had a full house of enthusiastic users looking for hands on knowledge of Ubuntu & Open Source

Statistics

Views

Total Views
344
Views on SlideShare
344
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Day4 ubuntu boot camp Presentation Transcript

  • 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
  • 15. Thank you !