Linux Commands #education #cybersecurity
32 views
May 22, 2025
Linux Commands #education #cybersecurity
View Video Transcript
0:00
linux commands in under one minute
0:01
Everything in Linux is a file The
0:03
location of these files and directories
0:04
are referred to as paths If you want to
0:06
know where you are now you can use the
0:07
pwd command Next up we have the cd or
0:09
change directory If you want to navigate
0:11
to another directory just type cd and
0:13
the path of the directory that you want
0:14
to navigate to cd dot takes you to the
0:16
directory above and writing just cd
0:18
takes you to the home directory Next up
0:20
ls basically lists the contents of a
0:22
directory You can also see the contents
0:23
of a directory by typing ls and then the
0:25
path of the directory you want There are
0:27
two useful flags that you can use with
0:28
the ls command and a flag is used to
0:30
modify the behavior of a command So if
0:32
we write ls- i you will be able to see
0:34
the hidden files in the directory and
0:35
ls- l will show you a list of detailed
0:37
information about the files and
0:38
directories Touch command followed by
0:40
the name of a new file will make a new
0:41
file in your current directory Clear
0:43
command will clean up your command
0:44
prompt and make it look pretty CP will
0:45
copy a file from one place to another
0:47
Just type cp and then the name of the
0:48
file that you want to copy followed by
0:50
the path of the directory that you want
0:51
to copy the file
#Directories & Listings