Friday, April 29, 2016

How to Enable the Linux Bash Shell in Windows 10

http://www.laptopmag.com/articles/use-bash-shell-windows-10


Linux geeks rejoice. As of build number 14328, Windows 10 allows you to run a special flavor of the Bash shell (on Ubuntu) in a window. Using Bash, you can navigate around the file system, install and run Linux command line apps like the vi text editor or, with some unofficial tweaks, try to load windowed programs. However, before you can use Bash in Windows 10, you have to turn it on. Here's how.
1. Navigate to Settings. You can get there by clicking the gear icon on the Start menu.
Click gear icon for settings
2. Click Update & security.
Select update & security
3. Select For Developers in the left column.
For developers
4. Select Developer Mode under "Use developer features" if it's not already enabled.
Use developer features
5. Navigate to the Control Panel (the old Windows control panel). You can get there by hitting Windows Key + X and selecting Control panel from the pop-up menu that appears.
select control panel
6. Select Programs and Features. If it's not visible, make sure you select "Large icons" from the "View by" menu.
select programs and features
7. Click "Turn Windows features on or off."
Turn windows features on or off
8. Toggle "Windows Subsystem for Linux" to on and click Ok.
Toggle Windows Subsystem for Linux to On
9. Click the Restart Now button.
click restart now
10. Search for Bash in the Cortana / Search box and click its icon.
bash shell
11. Type "y" and hit Enter when promoted to install Ubuntu. The system will then take a few minutes to install Ubuntu in the command prompt window.
type y
12. Create a username and password.
Enter username and pwd
You can now use the Bash shell as if you were on a a computer with Ubuntu installed as its primary OS. There are a few command line apps built-in, including the vi and pico text editors, and you can add more by using the apt-get command. There's also a program which allows you to run windowed Ubuntu apps in Windows 10.

Friday, April 15, 2016

Microsoft is adding the Linux command line to Windows 10

http://www.theverge.com/2016/3/30/11331014/microsoft-windows-linux-ubuntu-bash?utm_campaign=theverge&utm_content=article&utm_medium=social&utm_source=facebook


https://channel9.msdn.com/Events/Build/2016/P488/player


Microsoft is reaching out to Linux developers in a way that the company never has before. "The Bash shell is coming to Windows. Yes, the real Bash is coming to Windows," said Microsoft's Kevin Gallo on stage at today's Build 2016 keynote. The announcement received an uproarious applause from the crowd. The new functionality will be enabled as part of this summer's Anniversary Update to Windows 10.
"This is not a VM. This is not cross-compiled tools. This is native," he said. "We've partnered with Canonical to offer this great experience, which you'll be able to download right from the Windows Store." Third-party tools have enabled this sort of thing for years, but a direct partnership between Microsoft and Canonical should offer even more flexibility and convenience for developers who prefer using these binaries and tools.
More importantly, it represents Microsoft's refreshing stance on open-source development. VP Terry Myerson teased "more coming soon" in regards to other possibilities signaling a modernized and extremely open Windows 10. This blog post by Microsoft's Scott Hanselman offers a deeper explanation of the move. "This is brilliant for developers that use a diverse set of tools like me," he said. "This is a genuine Ubuntu image on top of Windows with all the Linux tools I use."

Update: Microsoft has posted a very in-depth video covering Bash on Windows, which we've embedded at the top of this article. It should answer just about any question you might have.


Windows 10's Bash shell can run graphical Linux applications with this trick

http://www.pcworld.com/article/3055403/windows/windows-10s-bash-shell-can-run-graphical-linux-applications-with-this-trick.html


Microsoft said it wouldn’t support graphical applications in Bash on Windows. But enterprising geeks like w2qw on Reddit have already figured out how to run graphical applications with Bash on Windows 10. The underlying code is much more capable than Microsoft initially let on.

Install an X server

This is possible because the Bash shell for Windows is more than just a shell. Microsoft built an entire “Windows Subsystem for Linux” that allows Windows 10 to natively run Linux applications, even graphical ones. Install Bash for Windows 10 and you’ll actually have a complete operating system layer for running Linux applications and a full Ubuntu userspace environment—that is, everything above the Linux kernel.
The only missing piece is an X server that allows those graphical applications to appear on your Windows desktop. This is basically the same technique people would use to run graphical Linux desktop applications over a network.
The Xming X Server for Windows works well for this, although there are other X servers for Windows and they should also work. Download and install it on your Windows 10 PC to get started. You can just use the default settings and it’ll work fine. Launch Xming and it will appear in your system tray, running in the background and waiting for you to launch a graphical Linux program.
Windows 10 running Linux desktop applications. w2qw
This is Windows 10 running Linux desktop applications.

Launch applications from Ubuntu’s Bash shell

You’ll now need to install a graphical application, which you can do with the standard apt-get command in the Bash shell environment. The apt-get command has access to Ubuntu’s entire software repositories, so you can use it to install graphical applications without any additional tweaks.
For example, to install the Linux version of Firefox from Ubuntu’s repositories, you’d just run the following command:
apt-get install firefox
Once you’ve installed the program, you can specify the X server and then launch the application. For example, to launch Firefox, run the below commands. (To launch another graphical application, just specify its name instead of “firefox.)”
export DISPLAY=:0
firefox
Assuming you’re running an X server like Xming on your Windows PC, the graphical application should run. It may not run as speedily—applications can’t use direct rendering to run on your hardware directly.
This is currently a bit unstable. Many applications I tried were unable to run reliably. Some people report better success. But bugs are no surprise, as the Windows Subsystem for Linux is beta and this is its first release. As Microsoft improves the underlying code, applications—even these graphical applications—should work better and better over time.

Tuesday, April 12, 2016

Ttech Skills That Will Gives You Huge Salary

PaaS
Cassandra
MapReduce
Cloudera
Apache H Base
Pig
Advance Business Application Programming
Chef
Flume

Wednesday, April 6, 2016

WhatsApp introduces end-to-end encryption: Six things you need to know

http://tech.firstpost.com/news-analysis/whatsapp-introduces-end-to-end-encryption-six-things-you-need-to-know-307643.html


Last night, millions of users worldwide were greeted with a message in the chat section stating “Messages you send to this chat and calls are now secured with end-to-end encryption.” and with that we are pretty sure that many government organisations may have panicked. But to the casual WhatsApp user, there was a panic of a different type.
Clearly, WhatsApp could have put out a slightly longer explanation instead of the one above, that lead to mass panic with everyone trying to get on board the encryption bandwagon by trying to verify themselves on their chats.
WhatsApp did provide one on its blog (it’s lengthy and detailed) but here are few simple pointers that you need to keep in mind:
WhatsApp’s encryption is turned on by default for all users.
Users so far have no choice to opt out of the encryption for now (considering the number of encryption cases popping up worldwide, we are pretty sure nobody would want to opt out). As long as you have an updated version of the WhatsApp app on your supported mobile platform, you and your friends can now enjoy the perks of secure and end-to-end encrypted conversations turned on by default without any extra taps.
How do I know that encryption is switched on?
Well you simply tap on the profile or the info page(tap on the name in the header) of your contact, where you will find a section describing the status of the encryption of your chats and calls.
WhatsApp Encryption Point on Android
WhatsApp Encryption on Android.
WhatsApp Encryption Point on iOS
WhatsApp Encryption on iOS.
The latest version of Whatsapp app
No matter which platform you are on, you may have noticed a slew of updates (like on iOS) that claimed “Bug fixes” coming in the past few days. Indeed, this was the WhatsApp team making a couple of tweaks, with most of it coming from the server side and some for a user’s smartphone. With that said, you and your friends will need update their respective WhatsApp apps on their respective smartphones that run different mobile operating systems (Android, iOS etc.). If your friend has not updated their app to the latest version you will be notified about the same in the info page under encryption.
The verification mess
Upon accessing the info page, you will be able to check on the status of your encryption. The point to be noted here is that it is turned on by default, meaning you do not need to go any further.
WhatsApp Encryption How to verify on iOS
To Verify, click on Encryption in Info page and then hit the Scan Code button.
Only those who updated their app later or changed their smartphone after the time the encryption was rolled out who will need to access this area to verify (or check) whether their encryption is working or not (in all probability it will be, but more on that in our next pointer). So for the most of us, we will not need to tap on the Encryption section.


It is still a bit of a mess
Even though most will not need to access the Encryption section on the info page, users may have noticed that some of their friends even with their updated versions of the app still show that their messages are not encrypted. While the WhatsApp states that their apps may not be updated to the latest one, we think that this is a bug. We tested out the same in our office and with one iOS user connecting to an Android user, things worked fine.
WhatsApp Encryption problems
With another Android user however, it kept showing encryption turned off even though the iOS user was greeted with a chat encryption turned on message. This could either be a bug, or its just that the feature is gradually rolling out server side, so there is absolutely no indeed no need to panic.
End-to-end encryption
End-to-end encryption on WhatsApp applies to everything or every feature that is available on WhatsApp. Whether it’s calls, messages, photos, videos, files, and even voice messages, all of them will be encrypted. So technically nobody apart from you or your friend will be able to understand them. In transit from one device to another the data will only appear to be garbled text without the keys to put that text together, which resides on devices being used to communicate. Moreover, there are separate keys for each conversation or chat so WhatsApp has provided something really secure indeed.