LinuxZoo Flashcards
The directory where you are in at the moment, also known as your working directory; may be referred to as . (dot)
Current Directory
The directory in which the Unix system places you at login is called ___, also may be referred to as ~ (tilde).
Home Directory
The directory above the current directory in the naming tree, which may be referred to as .. (double dot)
Parent Directory
There are three different levels of file permission
r - read: allows users to read the contents of a file
w - write: allows users to change the contents of a file
x - execute: signifies a program or script file and allows users to run the file
File permissions can be set for three different levels of ownership
u - user: the user who created the file is its owner
g - group: group to which you are assigned, usually made up of those users engaged in similar activities, and who need to share file among themselves
o - others: all other users on the system
As the leading character to a file, the possibilities include
- means a normal file
d means directory
c means a character device (mouse, keyboard)
b means block device (ide disk, scsi disk)
File permission values for any digit related to owner, group, or other are derived from adding the value of the permissions from the following list
0 - no permission (-)
1 - execute permission only (x)
2 - write permission only (w)
4 - read permission only (r)
Display manual pages on a command
man
Display a month-long calendar
cal (input as ‘m yyyy’ or just yyyy)
Display the current date
date
Use this command for the home directory of a particular user
~name of the user
e.g. ~root, ~john, ~demo