test1 Flashcards
o uname
system type
o hostname
host name
o whoami
current login
o date
shows current date AND time. The time function does not show time. You use date
o chfn
used to change system details
o passwd
used to change your password
o man
used to get help with Linux commands. Format usage: man {command_name}
o ls
lists the directory of files. (All commands are case sensitive!!)
ls – l
gives expanded information about files, including security
ls -F
provides hints about the type of file
ls -lF
provides expanded information about files and directories, as well as info on the types of files
o cd
command used to move around
.
is current directory
..
is the directory above the current
~
represents the user’s home directory
o mkdir
creates a directory
o rmdir
removes directory (has to be empty first)
o cp
to copy files
o rm
to remove files
o mv
to move files (combines the cp and rm commands)
r
read
w
write
x
execute
o chmod
to change file rights