1/30
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
cd
change directory to specified path
pwd
print current working directory
mkdir
create new directory
ls
lists files and directories
grep
used to search for specific patterns or regular expressions in text files or streams and display matching lines.
man
displays user manual for given command or topic
apropos
searches ‘name‘ in all manual pages for a specified keyword
ps
Display running processes
kill
terminate process
top
Monitor system processes in real-time
less
allows viewing text files page-by-page
more
allows viewing text files screen-by-screen
chmod
Change file permissions
cp
copy files and directories
mv
move or rename files or directories
rm
remove files and directories
diff
compares the content of two files line-by-line
sort
Prints input or concatenation of files given in sorted order
wc
Prints statistics of file: newline count, word count, byte count
find
search for files and directories
.
current directory
..
parent directory
~
home directory
-owner-group-anyone
file permissions: ie the rwx permision
chmod a + r
permission: files readable by all
chmod u + rwx
permission: user is given all permissions
chmod g - rwx
permissions: removes all permissions from owner’s group
chmod o - w
permissions: remove write acsess for other users