Replace all backward slashes with forward slashes

echo 'C:\Windows\' | sed 's|\\|\/|g'
Use -i to edit file directly: sed -i 's|\\|\/|g' file
Sample Output
C:/Windows/

2
By: bugmenot
2021-07-15 20:07:37

What Others Think

echo "C:\\Windows\\" | tr '\\' '\\/
salvorapi · 19 weeks and 1 day ago
Der Befehl funktioniert in meiner bash. # echo 'C:\Windows\sonstwas\und_nochwas\' | sed 's|\\|\/|g' C:/Windows/sonstwas/und_nochwas/ # echo 'C:\Windows\' | sed 's|\\|\/|g' C:/Windows/ Wo ist dein Problem?
emmerich164 · 18 weeks and 5 days ago
Slither.io is an awesome io game released in 2016. Control a snake, eat glowing orbs to increase your snake's size. Your main objective is to become the longest worm in the arena and defeat all players. If your snake's head collides into any part of another snake, you will explode and the game is over. slitherio
picopa88 · 18 weeks and 3 days ago
I would like to thank you for your efforts in writing this article. I hope your best work in the future too. https://geometrydash.xyz
candymika · 18 weeks and 2 days ago
This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. https://potterswheelmedia.com/search-engine-optimization/
aadityaagarwal · 18 weeks and 2 days ago
This is extra ordinary blog post. Thank you for sharing...bathroom waterproofing Toowoomba
johnlead · 17 weeks and 4 days ago
A cool and calm environment in our home is a necessity. To find the Best Ac in India, we will help you through this post. Moreover, it is necessary for a comfortable and relaxed living in the climatic conditions of India. https://bestacinindia.co.in
mayjos · 16 weeks and 6 days ago
How would an amazing casino sound? A casino is essentially free money for you. This must sound quite amazing and it is only natural for you to love receiving money for free. A casino is beyond any doubt something that all online casino players love, but as an experienced casino player you should definitely know more about it and as someone just starting out, knowing all about what a casino is and how to get your hands on one can definitely be a tremendous advantage for you.?????
jhonyjhonsa22 · 16 weeks and 2 days ago
There are far more rogue casinos (casinos that cheat money) on the internet then the legitimate online casinos. If you accidentally sign-up and deposit your money into a rogue casino, most probably you will never have a chance with withdraw your money out from the casino. Even you have won and met the casino withdrawal requirements, the rogue casinos will have tons of reasons that stop you from getting your money into your pocket. Therefore, it is important to choose a legitimate and highly reputable online casino to play at. These online casinos normally have been verified by an independent regulator such as eCOGRA (e-Commerce Online Gaming Regulation & Assurance) along with audited payout certifications as a safe play online casino.?????
jhonyjhonsa22 · 16 weeks ago
Very interesting blog. A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definitely interested in this one. Just thought that I would post and let you know. https://tilerscanberra.com.au/outdoor-tiling/
johnlead · 15 weeks and 6 days ago
Thanks for sharing. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one. myloweslife
Gerlach · 15 weeks and 5 days ago
As more and more people find out and as the presence of God and his kingdom increase worldwide, there is going to be a release of the Devil’s captives like the world has never seen.deliverance ministry
Geekstation · 11 weeks and 1 day ago
Thirdly, break family curses from the root! Get rid of demons. Moreover, uncover hindering issues.deliverance ministry
Geekstation · 11 weeks ago
If the average Christian spends thirty minutes a day in devotional time and five hours a day watching television, what is going to have the greatest influence?deliverance help
Geekstation · 10 weeks and 6 days ago
We may do a little censoring, but we are feeding the wrong side of our nature.deliverance prayers
Geekstation · 10 weeks and 6 days ago
W88.Best là website cá c??c hàng ??u châu Á và ???c c?p phép b?i t? ch?c First Cagayan Leisure & Resort Corporation (CEZA) thu?c Chính Ph? Philippines. w88
Geekstation · 10 weeks and 5 days ago
I was impressed with the site that you created, so memotipasi many people to be more advanced, there also kunjugi me, as a comparison battery test chamber
Geekstation · 10 weeks ago
Man's lives, such as uncontrolled huge amounts, definitely not while countries furthermore reefs, challenging to seismic disturbance upward perfect apply. Luxury Car Rental Miami
Geekstation · 9 weeks and 6 days ago
seo what is seo search engine optimization
seofox · 9 weeks and 5 days ago
There are games that seem impossible to complete, but are they really? The Impossible Game will give you the most correct answer.
KevinDurant · 7 weeks and 6 days ago
User-accommodating Platform - Magento is an easy to use choice which offers organizations the opportunity to rapidly and [url=http://toweringmedia.com/]http://toweringmedia.com/[/url] effortlessly set up and oversee web stores.
jybyxu · 7 weeks ago
Rodrick thanks for sharing this! My extensive google search has already been paid using top quality awareness to share with you together with my own relatives. 1222 Angel Number
robinjack · 5 weeks and 6 days ago
OH! New year's resolution? You better list it out and do it! Never write the things that you cannot do instead write the things that you can surely do. Bigg Boss Marathi Winner
robinjack · 5 weeks and 6 days ago
Simply wanna remark that you have a very decent website , I enjoy the layout it really stands out. Google Ads Apps Certification
robinjack · 5 weeks and 6 days ago
Appreciate it for this marvelous post, I am glad I observed this website on yahoo. Dreams About Fire Interpretation and Meaning
robinjack · 5 weeks and 6 days ago
Interesting article , I am going to spend more time researching this topic 04:40 MEANING
robinjack · 5 weeks and 6 days ago
Glad to be one of the visitants on this awe inspiring website : D. How To Fix a Laptop That Won't Connect to WiFi
robinjack · 5 weeks and 6 days ago
Hey there, I think your website might be having browser compatibility issues. When I look at your blog in Opera, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog! orange cat names
robinjack · 5 weeks and 6 days ago
I understand where your coming from, and I simply love the article. For what its worth I also love the design of your website, extremely imaginative. Thank you. Amazon Daily Quiz Answers
robinjack · 5 weeks and 6 days ago
Aw, he did this quite a good post. In thought I wish to placed in writing such as this moreover C spending time and actual effort to produce a good article but exactly what can I say I procrastinate alot and never ever could have one thing done. 9 Natural Ways to Get Rid of Facial Hair That Actually Work
robinjack · 5 weeks and 6 days ago
Writing a great article takes commitment and pride in one’s work. It’s apparent that this writer has it together. Each point is well formatted. The grammar and spelling is excellent. 192.168.10.10
robinjack · 5 weeks and 6 days ago
Informative, pretty much as I had come to expect from this site. integral of cos^2x
robinjack · 5 weeks and 6 days ago
I have been checking out some of your articles and i must say pretty good stuff. I will definitely bookmark your blog. Is the Post Office Open Today?
robinjack · 5 weeks and 6 days ago
An individual entails the nature involving repay and then the additional will require Net ripoffs. Samantha Akkineni Age
robinjack · 5 weeks and 6 days ago
Hey! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no backup. Do you have any solutions to prevent hackers? trap on tech
robinjack · 5 weeks and 6 days ago
That is the excellent mindset, however is just not create any kind of sence whatsoever talking about that will mather. Just about any method thank you as well as i’d aim to share a person’s post towards delicius but it surely looks like it’s an issue using your sites on earth do you i highly recommend you recheck the idea. thanks yet again. techargue
robinjack · 5 weeks and 6 days ago
Good blog, I’m going to spend more time learning about this subject https://techrivulet.com/
robinjack · 5 weeks and 6 days ago
There is obviously a lot to realize about this. I believe you made various good points in features also. educationspike
robinjack · 5 weeks and 6 days ago
In the event you could e-mail me with just a few ideas on just the way you made your weblog look this glorious, I might be grateful. [Reply] https://lifeeducationpoint.com/
robinjack · 5 weeks and 6 days ago
i am always looking for some free stuffs over the internet. there are also some companies which gives free samples. [Reply] educationwaves
robinjack · 5 weeks and 6 days ago
Hair Getting regular trims is essential. Using a smoothing serum that works for your hair can do wonders to make your hair shiny and lovely inside a flash. Combined with a ceramic flat iron, your hair will look shiny and silky smooth in minutes, even if you didn’t eat correct or get enough rest sportsrill
robinjack · 5 weeks and 6 days ago
I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before. sportsinlet
robinjack · 5 weeks and 6 days ago
Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will certainly return. healthargue
robinjack · 5 weeks and 6 days ago
I respect your work , regards for all the good posts . healthweighup
robinjack · 5 weeks and 6 days ago
You got a very fantastic website, Sword lily I discovered it through yahoo. cybertechyt
robinjack · 5 weeks and 6 days ago
There is evidently a lot to know about this. I think you made various nice points in features also. https://techwarriorx.com/
robinjack · 5 weeks and 6 days ago
seo ]dsj juvdt seo search engine optimization ]dsj lukd seo seo shdj onlhj seo seokar newseo seo websima bartaramouz seo seoword.org seorooz.net seoyab.com seofox seofox.ir seolab.ir seo site ]dsj seo search engine optimization ]dsj search engine optimization seo website ]dsj seo definition ]dsj google seo ]dsj search optimization ]dsj shdj seo shdj search engine optimization seo ]dsj juvdt seo search engine optimization ]dsj lukd seo seo shdj onlhj seo seokar newseo seo websima bartaramouz seo seoword.org seorooz.net seoyab.com seofox seofox.ir seolab.ir seo site ]dsj seo search engine optimization ]dsj search engine optimization seo website ]dsj seo definition ]dsj google seo ]dsj search optimization ]dsj shdj seo shdj search engine optimization seo ]dsj juvdt seo search engine optimization ]dsj lukd seo seo shdj onlhj seo seokar newseo seo websima bartaramouz seo seoword.org seorooz.net seoyab.com seofox seofox.ir seolab.ir seo site ]dsj seo search engine optimization ]dsj search engine optimization seo website ]dsj seo definition ]dsj google seo ]dsj search optimization ]dsj shdj seo shdj search engine optimization seo ]dsj juvdt seo search engine optimization ]dsj lukd seo seo shdj onlhj seo seokar newseo seo websima bartaramouz seo seoword.org seorooz.net seoyab.com seofox seofox.ir seolab.ir seo site ]dsj seo search engine optimization ]dsj search engine optimization seo website ]dsj seo definition ]dsj google seo ]dsj search optimization ]dsj shdj seo shdj search engine optimization
seofox · 4 weeks and 2 days ago
https://www.google.com nice [url=www.google.com]BB KING[/url] keyword
charlibilson · 3 weeks and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: