Here’s a good article detailing seven ways to encrypt and decrypt (password protect) your files in Linux.
It’s essentially using these tools:
- GnuPG, Bcrypt, Ccrypt, Zip, OpenSSL, 7-zip, Nautilus Encryption Utility
Read the article.
I remember the days when I was running Ubuntu on my desktop. The first thing on the agenda always after a clean install was to add Ubuntu Tweak Utility and customized my desktop settings. Well, the maintainer of the this nice little utility is calling it quits. He will no longer maintain the project.
Ubuntu 16.04 LTS is now available. From Canonical:
Canonical announced today it will release Ubuntu 16.04 LTS on 21st April, featuring the new ‘snap’ package format and LXD pure-container hypervisor. This is the latest version of the world’s most widely used Linux platform across desktop, IoT and cloud computing.
An Ubuntu Long Term Support (LTS) release is supported and maintained by Canonical for five years, making it the most stable, reliable, secure and cost-effective Linux platform for long-term, large-scale deployments. This is the 6th such LTS release for Ubuntu, and marks the first time that the platform is supported on mainframes, the world’s largest and most powerful Linux systems.
The rm -rf is a dangerous command. Use at your own discretion. A man who owns a server that run thousands of website learned this lesson the hard way. If there’s anything to learn from this experience, it’s probably best not to use rm -rf within your scripts. If you really have to, you need to have to be explicit with your commands by including the full path. If the relative path fails, the deletes are explicit for that particular directory and nowhere else.
Microsoft announced today that it’s bringing in Bash shell into Windows 10. Bash or Bourne Again Shell, is the standard shell terminal for both OS X and Linux terminals. That means developers will be able to write their shell scripts in Windows 10.
How is this possible. Microsoft worked with Canonical, Ubuntu flagship company, in getting a Linux subsystem inside Windows 10 without the need for virtualization or emulation.
The native availability of a full Ubuntu environment on Windows, without virtualization or emulation, is a milestone that defies convention and a gateway to fascinatingly unfamiliar territory,” Canonical founder Mark Shuttleworth said in a statement today. “In our journey to bring free software to the widest possible audience, this is not a moment we could have predicted. Nevertheless we are delighted to stand behind Ubuntu for Windows, committed to addressing the needs of Windows developers exploring Linux in this amazing new way, and excited at the possibilities heralded by this unexpected turn of events.
Does this mean no more of the dreaded backlash on paths?
I have a couple of BASH scripts that I run overnight via cron. The script uses the s3cmd command line tool to interact with Amazon S3 storage on the cloud. One day, the script just stopped working. I couldn’t figure out what’s changed.
Upon further investigation, it turns out to be a permission issue. Somehow, the .s3cfg files where the Amazon credentials and other things are stored have changed ownership to root. I used the chown command to change ownership back to the user.
The cron job is once again working like a charm.
I performed a Linux Server upgrade from 12.04 LTS to 14.04 LTS last night. Disaster. Well, the upgrade wasn’t quite as seamless than I thought. Apache died. I was getting 500 error on all my websites. I wasn’t about to spend hours trying to fix Apache, and who knows what else was not working. I have several applications running on my Linode VPS server in addition to the standard LAMP. So, I started the image recovery 20 minutes after I found out things weren’t working as well as they should be. My only other option now is to create a new server from scratch with the latest Ubuntu Server release, and then migrate all my apps and data. I think I’ll wait for 16.04 LTS to come out in a couple of months.