Udemy: MacOSX terminal Flashcards
1
Q
to list files with detail
A
ls -l
2
Q
to get to the root of the system
A
cd /
3
Q
to get back to the default root
A
cd ~
4
Q
to clear ALL the content
A
command + k
5
Q
to find out where terminal commands are stored
A
which
6
Q
to exit the manual press
A
q
7
Q
to open a file in a simple text editor with options
A
nano
8
Q
to open a file directory use the ___ keyword
A
open
9
Q
open user home directory in OSX
A
open ~
10
Q
text.txt
To open the above file with the DEFAULT application in the terminal
A
open -e text.tx
open -e
11
Q
to create a new file
A
touch
12
Q
to rename a file use
A
mv
13
Q
to copy a file
A
cp
14
Q
to delete a file
A
rm < file name>
15
Q
make a new folder
A
mkdir