Microsoft brings a lot of improvements to Bash on Ubuntu in Windows 10

By: Ivan Jenic
2 minute read

Microsoft introduced a lot of improvements to Windows 10 Preview with the latest build 14361. A feature that probably received the highest number of changes is Bash on Ubuntu on Windows 10. Microsoft revealed a huge list of improvements for the Ubuntu Bash console of the Subsystem for Linux feature that will help Linux developers do an even better job now.

Here’s what’s fixed and improved in Bash on Ubuntu in the Latest Windows 10 Preview build 14361:

  • DrvFs is now case sensitive when running in Bash on Ubuntu on Windows.
    • Users may create case.txt and CASE.TXT on their /mnt/c drives
    • Case sensitivity is only supported within Bash on Ubuntu on Windows. When outside of Bash, NTFS will report the files correctly, but unexpected behavior may occur interacting with the files from Windows.
    • The root of each volume (i.e. /mnt/c) is not case sensitive
    • More information on handling these files in Windows can be found here.
  • Greatly enhanced pty / tty support. Applications like TMUX are now supported
  • Fixed install issue where user accounts not always created
  • Optimized command line arg structure allowing for extremely long argument list.
  • Now able to delete and chmod read_only files from DrvFs
  • Fixed some instances where the terminal hangs on disconnect
  • chmod and chown now work on tty devices
  • Allow connection to 0.0.0.0 and :: as localhost
  • Sendmsg/recvmsg now handle an IO vector length of >1
  • Users can now opt-out of auto-generated hosts file
  • Automatically match Linux locale to the NT locale during install
  • Added the /proc/sys/vm/swappiness file
  • strace now exits correctly
  • Allow pipes to be reopened through /proc/self/fd
  • Hide directories under %LOCALAPPDATA%\lxss from DrvFs
  • Better handling of bash.exe ~. Commands like “bash ~ -c ls” now supported/li>
  • Sockets now notify epoll read available during shutdown
  • lxrun /uninstall does a better job of deleting the files and folders
  • Corrected ps -f
  • Improved support for x11 apps such as xEmacs
  • Updated initial thread stack size to match default Ubuntu setting and reporting the size correctly to the get_rlimit syscall
  • Improved reporting of pico process image names (e.g. for auditing)
  • Implemented /proc/mountinfo for df command
  • Fixed symlink error code for child name . and ..
  • Additional bug fixes and improvements”

Additionally, Bash also received support for the following syscalls low-levelw level APIs:

  • GETTIMER
  • MKNODAT
  • RENAMEAT
  • SENDFILE
  • SENDFILE64
  • SYNC_FILE_RANGE

Bash on Ubuntu is currently available to Windows Insiders running Windows 10 Preview only. However, Microsoft will release it to the public with the Anniversary Update, making it available to even more Linux developers who want to work on their scripts in Windows 10 without running a virtual machine.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading