Enable compression during scp transfer
Answer:
When you transfer files which are mainly text based using scp command, it is always good to compress them to save the bandwidth needed.
To do so:
# scp -C test.txt john@remoteserver:/home/john/
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Enable compression during scp transfer
Answer:
When you transfer files which are mainly text based using scp command, it is always good to compress them to save the bandwidth needed.
To do so:
# scp -C test.txt john@remoteserver:/home/john/
Set filename in terminal title in vim
Answer:
To display the currently editing filename in the title of terminal of vim, you can try the tricks below:
1. Press [ESC] to get into command mode
2. Enter :set title
What is the SMTP submission port 587?
Answer:
A lot of ISPs will block the port 25 for preventing users from sending spam emails. To send email if you use such ISPs, you need to use port 587.
Port 587 is the official port for sending email on mail submission agents (MSAs), as defined in RFC 2476
Block website access in Linux
Answer:
The simple way to block access to web site is to change the hosts file.
1. Open the hosts file
# sudo vi /etc/hosts
2. Change the content, such as...
0.0.0.0 microsoft.com
0.0.0.0 oracle.com
3. Save the file.
Empathy cannot connect to MSN
Answer:
To solve the problem of cannot connect to MSN using Empathy
1. Open the following file to edit:
gksudo gedit /usr/share/pyshared/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py
2. Find the following line...
CONTACTS = ("contacts.msn.com", "?fs=1&id=24000&kv=7&rn=93S9SWWw&tw=0&ver=2.1.6000.1")
3. Replace the line by
CONTACTS = ("contacts.msn.com", "MBI")
Close and restart Empathy should work.