Extern
https://www.tenable.com/products/nessus/nessus-essentials
intern
find . -iname ‚Rechnung*.pdf‘ -newermt 20160101 -not -newermt 20170101 >/root/pdf-2016.txt
for f in cat /root/pdf-2016.txt;
do cp -p $f /home/ubuntu/pdf-2016/;
done
grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' EMAIL_SAMPLES.TXT | sort | uniq -i
Quelle: https://rietta.com/blog/2013/10/11/grep-extract-e-mail-addresses-from-a-text-file/
(method 2 – my favorite)
ALREADY RUNNING PROCESS INTO NOHUP
Pro: Puts running process into background, and if you quit out of the shell it still runs
Con: Costs a pinch of more memory (a negligiable amount) – I couldnt think of any cons so I had to mention this 🙂
Reference: http://stackoverflow.com/questions/625409/how-do-i-put-an-already-running-process-under-nohup
Using the Job Control of bash to send the process into the background:
0. Run some SOMECOMMAND
1. ctrl+z to stop (pause) the program and get back to the shell
2. bg to run it in the background
3. disown -h so that the process isn’t killed when the terminal closes
4. Type exit to get out of the shell because now your good to go as the operation will run in the background in it own process so its not tied to a shell
This process is the equivalent of running nohup SOMECOMMAND
Quelle:https://sites.google.com/a/kossboss.com/main/linux—move-running-to-process-nohup
I finally found a detailed set of instructions by Tony Scelfo that actually work. It appears that you have to use transport layer security (TLS) on port 587. I have not gotten SSL SMTP to work.
First run sudo dpkg-reconfigure exim4-config and use these config options:
Pass the -r option to grep command to search recursively through an entire directory tree. With this option one can search the current directory and and all levels of subdirectories by passing the -r or -R to the grep command. The syntax is:
/etc/init.d/crashplan start
In der /etc/apache2/conf.d/phpmyadmin.conf:
Bereich Ifmodule austauschen:
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
php_admin_flag allow_url_fopen Off
php_admin_value upload_tmp_dir /tmp
php_value include_path .:/usr/share/php:/usr/share/pear
php_admin_value open_basedir /usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/tmp
</IfModule>
Folgender Befehl kopiert alle Dateien die älter als 360 Tage sind nach _old_log:
find . -mtime +360 -exec cp -p {} /home/zulu-chris/_old_log \;
erstmal fli4l updaten
was soll erreicht werden?
zwei netze, voneinander getrennt, beide internet-zugang
192.168.0.0
192.168.2.0
Problem:
einer Netzwerkkarte in fli4l zwei Netzwerke zuweisen
So gehts :
The fli4l router is also able to do IP aliasing, i.e. to assign multiple IP addresses to a single network adapter. Additional IP addresses are simply specified by linking another network to the same device. When mkfli4l checks the configuration you are informed that you define such an alias–you can ignore the warning in this case.
Example:
IP_NET_1=’192.168.6.1/24′
IP_NET_1_DEV=’eth0′
IP_NET_2=’192.168.7.1/24′
IP_NET_2_DEV=’eth0:0′
http://www.fli4l.de/fileadmin/doc/english/html/fli4l-3.10.4/node16.html
http://spline.fli4l.narkive.com/psOlrx2p/ip-aliasing
Bisherige Vorgehensweise
1. Ein zweites Netzwerk erstellt mit IP_NET
IP_NET_2=’192.168.7.1/24′
IP_NET_2_DEV=’eth0:0′
2. Firewall
INPUT_LIST_N=’4′
INPUT_LIST_4= ‚IP_NET2 ACCEPPT‘
FORWARD_LIST_N=’3′
FORWARD_LIST_3=’IP_NET2 ACCEPPT‘
POSTROUTING_LIST_N=’2′
POSTROUTING_LIST_2=’IP_NET_2 MASQUERADE‘
FUNKTIONIERT!