{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Command Line Interface Flashcards

(30 cards)

1
Q

my computer’s network name

A

hostname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

make directory

A

mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

change directory

A

cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

list directory

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

remove directory

A

rmdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

push directory

A

pushd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

pop directory

A

popd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

copy a file or directory

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

move a file or directory

A

mv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

page through a file

A

less

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

print the whole file

A

cat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

execute arguments

A

xargs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

find files

A

find

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

find things inside files

A

grep

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

read a manual page

A

man

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

find which manual page is appropriate

17
Q

look at your environment

18
Q

print some arguments

19
Q

export/set a new environment variable

20
Q

exit the shell

21
Q

DANGER! become super user root DANGER!

22
Q

To write in a file

23
Q

to save in nano

24
Q

to exit nano

25
to exit less
Q
26
What are the cursor navigation prompts?
CTRL + a : Move to end CTRL + e : Move to end Use Up and Down arrow keys to toggle through previous commands CTRL + u : Clears current line CTRL + l : Clears the terminal window (does not clear history)
27
How to display hidden files?
ls -a
28
How to move files into directories?
mv + file_to_move + destination_path : Move a file or folder to a new location mkdir + directory1 + directory2 + directory3... : Make multiple directories at once.
29
How to merge branches after making a commit?
git merge (branch not worked on yet)
30
What is rebasing?
It takes a set of commits, copies them and sets them down somewhere else. git rebase