Linux Flashcards
how do you determine which shell is currently in use on your system?
echo $SHELL
how can you change the shell that you’re using?
chsh –help
when using the ls command how can you get an even more detailed list of files?
the -la command. the a will show all hidden files.
what does the touch command do?
it can create a new empty file
what does dark blue text mean?
folders and directories
what does light blue text mean?
linked files
what does white text mean?
a regular file, so for example a text file, word document or PDF.
what does green text mean?
a sticky directory
how can you list out files starting with a specific letter?
type the letter and then a star following it. for example: b*
how can you get linux to show you one page at a time of info?
|more
what will the df command show you?
free space, file system, total size, space used, % used, mount point
what will the du command show?
the disk usage and how the device is used
what is a command you can use to edit text?
nano
how can you exit out of nano?
ctrl x
what is vi?
a visual editor and a way to edit text in unix systems.