Franske CNT-2311 SP10 Commands: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 161: | Line 161: | ||
tac<br> | tac<br> | ||
sed<br> | sed<br> | ||
|Linux-based Security Tool<br> | |||
command you can take the output and pipe it to the output of another program<br> | |||
will allow you to provide the data as input into the standard output<br> | |||
Replace a file(will allow you to put the output into a file to allow viewing in your editor of choice)<br> | |||
Append a file(will go to the end of existing and add on to the end of the file)<br> | |||
will put the errors in the that file<br> | |||
will sort results alpha first<br> | |||
skips spaces<br> | |||
displays lines, words, and chars<br> | |||
will remove the number of spaces you input<br> | |||
very good to manipulate data in columns<br> | |||
allows you to see two files next to each other<br> | |||
allows you to see the two files next to each other but with matching fields if in the same line order<br> | |||
a way to locate any duplications<br> | |||
will show 10 lines by default<br> | |||
will show you the last 10 lines by default<br> | |||
by default it will split it up into 1000 lines<br> | |||
programmers attempt at humor cat backwards is tac, it will replace something in a file<br> | |||
Sort for Stream Editor sed allows you to use pre-recorded commands to make changes to text<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 7 | |Session 7 | ||
Line 169: | Line 188: | ||
mangle<br> | mangle<br> | ||
apache2<br> | apache2<br> | ||
|modifies the chains for IPv4<br> | |||
modifies the chains for IPv6<br> | |||
input / forward / output are in this section<br> | |||
changes the ip addresses of packets as it goes out to the internet<br> | |||
prerouting / output are in this section<br> | |||
webserver program<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 8 | |Session 8 | ||
Line 182: | Line 207: | ||
maildir<br> | maildir<br> | ||
mbox<br> | mbox<br> | ||
|a MDA that keeps all the mail on the server<br> | |||
a MDA deletes the mail when delivered<br> | |||
is a MTA or a MUA<br> | |||
is a MTA<br> | |||
to allow the edited aliases to run correctly after editing<br> | |||
is a MTA<br> | |||
retrieves the mail that is waiting to be sent<br> | |||
most common spam filtering tool<br> | |||
a mail virus scanner<br> | |||
a mail control center that is better then mbox<br> | |||
a mail control center where everything is store as one<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 9 | |Session 9 | ||
Line 188: | Line 224: | ||
dig<br> | dig<br> | ||
dhcp3-server<br> | dhcp3-server<br> | ||
|internet domain name server<br> | |||
name and ip address lookup for the server you have set up<br> | |||
the specifc server name will give you the zone<br> | |||
provide ip addresses to computers on the network, automaticly is configured<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 10 | |Session 10 | ||
Line 197: | Line 237: | ||
ifup<br> | ifup<br> | ||
ifdown<br> | ifdown<br> | ||
|is a relational database management system, that runs as a server providing multi-user access to a number of databases<br> | |||
all the basic settings <br> | |||
will connect you to the server<br> | |||
stands for virtual LAN. A single VLAN-capable switch is able to participate in multiple LANs at once<br> | |||
interfaces<br> | |||
set ineterfaces to up<br> | |||
set interfaces to down<br> | |||
|-valign="top" | |-valign="top" | ||
|} | |} |
Latest revision as of 19:59, 13 May 2010
These are the commands learned by session:
Session | Commands | Description |
Session 1 | ls cd |
lists the contents of the current directory
allows you to navigate to new directories |
Session 2 | cat less |
display the contents of a text file for viewing
allows backward movement in the file as well as forward movement |
Session 3 | ps top |
lets you check the status of processes that are running on your system display top CPU processes |
Session 4 | rpm apt |
is a package management system is a free user interface that works with core libraries to handle the installation and removal of software |
Session 5 | ssh rcp |
secure shell remote file copy |
Session 6 | std pipe |
Linux-based Security Tool command you can take the output and pipe it to the output of another program |
Session 7 | iptables ip6tables |
modifies the chains for IPv4 modifies the chains for IPv6 |
Session 8 | imap pop3 |
a MDA that keeps all the mail on the server a MDA deletes the mail when delivered |
Session 9 | bind9 nslookup |
internet domain name server name and ip address lookup for the server you have set up |
Session 10 | mysql-server mysqld |
is a relational database management system, that runs as a server providing multi-user access to a number of databases all the basic settings |