Linux File Mangement Flashcards
(158 cards)
Which Linux command displays the current working directory?
pwd (print working directory) – The pwd command is used to display the name of the current working directory in the Linux system using the terminal.
Which Linux command displays a listing of all files and subdirectories in the current directory?
ls command - list files or directories in Linux and other Unix-based operating systems. Just like you navigate in your File explorer or Finder with a GUI, the ls command allows you to list all files or directories in the current directory by default, and further interact with them via the command line.
Which Linux command navigates between directories?
The cd (change directory) command moves you into a different directory. To move out of that directory, use cd along with the path to some other location, or use double dots to backtrack, or return home to navigate from there.
Which Linux commands copy and move data?
cp command
Which Linux command deletes data?
The rm command removes the entries for a specified file, group of files, or certain select files from a list within a directory. User confirmation, read permission, and write permission are not required before a file is removed when you use the rm command.
Which Linux command can you use to view the contents of files?
cat command
Which Linux command can you use to edit a text file?
vim command
Which Linux commands manage file and folder ownership and permissions?
chmod u represents permissions for the user owner, chmod g represents other users in the file’s group, chmod o represents other users not in the file’s group. For all users, use chmod a . Maybe you want to change the user owner itself. You can do that with the chown command.
man utility_name
A utility used at the shell prompt to view the syntax along with the options that can be used.
A system that organizes a computer’s files on a hard drive.
File system
One of the oldest Linux file systems.
Second Extended Filesystem (ext2)
The fourth-generation file system in the ext file system family.
Fourth Extended Filesystem (ext4)
Network File System (NFS)
A distributed file system used for file sharing on Unix and Linux.
A file system used for virtual memory.
swap
A FAT32 file system for Linux.
Virtual File Allocation Table (VFAT)
High performing and flexible file system.
Extended File System (XFS)
A Linux file system with copy-on-write functions. Sometimes referred to as butter FS or better FS.
B Tree File System (Btrfs)
Linux
open-source operating system
distribution
create your own custom version of Linux
popular Linux distributions
openSUSE, Fedora, and Ubuntu
where you can click on things with a mouse and make selections to bring up applications.
graphical interface
(known as shell) allows you to enter commands at the shell prompt to manage the system. The shell is often referred to as the bash (Bourne-again shell) shell
command line interface
most common shells names
csh, zsh, and bash
root user (linux)
superuser (linux)