CompTIA A+ 1102 Linux Features and Commands

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

1/32

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.

33 Terms

1
New cards

Linux Command Line Options (list)

- Terminal

- XTerm

- (etc.)

2
New cards

Linux Commands

- similar to Mac OS commands

3
New cards

"man" (command)

shows the manual for a Linux command

4
New cards

"ls" (command)

- lists directory contents

- similar to "dir" in Windows

- may support color coding

- blue indicates a directory

- red indicates an archive file

- add "-l" at the end to view a longer output

- adding "-l | more" will present a page by page view

- use "q" or key in ctrl-c to exit this view

5
New cards

"pwd" (command)

- prints the working directory's name (path)

6
New cards

"mv"

- move or rename a file

- "mv [source] [destination]

- for example, "mv first.txt second.txt"

7
New cards

"cp" (command)

- copies a file

- "cp [source] [destination]"

8
New cards

"rm" (command)

- removes a file or directory

- a directory must be empty to be removed, or must be removed with "-r"

9
New cards

"chmod" (command)

- changes the mode (permissions) of a file system object

- "chmod [mode] [file]"

- for example, "chmod 744 script.sh"

- this would grant the user rwx, group r--, and others r--

- can also use letters to specify the mode

10
New cards

Linux File System Modes (list)

- r (read)

- w (write)

- x (execute)

11
New cards

Linux File System Mode Cheat Sheet (image)

knowt flashcard image
12
New cards

"chown" (command)

- changes a file's owner and/or group

- requires root permissions and credentials

- "sudo chown [owner]:[group] [file]"

- "[group]" is optional

13
New cards

"su" (command)

- become the super user

- grants administrative (root) privileges

14
New cards

"sudo" (command)

- execute a command as the super user

- grants administrative (root) privileges, but only when using "sudo" in front of a command

15
New cards

"apt-get" (command)

- advanced packaging tool

- handles the management of application packages

- "sudo apt-get [install/update/remove] [application]"

16
New cards

"yum" (command)

manages RPM (Red Hat) packages

17
New cards

"ip" (command)

manage the network interface

18
New cards

Commonly Used "ip" Commands (list)

- "ip address"

- "ip route"

19
New cards

"ip address" (command)

- view the interface address

- for example, "sudo ip address add [ip address and subnet mask] dev [adapter name]"

- configures the IP address of an interface

20
New cards

"ip route" (command)

- view the IP routing table

21
New cards

"df" (command)

- view file systems and free space

- presented in blocks

- use "df -h" to view in human-readable sizes

22
New cards

"grep" (command)

- used to find text in a file or files

- "grep [text pattern] [file]"

23
New cards

"ps" (command)

- view the current processes

- use "ps -e" to view all processes, including those for other users

24
New cards

"top" (command)

- view resource utilization

- includes a summary of the overall load

- presented in one, five, and fifteen minute intervals

25
New cards

"find" (command)

- find a file by the name or file extension

- "find . -[name] [file and extension]"

- finds files with that specific extension

- the "." indicates that the search will begin at the current folder (the working folder)

26
New cards

"dig" (command)

- lookup information from DNS servers

- provides detailed domain information

27
New cards

"cat" (command)

- concatenate files

- "cat [first file and extension] [second file and extension]"

- copies a file or files to another file

28
New cards

"nano" (command)

provides a full-screen text editor

29
New cards

"tar" (command)

- used to create and manage tape drive archives and backups

- can be used for any type of file

- easy to script into a backup schedule

30
New cards

"rsync" (command)

- provides a utility for syncing files between storage devices

- can be instant or scheduled

31
New cards

Software Center

Linux's version of the Mac OS App Store

32
New cards

Anti-Virus and Anti-Malware on Linux

- no built-in options

- Clam is the recommended third-party anti-virus

- open-source

33
New cards

"samba"

- file server utility

- often used to add SMB (Server Message Block) to Linux systems

- implement file and printer sharing

- integrate with Active Directory

- integrates Linux into a Windows environment