Introduction to Linux System and File Management

Introduction to Linux System and File Management
Slide Note
Embed
Share

This content covers various aspects of Linux, including its origins, usage, file system structure, permissions, and directory management. It explores topics such as the Linux operating system, user permissions, file attributes, directory structure, absolute and relative paths, and graphical user interfaces. By delving into these fundamental concepts, users can gain a comprehensive understanding of Linux systems and how to effectively manage files and directories.

  • Linux System
  • File Management
  • Permissions
  • Directory Structure
  • Graphical Interface

Uploaded on Apr 13, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Linux Seminar by noname

  2. System SW Manage HW resources Provide a platform for applications Windows, Linux, Mac OS , iOS, Android, DOS, Operating System?

  3. OS Made by Linus Torvalds Inspired by Unix Debian, CentOS, Ubuntu, Fedora, Redhat Linux, Gentoo, Arch, Suse, Slackware, Mandriva, PintOS, Linux?

  4. Custom Free (in some sense) Open source Supports multiple users Has compatibility with Unix-like OSs Why do we use Linux?

  5. Normal users Root Sudoers In SPARCS? presparcs group sparcs group wheel group User & Group

  6. Actually, both of them are files Directory contains files If filename starts with . Hidden . .. File & Directory

  7. File Directory See the list of files in the directory Read Read the file Create the file, Delete the file, or Rename the file in the directory Write Write to the file eXecute Execute the file Get into the directory Permission

  8. Three permission levels for each file Owner(User) Owner(Group) Others Slice it! rwxrwxrwx r-xr--rw- Permission

  9. Tree structure / /home /home/noname /etc /root /bin ~/ ~noname/ ~/public_html/ Directory Structure

  10. Absolute path /usr/bin/python /usr/local/lib/python2.6/dist-packages/django/ Relative path public_html/crazy.png Working directory Path

  11. GUI Gnome, KDE, CUI Terminal Interface

  12. Some kind of command line on terminal Interacts with users bash, sh, tcsh, ash, zsh, rc, bashrc Shell

  13. Secure Shell Protocol (in some cases, a program) Default port number for ssh is 22 Opens terminal ssh

  14. Program Supports connection via ssh/telnet Simple & Easy, but convenient Google putty or http://www.chiark.greenend.org.uk/~sgtatham/putty/ Putty

  15. Putty

  16. Putty

  17. Putty

  18. Basic Format [command] [arg1] [arg2] Commands

  19. ls ls [path] ls a ls l ls al ls a l ls -lh cd cd [path] Commands

  20. pwd rm [path] rm f [path] rm r [path] rm rf [path] rm rf / Commands

  21. mkdir [path] rmdir [path] cat [path1] [path2] cat n [path1] [path2] Commands

  22. cp [source1] [source2] [source3] [destination] cp -r [source1] [source2] [source3] [destination] mv [source1] [source2] [source3] [destination] Commands

  23. more [path] less [path] less > more Commands

  24. passwd passwd [username] ps ps aux top Commands

  25. wget [URL] ssh sparcs.org ssh noname@sparcs.org scp noname@sparcs.org:~/public_html/siva.png ./kill/ scp r ./kill/ root@bit.sparcs.org:~/ Commands

  26. wc [path1] [path2] grep [word] [path] grep .txt grep R [word] [path] egrep Commands

  27. chmod 744 [path] chmod 512 [path] chmod R 777 [path] Commands

  28. tar zxvf [path] tar zcvf [destination] [path1] [path2] tar xvf [path] tar cvf [destination] [path1] [path2] Commands

  29. df df -h kill [pid] Commands

  30. man [command] Commands

  31. E way edo jonna manayo ln, chown, su, sudo, fg, bg, jobs, echo, export, killall, skill, nohup, shutdown, reboot, wall, yes, chsh, man, apropos, umask, chroot, clear, Commands

  32. ? for one character * for undecided number of characters It works for all matching files Wildcard Character

  33. [command1] | [command2] | [command3] | ls al | egrep ^d ls al | egrep ^d | wc [command] > [path] [command] < [path] [command] >> [path] [command] 2> [path] Pipe & Redirection

  34. !foobar Ctrl + r Ctrl + d Ctrl + l Ctrl + a Ctrl + e Ctrl + u Ctrl + c Ctrl + z Ctrl + \ Techniques

  35. Mouse drag Mouse right click Duplicate Session Change Settings Special Command Putty Techniques

  36. setuid, setgid, sticky bit, environment varilables, signal, Etc..

More Related Content