<aside> 💡 The correct keyboard shortcut to copy text within a Linux terminal is Ctrl + Shift + C, and Ctrl + Shift + X for cutting. Similarly, to paste a string of text, press Ctrl + Shift + V.
</aside>
cd
, for changing our current directory (folder)
cd
commandscp
, for copying files and directoriesls
, for listing files in a directorymkdir
, for making a directorymv
, for moving (renaming) files and directoriesrm
, for removing (deleting) filesrmdir
, for removing (deleting) directoriescls
to clear terminal windowls
which will list all the files in the current directory or directory. Go ahead and type ls
into the terminal window and hit enter
. You’ll see all the files in the current folder.
mv
, where you can move a file from one file to another. For example, you could use this command to rename Hello.c
(notice the uppercase H
) to hello.c
by typing mv Hello.c hello.c
.mkdir pset1
to create a directory called pset1
.
cd pset1
to change your current directory to pset1
.