Tag Archives: Linux

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it at your own risk lsof | grep /filesystem_name | awk ‘{print $2}’ | xargs kill -9 That’s it, Enjoy!

Posted in Linux | Tagged , , , , , , | Leave a comment

Using gzip to compress a file without overriding it

gzip < source_file > compressed_file.gz Source: https://unix.stackexchange.com/questions/46786/how-to-tell-gzip-to-keep-original-file

Posted in Linux | Tagged , , , | Leave a comment

Create SSH profiles for your frequent connections on Ubuntu 18.04 using ssh_config

This is very useful if you connect to tons of servers via ssh and you need to keep record of them as profiles. Edit/Create a file .ssh/config Add entries in this manner: Host blabla User blablabla # or domain\blablabla if … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

How to connect to your MS Exchange Account (Mail, Contacts, Calendar…etc) from Linux

Just go to Online Accounts -> Microsoft Exchange -> Type your e-mail and password! This basically connects using Exchange Web Services (EWS). If this doesn’t work out with you, click on custom and enter your username and server. I had … Continue reading

Posted in Linux | Tagged , , , , , , , , , , | Leave a comment

Integrating SSH PKI with Active Directory using PBIS-Open on Ubuntu 16.04

Long Article Warning! You can skip all this and go directly to the script at the end. This resolves the dilemma of managing SSH public keys on servers that are integrated with Active Directory using PBIS-Open, it allows you to … Continue reading

Posted in Linux | Tagged , , , , , , , , | 5 Comments