3 Flashcards
(7 cards)
function of shell in Linux
acts as a bridge between the user and the operating system. It takes commands you type, interprets them, and tells the system what to do.
Examples of shells: bash, zsh, sh.
Determine the possible problem occur if the user type a command and the result
yield as ‘Command not found’ ‘.
Typo in the command
Command not installed
Wrong path
Permission issue
advantage of file system
Precision – Organizes files clearly and accurately.
Speed – Allows fast access and retrieval of files.
Utilities – Provides tools for managing and protecting files.
difference between CLI and GUI
Interface
CLI: Text-based
GUI: Visual (windows, icons, buttons)
Speed
CLI: Faster for experts
GUI: Slower but user-friendly
Control
CLI: More powerful and flexible
GUI: Limited to available options
Relative Path
shows the location of a file or folder starting from the current directory.
Absolute Path
shows the full location of a file or folder starting from the root directory (/)
how to copy file and folder?
file
cp
cp -v (verbose)
folder
cp -r
cp -rv (verbose)