Chapter 2 Ethical Hacking

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

1/8

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.

9 Terms

1
New cards

kali > head/ etc/snort/snort.conf

displays the first 10 lines of snort.conf

2
New cards

kali> head -20/etc/snort/snort.conf

displays the first 20 lines of snort.cof

3
New cards

kali> tail/etc/snort/snort.conf

displays the last 10 lines of snort.conf

4
New cards

kali> tail -20/etc/snort/snort.conf

shows the last 20 lines of the file snort.conf

5
New cards

kali> nl/etc/snort/snort.conf

displays a file with line numbers

6
New cards

kali > cat/ etc/ snort/snort.conf | grep output

searches for and displays all the lines that contain output

7
New cards

kali > sed s/mysql/MySQL/g/etc/snort/snort.conf > snort2.conf

replaces mysql with MySQL

8
New cards

more/etc/snort/snort.conf

displays a page at a time

9
New cards

kali > less/etc/snort/snort.conf

displays files and lets you search through them