Your experience on this site will be improved by allowing cookies
In this tutorial, you will learn how to use command line. How you can create, copy, move files and folder from one location to another location using terminal.
Open your vscode and press “cntrl+~ “key to enter into terminal. This terminal is a git bash that we have integrated with vscode. You can test these command as written below:
(note: In linux we treat everything as files or folder. Like if we have a drive in windows system in linux we create LVM which are treated as folder)
mv demo_directory/test.py workspace/
Ex: mkdir john sara albert
(above command will create 3 directories named john sara albert in existing location)
If you want to make a directory having space between them you can do this by following way
mkdir “ python practice”
rm test.txt
After entering above written command, a new screen will be displayed upside with name of .py file, we will write our program here as shown in following screen.
0 comments