Showing posts with label windows 10. Show all posts
Showing posts with label windows 10. Show all posts

Wednesday, May 4, 2016

Bash on Windows:What it is , How Does It Work , Who Won The Game..?

Bash on Windows : What it is ?
How Does It Work ? & Who Won The Game..?



We know that , recently Microsoft announcednative support for Bash shell in Windows 10 .
Weeks after this announcement in microsoft developer conference, windows insider preview was released with this feature.

Bash on windows, or more specifically windows subsystem for linux is different from cygwin because, cygwin make use of linux utilities modified and compiled for windows. On the other hand, windows subsystem for linux works with same binaries used by linux. It is made possible by creating a platform which will map linux system calls to windows system calls on real time.

Mr Swapnil Bhartiya, an open source blogger has written an article which explains meaning of `bash for windows`, how does it work and who actually benefits from this, windows or ubuntu.



As the enterprise landscape is changing -- in favor of Linux and open source -- companies like Microsoft are embracing Linux. Most recently, Microsoft announced support for the Unix Bash shell on Windows, providing developers and administrators with an important tool for managing Unix and Linux servers.

Linux is a dominant player in the enterprise space. Microsoft says that more than 25 percent of machines on Azure Cloud run Linux. This means there's a huge developer base along with a huge administrator base that manages these machines. And, these people need tools to manage their infrastructure.

Microsoft is aware of this increasing demand, and they have tried to bring some basic capabilities like SSH to their PowerShell, but it's not enough. Developers can also use Cygwin, MSYS, or run Linux in a virtual machine, but all these "workarounds" have their own disadvantages and some serious overload.

Virtual machines, for example, are complete operating systems in themselves, they need dedicated processing power, memory and storage. That's not an ideal solution for developers working from their laptops, as system resources are shared between host and guest operating systems that slows the entire machine down.

Continue Reading Full Article @ Linux.com...

Friday, April 1, 2016

Ubuntu (Linux) For Windows

Ubuntu (Linux) For Windows


Ubuntu-windows

Soon you'll be able to run Linux apps on Windows thanks to a partnership between Microsoft and Canonical, the company behind the popular Ubuntu version of Linux.

This summer, Microsoft will release Ubuntu for Windows, the company announced at its annual Build conference today. This marriage of former foes will not only bring a set of key Linux tools to the Windows desktop but make it easy to install other Linux programs without the need for those programs to be rewritten to work on the Windows OS.

That might not sound particularly useful, since commercial software companies like Adobe and Intuit tend to prioritize building applications for Windows over Linux. But it could make life easier for programmers. "This is a developer-focused release that removes a major barrier for developers who want or need to use Linux tools as part of their workflow," Microsoft employee Scott Hanselman explained in a blog post.

More specifically, Ubuntu for Windows is ideal for web developers, says Fintan Ryan of the analyst firm RedMonk. If you're building a website or web application, chances are it's going to end up running on Linux. About 68 percent of websites are powered by Unix-style operating systems, according to a W3techs survey; other estimates put that rate even higher. Many programmers, particularly those who work for large corporations, are still stuck using Windows to develop software that will eventually run on Linux, Ryan says. The trouble is, Linux has its own tools and its own way of doing things. Ubuntu for Windows could create a more consistent experience for web developers working on Windows and make their lives a bit easier overall.

The Big Bash


Ubuntu-windows

For example, Microsoft demonstrated today how developers can use the the popular open source command line interface Bash to manage a web project from a Windows desktop using the exact same commands they'd use on a Linux server.

Sure, you can already use Linux apps on Windows by running the entire operating system in what's called a virtual machine, but that can be resource intensive. Many of the tools Linux developers use are already available through Cygwin and other efforts to port open source apps to Windows, but that effort requires each application to be at least partially rewritten.

Ubuntu for Windows will use a new piece of technology Microsoft created called Windows Subsystem for Linux, Canonical's Dustin Kirkland said in a blog post. Instead of relying on a virtual machine or manually rewriting apps, the Windows Subsystem for Linux translates commands meant for the Linux kernel-the core part of the operating system-into commands for the Windows kernel. It's not perfect, Hanselman and Kirkland admit, and there's much work left to be done. But it should become possible to run many Linux tools on Windows without needing to make any changes.

Canonical's Dustin Kirkland explains a bit further. Users will be able to type "bash" into the Windows 10 start menu to open a command line console that users Ubuntu's /bin/bash.

The system features a full Ubuntu user space complete with support for tools including ssh, grep, wget, curl, python, mysql, ruby, php, vim, and more.

Kirkland says Bash for Windows 10 differs from tools like Cygwin, because it's not just a set of tools that have been recompiled to run on Windows. Instead, the complete Ubuntu subsystem is available, making this more like an emulation layer. It's kind of like the opposite of WINE, which allows you to run (some) Windows apps on Linux.

In this case, Linux system calls are translated into Windows calls in real-time, allowing you to run some Ubuntu programs on Windows without making any modifications to those programs.

Currently the tools are based on Ubuntu 14.04, but soon everything will be updated to Ubuntu 16.04.

Ubuntu for Windows is part of Microsoft's larger strategy to make Windows the main place programmers develop applications for a wide variety of platforms, from Linux to Android to iOS. But Ryan doubts Microsoft will win any Linux developers over to Windows with this new piece of technology. Rather, he thinks it's designed to keep developers from defecting away from Microsoft. Given a choice, many developers who use Windows for work today would rather just use Linux or the Unix-like Macintosh OS X operating system to do development work than mess with virtual machines or ported apps. Making life easier for them might keep them using Microsoft products once they have a say in what they use.


Sunday, February 14, 2016

How To Install Sublime Text 3 (Build 3103) On Windows and OS X

How To Install Sublime Text 3
(Build 3103) On Windows and OS X

sublime text logo

Sublime Text is a cross-platform source code editor with a Python application programming interface (API). It natively supports many programming languages and markup languages, and its functionality can be extended by users with plugins, typically community-built and maintained under free-software licenses.

Features :

The following is a list of features of Sublime Text:
  • "Goto Anything," quick navigation to files, symbols, or lines
  • "Command palette" uses adaptive matching for quick keyboard invocation of arbitrary commands
  • Simultaneous editing: simultaneously make the same interactive changes to multiple selected areas
  • Python-based plugin API
  • Project-specific preferences
  • Extensive customizability via JSON settings files, including project-specific and platform-specific settings
  • Cross platform (Windows, OS X, Linux)
  • Compatible with many language grammars from TextMate

Sublime Text is one of the best and light weight text editor or IDE I've used ever. It's simple , fast, amazing performance, extendable through plugins. Sublime Text 3 is right now in beta. The latest build is 3103.
Here i am going to show how to install this latest build of sublime text on windows and OS X.

Installing Sublime Text On Windows System

Portable or Not Portable?

Sublime Text comes in two flavors for Windows: normal, and portable. Most users should be better served by a normal installation. Use the portable version only if you know you need it.

Normal installations separate data between two folders: the installation folder proper, and the data directory (user-specific directory for data; explained later in this guide). Normal installations also integrate Sublime Text with File Explorer.

Portable installations keep all files needed by Sublime Text in a single folder. This folder can be moved around and the editor will still work.


How to Install the Normal Version of Sublime Text

for 32 bit systems

  1. Download the installer (.exe file)
  2. Double click on the installer

for 64 bit systems

  1. Download the installer (.exe file)
  2. Double click on the installer

How to Install the Portable Version of Sublime Text

for 32 bit systems

  1. Download the compressed files
  2. Unzip them to a folder of your choice
You will find the sublime_text.exe executable inside that folder.

for 64 bit systems

  1. Download the compressed files
  2. Unzip them to a folder of your choice
You will find the sublime_text.exe executable inside that folder.


For OS X :

  1. Download .dmg file
  2. Open .dmg file
  3. Drag the Sublime Text 3 bundle into the Applications folder

To create a symbolic link to use at the command line issue the following command at the terminal:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
See How To Install Sublime Text 3 (Build 3103) On Linux

Monday, November 9, 2015

Boot-Repair an ultimate solution for frequent boot problems

Boot-Repair
an ultimate solution for frequent boot problems

Boot-Repair is a simple graphical tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.

Boot-Repair lets you fix these issues with a simple click, which (generally reinstalls GRUB and) restores access to the operating systems you had installed before the issue.

Boot-Repair also has advanced options to back up table partitions, back up bootsectors, create a Boot-Info (to get help by email or forum), or change the default repair parameters: configure GRUB, add kernel options (acpi=off ...), purge GRUB, change the default OS, restore a Windows-compatible MBR, repair a broken filesystem, specify the disk where GRUB should be installed, etc.

You May Also Like: How to Kill Linux Processes/Unresponsive Applications Using 'kill & pkill' Command Warning: This software is able to share information about your device for diagnostic purposes. You can chose to opt out in advanced settings. Please read this page fully. The log is quite helpful especially for the novice users.

Features :

  • Easy-to-use (repair in 1 click ! )
  • Free (GPL open-source license)
  • Helpful (Boot-Info summary to get help by email or on your favorite forum)
  • Safe (automatic backups)
  • Reliable (300.000 users per year)
  • Can recover access to Windows (XP, Vista, Windows7, Windows8).
  • Can recover access to Debian, Ubuntu, Mint, Fedora, OpenSuse, ArchLinux...
  • Can recover access to any OS (Windows, MacOS, Linux..) if your PC contains Debian, Ubuntu, Mint, Fedora, OpenSuse, ArchLinux, or derivative.
  • Can repair MBR-locked OEM computer boot if the original bootsector has been saved by Clean-Ubiquity
  • Can repair the boot when you have the "GRUB Recovery" error message
  • Options to reinstall GRUB2/GRUB1 bootloader easily (OS by default, purge, unhide, kernel options..)
  • and much more ! (UEFI, SecureBoot, RAID, LVM, Wubi, filesystem repair...)

Getting Boot-Repair

1st option : get a disk including Boot-Repair

The easiest way to use Boot-Repair is to create a disk containing the tool (eg Boot-Repair-Disk, a disk starting Boot-Repair automatically), and boot on it. Remark : it is recommended to install the ISO on a live-USB (eg via UnetBootin or LiliUSB or Universal USB Installer). Do not burn it on a DVD if your computer has Windows8 pre-installed, or if your boot is in EFI mode.

You May Also Like: 58 Cool Linux Hacks!

2nd option : install Boot-Repair in Ubuntu

- either from an Ubuntu live-session (boot your computer on a Ubuntu live-CD or live-USB then choose "Try Ubuntu") or from your installed Ubuntu session (if you can access it) - connect to the Internet - open a new Terminal, then type the following commands (press Enter after each line):

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Using Boot-Repair:

Recommended repair:

  1. launch Boot-Repair from either :
    • the Dash (the Ubuntu logo at the top-left of the screen)
    • or by typing 'boot-repair' in a terminal
  2. Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.
  3. If the repair did not succeed, indicate the URL to people who help you by email or forum.
Warning: the default settings are the ones used by the "Recommended Repair". Changing them may worsen your problem. Don't modify them before creating a BootInfo URL, and asking for advice on Ubuntu Forums Absolute Beginners Section or in Installation and Upgrades.

You May Also Like: Nitroshare: A Cross Platform Tool To Easily Share Your Files On Local Network Between Multiple Devices

Advanced options

If you would like to opt-out of the paste.ubuntu.com link creation (Not recommended for inexperienced users who are seeking help from a forum or IRC member), you can. Simple click on the Advanced Options, and find the "Other Options" tab. Uncheck "Upload the report to a pastebin".
The log may include UUIDs, LUKS headers, hex dump of your first sectors of your drives, device serial numbers, your username and more.

You May Also Like: Have More Fun with Windows Vs Mac Vs Linux: 10 Funny Jokes In Pictures

For More See This Links :

  1. Official website of Boot-Repair
  2. Topic "Boot-repair: Graphical tool to repair the PC boot in 1 click !" - on Ubuntu forum, for any questions/comments.
  3. HOWTO : easily create a Boot-Info summary
  4. Boot Repair on GitHub
For More : Click to see more interesting posts on OpensourceInside

Wednesday, September 23, 2015

Have More Fun with Windows Vs Mac Vs Linux: 10 Funny Jokes In Pictures

Windows Vs Mac Vs Linux: 10 Funny Jokes In Pictures

 

The Windows Vs Mac Vs Linux debate continues. Their fans continue to be at the each others throat. The baseline of most debate is that Windows is clumsy and full of security issues, Linux is complicated and not user-friendly and Mac is all looks that burns your money for each and everything. There are forums, dedicated websites, Facebook pages and tons of articles dedicated to the Windows Vs Linux Vs Mac debate but don’t worry this post is not to find out who is the best of them all.
In this post I have collected ten funny pictures on Windows Vs Mac Vs Linux debate. Similar to what I did with 10 funny pictures on Obama and Prism scandal. To clarify, I do not own the copyrights for any of these pictures. I could not mention their sources as they were already “recycled” and I could not be certain of the original sources. If you have the copyrights of any of these and you object their uses in such a manner, do let me know and I’ll remove it. That said, enjoy the fun with Open Source.