220-1102 1.11 Linux Setup and Commands

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

39 Terms

1
New cards

Shell/Terminal

Do configs from a command line

2
New cards

Samba

  • Implementation of CIFS/SMB networking protocols that support:

    • Windows Server Domain

    • Active Directory

    • Microsoft NT Domains

  • With Samba, Unix machines can interoperate with Windows

    • Like file and print server

3
New cards

man

displays help for commands

4
New cards

passwd

change password

5
New cards

ls

list files in a directory

6
New cards

mv

move or rename a file

7
New cards

cp

copy a file

8
New cards

rm

remove a file

9
New cards

mkdir

create a folder

10
New cards

df

display the amount of free storage

11
New cards

ps

displays a list of running processes

12
New cards

rmdir

delete folders that are empty

13
New cards

rm -r

Remove folder that aren’t’ empty

14
New cards

top

displays a list of running processes

15
New cards

find

search for text in files or directory/folder

16
New cards

grep

search with regular expression

17
New cards

dig

troubleshoot DNS

18
New cards

cat

displays the contents of a file

19
New cards

nano

text editor

20
New cards

pwd

lists where you are

21
New cards

ip

display and config a NIC

22
New cards

cd

change your current directory

23
New cards

cd..

go one directory up

24
New cards

cd -

move to the previous directory you where in

25
New cards

chown

change the owner and group of a file

26
New cards

chown syntax

chown “user”: “group” “file name”

27
New cards

chmod

change the permissions of a file or folder for owner/group/everyone

28
New cards

chmod 1,2,3 symbols

  1. Execute

  2. Write

  3. Read

    1. 7 = r+w+x

    2. 6 = r + w only

29
New cards

adduser

create a new user

30
New cards
31
New cards

ls -l

See user and groups for files and folders

32
New cards

dd

copy disk to disk. partition to partition

33
New cards

kill

kill a process

34
New cards

shutdown

shutdown computer

35
New cards

APT

Command line utility used to install/uninstall or upgrade apps in Debian-based distros

36
New cards

apt-get update

Used to update version list of installed apps

37
New cards

apt-get install

Install a new app

38
New cards

Apt-get remove

Uninstall a app

39
New cards

Yellow Dog Updater/YUM

Command line package management utility for Red Hat distros