# command-line

<figure><img src="https://206398537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fGxYFvZDLzWe4Z2ZOfR%2Fuploads%2FJ4PKSqRHdnzb7GbnkYzq%2FScreenshot%202024-02-14%20at%2010.46.11%E2%80%AFam.png?alt=media&#x26;token=6e51820d-7fea-4bd7-a316-626d93bf117a" alt=""><figcaption></figcaption></figure>

ls=list information about file

mkdir=Create new folder

cd=change directory

Touch=create file(touch test.html)

rm=remove file

pwd=print working directory

rm  -r=delete folder(rm space r)

open =open a file/folder

nano=simple text editor

cd - =go back to the editor

<br>

<br>

code hello.c —>write

make hello.c —>compile file from source code to machine code

./ hello —>is going to be the command to run my actual code

“Go to your prompt” —>means go to your terminal window

<br>

hello.c :5:5 —> means file hello.c line 5 character  5 has error

Single quote: single character,like ’n’
