LINUX By Sandra Henry-Stocker If you, like me, have both Windows and Linux systems on your network, you don’t have to walk from one desk to another to
[See the full post at: Windows and Linux Interoperability]
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Windows and Linux Interoperability
Home » Forums » Newsletter and Homepage topics » Windows and Linux Interoperability
- This topic has 2 replies, 3 voices, and was last updated 4 years, 1 month ago.
AuthorTopicSandra Henry-Stocker
AskWoody MVPMarch 15, 2021 at 1:04 am #2350506Viewing 1 reply threadAuthorReplies-
Ascaris
AskWoody MVPMarch 15, 2021 at 8:15 am #2350599I started out on the PC with MS-DOS, and for years I loathed GUIs for actual work (they were kinda fun to play with, but we all knew that real work was done from DOS), but these days, I much prefer graphical tools even though I am comfortable with the command line.
This is all from a home networking perspective. I know little to nothing about the specifics of business environments.
If I need to remotely log in to a Windows PC, I use Remmina and start a RDP session from Linux, since Windows is already set up to handle that. For Linux to Linux, I like the free and fast NoMachine. I’ve never contemplated remoting into a Linux PC from Windows, so I’ve never investigated it. I’d probably grab the Windows version of NoMachine for that, since it’s already set up on the Linux PCs.
For file transfer, I used to use SMB shares (and I still do for Veeam backup), but it’s gotten to be even more of a hassle than usual since MS decided we should all stop using SMB1. At home, with all the PCs under my direct control (and all within line of sight), I use open shares, so the security flaws in SMB1 are meaningless. It doesn’t get any more insecure than open!
Now I mainly use KDE Connect, a part of the KDE Plasma desktop environment that also works in other desktop environments in Linux, and that also has versions for many other operating systems, including Windows, Mac, and Android. I’ve tried the Windows and Android versions and found them to work well.
KDE Connect is a very handy tool for file transfer and all kinds of other stuff (clipboard sharing, sending a URL directly to the browser on another PC, reading and writing SMS texts on your PC keyboard and sending them on the phone rather than having to use that small touch keyboard, even using your phone’s touchscreen as a touchpad for a PC, all kinds of stuff), and sending a file to another PC on the network (that has previously accepted the pair request) is as easy as right click, select “send via KDE connect to” and the name of the PC. The file is immediately sent (encrypted in transit) to the recipient, and placed in the directory the recipient has specified for incoming files. This is only for PCs that have been paired with Connect, and the recipient can turn on and off any of the various functions like file transfer without unpairing. It does not have the granularity of control of Windows SMB ACLs, but for a quick file transfer without all the headache, it’s pretty great.
As for text files… if you don’t know what she’s referring to here, is that in Windows (as in MS-DOS before that), a line end is demarcated with a carriage return (CR) and a linefeed (LF).ย Each of these is a non-printable control character whose name comes from way back in the typewriter era. CR means to return to the leftmost column, and LF means go down one line.
In the Unix family, a LF alone is used to indicate an end of a line. If this was a typewriter, a LF alone would only mean to go down one line (but don’t return to the leftmost column), but it’s not a typewriter. LF is just a non-printable character used to denote the end of a line. It could just as easily been a CR character alone (which I read that Macs did, but that may be from a time before Macs ran Unix too), or any other nonprintable character that had no other use.
To me, the single character makes the most sense… since there is no carriage and an end of line doesn’t specifically mean “go down a line” (it just means “this line ends here,” and it is up to the program to figure out what to do with that information), there’s no real point in always using them both together, and it just wastes an extra byte at the end of each line. Still, the HTML standard was written to use the Windows standard CR+LF rather than just picking one or the other, for reasons I don’t know.
Fortunately, Windows Notepad (as in Windows 10… I didn’t test older versions) and KDE’s Kate, and I would presume the other graphical Linux text editors, are able to handle this seamlessly. Kate (KDE text editor) opens and displays a Windows text file just fine, and if that file is saved, it retains the Windows CR+LF encoding and applies it also to any new lines created with Kate. Notepad behaved the same way in reverse, properly displaying the Linux text file and saving it with only a LF at the end of each line, retaining its existing format just as Kate had done.
When I created a Linux shell script in Notepad, though, it didn’t work perfectly when I tried to run the script in Linux. It tried to parse the extra CR as if it were a normal character. If I had put the Linux command ‘ls’ in the script, instead of displaying all of the filenames within the current working directory (like ‘dir’ in Windows), it would look for a command (or program) with three characters in its name, an l, an s, and a CR, and there is no command by that name. That’s when the dos2unix program would be useful! If you need it in Ubuntu or any of its derivatives, like Mint or Neon, it’s in the repo.
The quick Windows batch file I made in Linux worked fine in Windows 10’s command window, though it was a very simple one (three echo statements). It is possible there may be issues on the Windows side too from the different way of handling things. If you use text files to store miscellaneous info as I do, though, all of your old Windows files should work in your Linux editor too, and vice versa.
I have the text editor’s icon in the quick launch menu in the panel (taskbar in Windows) so I can hit it and jot down a note any time I wish. I did the same in Windows, going all the way back to Windows 95, the first Windows that had a taskbar. The odds of me finding an actual pen and paper in any given instant are about as bad as me being able to find or read the note later on, but I haven’t yet lost an entire PC (they are all plugged in when at home, so I am always reasonably certain they will be at the end of the cord). I have quite a lot of info stored in text files from over the years! Anything I think I may want to remember for later, I write it down in a file while it is fresh in my mind, and try to give it a descriptive, searchable title. My entire library of such things was just moved right in to Linux, and I never even notice that the text files are Windows files.
Dell XPS 13/9310, i5-1135G7/16GB, KDE Neon 6.2
XPG Xenia 15, i7-9750H/32GB & GTX1660ti, Kubuntu 24.04
Acer Swift Go 14, i5-1335U/16GB, Kubuntu 24.04 (and Win 11) -
Millwood
AskWoody PlusMarch 16, 2021 at 11:24 am #2351033
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 hour, 53 minutes ago -
Stay connected anywhere
by
Peter Deegan
1 hour, 55 minutes ago -
Copilot, under the table
by
Will Fastie
32 minutes ago -
The Windows experience
by
Will Fastie
45 minutes ago -
A tale of two operating systems
by
Susan Bradley
40 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
4 hours, 1 minute ago -
Where’s the cache today?
by
Up2you2
19 hours, 21 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
12 hours, 7 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
3 hours, 6 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
20 hours, 3 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 12 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 12 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 14 hours ago -
MS Passkey
by
pmruzicka
16 hours, 8 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 21 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 8 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 20 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 16 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
AI slop
by
Susan Bradley
19 hours, 23 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 2 hours ago -
Two blank icons
by
CR2
10 hours, 56 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
12 hours, 53 minutes ago -
End of 10
by
Alex5723
3 days, 14 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 12 hours ago -
test post
by
gtd12345
3 days, 20 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 10 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 12 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.