Thursday, October 30, 2014

Fortinet linux

http://noc.intermax.nl/downloads/fortinet/

Run the command
chmod +x forticlientsslvpn
Install necessary 32bit libraries (copy and paste commands below).
sudo apt-get install ia32-libs-gtk && sudo apt-get install libgtk2.0-0:i386
Make sure xterm is installed
sudo apt-get install xterm
Run forticlientsslvpn
sudo ./forticlientsslvpn

Monday, October 13, 2014

Save MySQL query results into a CSV file

SELECT order_id,product_name,qty FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'

What's the quickest way to find duplicated files?

find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD fdupes -r / linux_czkawka_gui.AppImage