lsmod
More deep information on a specific on a particular modules
Find out Linux kernel drivers/modules being used by hardware devices on your system
apt-get install pcutils
lspci -k
#
tcpdump -i eth1 'udp port 53'
nmap being used by Trinity in The Matrix to detect ssh
running on a vulnerable node before launching an attack on the sshv1
CRC32 flaw and gaining root to shut down the power grid. apt-get
install nmon http://www.cyberciti.biz/faq/nmon-performance-analyzer-linux-server-tool/Makefile, a prescribed recipe in a standard
format for generating executable files from source and object files,
taking account of changes to only rebuild MakefileMakefile is a list of variables and a list of targets,
and the sources and/or objects used to provide them. Targets may not
necessarily be linked binaries; they could also constitute actions to
perform using the generated files, such as install to instate built files into the system, and clean to remove built files from the source tree.make to
automate any sort of task relevant to assembling a production build of
software; not just the typical parsing, preprocessing, compiling proper
and linking steps performed by the compiler, but also running tests (make test),
compiling documentation source files into one or more appropriate
formats, or automating deployment of code into production systems, for
example, uploading to a website via a git push or similar content-tracking method.Makefile for a simple software project might look something like the below:make
this program will look for a file named makefile in your directory, and then execute it.
make -f MyMakefile
Do.
diff -u old.sh new.sh > file.patch
example- file.patch
--- old.sh 2012-05-09 20:10:05.596606469 -0300 +++ new.sh 2012-05-09 20:12:24.765286827 -0300 @@ -8,4 +8,13 @@ echo -n "Your full name is:" $nombre +echo + +echo -n " Now tell me your age :" + +read age + + +echo -n " Your age is : " $age + echo
Apply the patch
$ patch -p1 old.sh < file.patch
patching file old.sh