Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!
Windows 10

Deadly Linux Commands Little Cause For Concern With Bash On Windows

bash hero

At Build last week, Microsoft made quite a bit of noise in the Linux community when it announced that Bash would be coming to Windows 10 this summer. Yesterday, the company released a new build to Windows Insiders that contains Bash which means for the first time, we can tinker with the new feature.

Wanting to leave no stone unturned, especially when it comes to wrecking my own file structure, it was worth asking about the ‘deadly’ commands from Bash to see if they would do the same damage on Windows.

Fortunately, because of the way that Microsoft implemented Bash on Windows, commands such as rm -rf /, will not destroy you machine. As Scott Hanselman notes on Twitter, root on Windows is not the same as root on Linux which means this recursive delete command will not harm your data integrity.

Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

But, that doesn’t mean commands cannot disrupt your machine, if you do run Bash as admin and then /Mnt/c, it is still possible to nuke your Windows install. In short, the default setup for Bash will not let these commands do harm but if you really want to destroy your Windows install from within Bash, it is possible.

If you are curious what else is new in the build of Windows 10 that Microsoft released yesterday, you can check out our gallery here.

Related Topics:

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (0)

Leave a Reply

Brad Sams has more than a decade of writing and publishing experience under his belt including helping to establish new and seasoned publications From breaking news about upcoming Microsoft products to telling the story of how a billion dollar brand was birthed in his book, Beneath a Surface, Brad is a well-rounded journalist who has established himself as a trusted name in the industry.

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.

RSVP Now

Sponsored By