Linux Commands Flashcards


Set Details Share
created 5 months ago by Sophmore
updated 4 months ago by Sophmore
show moreless
Page to share:
Embed this setcancel
COPY
code changes based on your size selection
Size:
X
Show:

1

history

lists the commands you used after opening your current terminal, by ordered list

2

!!

re-runs the command before it in the history order

3

a2query

shows which configuration files, sites and modules are enabled in Apache HTTP server by the module,config, site -enabled folders

4

aa-status

shows the status of AppArmor profiles(what security privileges did AppArmor gave to each application)(i think)

5

aapt

for manipulating AndroidSDK

6

aabr

makes abbreviations in fish terminal

7

abduco

can:

  • make a new session
  • leave it running in the background or close it then come back to it
  • merge sessions to not have multiple terminals on your screen

8

ac

returns the log in time of users

9

ack

finds patterns and things you specify in a certain file(s), makes searching for stuff in files easier

10

acm

a pilot flying game

11

how to move a file?

mv [file name] [wanted directory]

12

how to copy& paste a file?

cp [file name] [wanted directory]

13

how to make a directory

mkdir [name]

14

how to remove a directory

rm [directory name]

15

how to change user password

passwd

16

how to go to a directory thats a child of another parent directory?​_

cd [path]

17

how to find a file in your computer

locate [file name]

18

how to put your written code in a file

[your code] > [fileName.file extention]

19

chmod

changes the read, write, execute permissions of a file for group, owner and others

20

Whats the difference between Chown & Chgrp

Chown: changes the user ownership of a file

Chgrp: changes the Group ownership of a file

21

chroot

Change the root directory

22

chfn

Changes user information

23

chsh

changes the default shell

24

chvt

switches between virtual environments