Skip to content

u/beermad

In this archive from Aug 2015 to Jan 2025

55
posts
579
comments
8
media
2k
score
3 saved before deletion

Top posts

Is there a way to preserve quotes from an "ls" listing through a pipe or redirect?

If I run ls on a directory where there are spaces in the filenames, the output wraps the names in quotes. But if I then run that list through a pipe (say, into more) or redirect the output to a file, the quotes are stripped. I'm sure there are some good search terms to find the answer, but they've e...

17 points7 comments
Open on Reddit

How would you photograph this scene?

Walking home from the pub tonight, I saw what could have been a superb composition. The full Moon with a halo from high cloud, with Jupiter about 5 degrees away. And a contrail back-lit by the Moon, bisecting them. And I have no idea how, if I'd had my camera, I could have photographed that scene. A...

12 points7 comments
Open on Reddit

Top comments

I can only say that my systemd system boots in a fraction of the time it used to take with the old init system.

Though as I typically only reboot when I've had a Manjaro system upgrade, it's not something which is as important to me as it used to be. In the old days when I had to boot it every day with init, I'd power it up when I got up in the morning so it would be ready once I'd got dressed. I wouldn't need to do that now.

71 points

As long as you use a Windows-type partition, such as NTFS, I doubt there's a Linux system that won't be able to use it. On the other hand, Windows won't be able to use Linux filesystems, such as EXTn.

Bear in mind that Windows filesystems are a lot less flexible than Linux ones, for example, if I'm not mistaken they don't support mixed-case filenames, so file1.jpeg and File1.jpeg will be the same file. And obviously Linux filesystem-wide backup utilities may not work as well on Windows filesystems (for example, "dump" only works on EXTn).

35 points

Hackers want to attack the largest and most prominent target, which is Windows. Linux might be equally vulnerable but it's hard for a hacker to justify an effort directed toward it when the same effort would target 100 times as many machines.

​

While that may be true on the desktop, Linux computers constitute a huge proportion of the servers running websites, so they make for a tempting target for crackers since there's a lot to be gained by getting the sort of information people put into websites (credit cards, personal details, etc).

Although I'm not as up-to-date as I was before I retired from my career in IT, I certainly recall that the vast majority of successful cracks of webservers when I was working were those targeting IIS rather than Apache. So the less ubiquitous target was the one most likely to be compromised.

This says to me that the *nix security model is probably inherently more secure than that of Windows. And that will almost certainly be the case on the desktop as well as in the server world.

30 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.