Here's a simple illustration about basic Linux commands every information technology related jobs should know
command line syntax
command {option} {argument}
getting help
-- help
man command
navigate between directories
pwd
print working directory
cd change directory
cd /Desktop
cd .. one level up
cd ~ telda = home directory
List directory content
ls
ls -h
ls -a
ls -lha /documents
create files & directories
touch filename
mkdir dir-name
Reading file content
cat filename
head filename
tail filename
more filename
less filename
copying
cp filename /destination
remove files & directory
rm filename
rmdir dir-name
user permission
read (r) write (w) execute (x)
chmod +w or chmod 2
chmod +r or chmod 4
chmod +x or chmod 1
chmod 7 for giving r+w+x permisions
process management
ps
ps -ef
ps -aux
top
adding users
useradd username
passwd username for creating a password to a specific user
usermod for modified
##
Top comments (0)