Franske CNT-2311 SP10 Commands: Difference between revisions
No edit summary |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|'''Session''' | |'''Session''' | ||
|'''Commands''' | |'''Commands''' | ||
|'''Description''' | |||
|-valign="top" | |-valign="top" | ||
|Session 1 | |Session 1 | ||
Line 16: | Line 17: | ||
rmdir<br> | rmdir<br> | ||
touch<br> | touch<br> | ||
|lists the contents of the current directory | |||
allows you to navigate to new directories<br> | |||
allows you to move (rename) content<br> | |||
allows you to copy content<br> | |||
allows you to make directories<br> | |||
allows you to view a manual of a command<br> | |||
allows you to remove content<br> | |||
allows you to remove directories<br> | |||
allows you to change file access and modification times<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 2 | |Session 2 | ||
Line 34: | Line 44: | ||
du<br> | du<br> | ||
df<br> | df<br> | ||
|display the contents of a text file for viewing | |||
allows backward movement in the file as well as forward movement<br> | |||
same thing as less but the entire output<br> | |||
allows you to find text within a file<br> | |||
allows you to display the contents of the history file, edit the contents of the history file, and re-execute previous commands stored in the history file<br> | |||
which provides a secure way to index and quickly search for files on your system<br> | |||
simply a link to slocate that implies the -u option that creates slocate database starting at the root directory<br> | |||
will search any set of directories you specify for files that match the supplied search criteria<br> | |||
which locates source/binary and manuals sections for specified files<br> | |||
which is to change the owner of a file<br> | |||
unprivileged (regular) users who wish to change the group of a file can use this<br> | |||
command that lets you tell the system how much or little access it should permit to a file<br> | |||
which will create tape archives and add or extract files to a specified location<br> | |||
will compress or expand the tar files<br> | |||
used to estimate the file space usage, space used under a particular directory or files on a file system<br> | |||
will report how much free disk space is available for each mount you have<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 3 | |Session 3 | ||
Line 55: | Line 81: | ||
who<br> | who<br> | ||
su<br> | su<br> | ||
|lets you check the status of processes that are running on your system<br> | |||
display top CPU processes<br> | |||
is a list the jobs that you are running in the background and in the foreground<br> | |||
will continue a stopped job by running it in the foreground<br> | |||
continues a stopped job in the background<br> | |||
is used to examine or control the kernel ring buffer<br> | |||
is a partition table manipulator<br> | |||
is a curses based program for partitioning any hard disk drive<br> | |||
installs a boot loader that will be activated next time you boot<br> | |||
enables a user to have multiple operating systems on their computer, and choose which one to run when the computer starts<br> | |||
is used to build a Linux file system on a device, usually a hard disk partition<br> | |||
sets up a Linux swap area on a device or in a file<br> | |||
is used to check a Linux second extended file system<br> | |||
command detaches the file system(s) mentioned from the file hierarchy<br> | |||
will mount a file system<br> | |||
is used to send signals to running processes, for example to request the termination of this process<br> | |||
returns system information in the structure pointed to <br> | |||
command lets you display the users that are currently logged into your Unix computer system<br> | |||
allows you to become a super user or another user<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 4 | |Session 4 | ||
Line 69: | Line 114: | ||
route<br> | route<br> | ||
netstat<br> | netstat<br> | ||
|is a package management system<br> | |||
is a free user interface that works with core libraries to handle the installation and removal of software<br> | |||
is an interactive, automated update program which can be used for maintaining systems using rpm<br> | |||
is the parent of all processes. Its primary role is to create processes from a script stored in the file /etc/inittab<br> | |||
stores system startup and service management script<br> | |||
is an open source program for forwarding log messages in an IP network for UNIX and Unix-like systems<br> | |||
enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates<br> | |||
a line of text<br> | |||
command is a standard Unix program used to concatenate and display files<br> | |||
command allows the operating system to setup network interfaces and allow the user to view information about the configured network interfaces<br> | |||
shows and manipulates the IP routing table<br> | |||
shows network status<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 5 | |Session 5 | ||
Line 77: | Line 134: | ||
webmin<br> | webmin<br> | ||
samba<br> | samba<br> | ||
|secure shell<br> | |||
remote file copy<br> | |||
file transfer protocol<br> | |||
secure file transfer protocal<br> | |||
web based GUI for linux systems<br> | |||
is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients<br> | |||
|-valign="top" | |-valign="top" | ||
|Session 6 | |Session 6 | ||
Line 98: | 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" | |||
|Session 7 | |||
|iptables<br> | |||
ip6tables<br> | |||
filter<br> | |||
nat<br> | |||
mangle<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" | |||
|Session 8 | |||
|imap<br> | |||
pop3<br> | |||
smtp<br> | |||
sendmail<br> | |||
newaliases<br> | |||
postfix<br> | |||
mailq<br> | |||
spamassassin<br> | |||
amavis<br> | |||
maildir<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" | |||
|Session 9 | |||
|bind9<br> | |||
nslookup<br> | |||
dig<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" | |||
|Session 10 | |||
|mysql-server<br> | |||
mysqld<br> | |||
mysql-u root-p<br> | |||
vlan<br> | |||
iface<br> | |||
ifup<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 |