What are four important features to look for in a text editor?
What do the following commands do?
pwd: prints working directory
ls: lists files
cd: changes directory
mkdir: makes directory
touch: generating files or file sets
Can you explain what is happening in the following scenario if these commands and arguments are entered into the command line? (Arguments are extra instructions given to a command.)
cd projects: directs you to project file
mkdir new-project: creates directory for new-projects
touch new-project/newfile.md: generates file set for new-project
cd ..: back to top
ls projects/new-project: lists files in projects/new projects
Word Processors:
Microsoft Word
Google Docs
Apple Pages
WordPerfect
… and many more
Code Editors:
GitHub’s Atom
Microsoft’s VS Code, Visual Studio
Notepad++
Vim, Emacs, Nano
… and many more
The Terminal (Command Line Interface)
File Explorer Tasks:
Find files
Change directories
Move and copy files
Open files
Make new files/folders
You can do all of those things in the terminal, but in a different way.
Terminal Commands:
cd: change directory
pwd: password
ls: list
ls-a: shows all files
clear: clears everything
mkdir: make directory
cd (file name): takes you to file
cd …: takes you back to top
touch (file name): creates file
code .: open text editor
Period before file means it is a hidden file.
CTRL+H to show hidden files (PC)