This repository was archived by the owner on Mar 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Some Terminal Stuff
echang97 edited this page Jul 31, 2019
·
4 revisions
Type cd followed by a path (Case insensitive) to change directories
> cd documents/github
C:\Users\YourName\documents\github>
- If it contains white space, put it in quotes
- (e.g. 'documents/Sample Folder')
- To navigate backwards, use two periods ..
- cd ..
- cd ../input
Type dir or ls to show whats in the current directory
> ls
Directory: C:\Users\change\documents
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 7/25/2019 3:50 PM GitHub
d----- 7/9/2019 3:56 PM _Jupyter
d----- 6/12/2019 9:26 AM _Sample Stuff
-a---- 6/17/2019 10:37 AM 645244 federal_production_CY03-18.xlsx
-a---- 6/26/2019 3:57 PM 52512 monthly_production_05-2019.xlsx
-a---- 6/26/2019 3:57 PM 52698 monthly_production_06-2019.xlsx
-a---- 6/25/2019 2:10 PM 296269 monthly_revenue_05-2019 (1).xlsx
-a---- 6/12/2019 10:57 AM 645 Notes.txt
Type python to run Python in the terminal
- Followed by a module to run a script
python modulename.py
- May require additional arguements
python modulename.py argv[2] argv[3] ... argv[n]