Skip to content

u/lutusp

In this archive from Mar 2016 to Sep 2022

5
posts
11k
comments
2
media
20k
score

Top posts

Encrypt your drive, lose your files.

In this forum we regularly hear from people who encrypt their drives (isn't that what all the Linux professionals, the experts, do?) then forget their password, or change their drive's configuration, or one of a dozen other things, and lose all their files. Here's today's example -- some

0 points6 comments
Open on Reddit

Top comments

If Ubuntu is Debian-based, why is it so much easier to install things in Ubuntu than it is in Debian?

The answer is that Canonical has a bigger investment in ease-of-use.

... in fact, what does it mean to be Debian-based?

Ubuntu uses the same broad infrastructure, including repositories and some internal configurations, borrowed from Debian. Easier than starting over.

Why doesn't Debian do things like Ubuntu?

Parents rarely adopt the behavior of their children.

190 points

I think this is a way to save people from having to explicitly install network-based resources. In principle, a small ISO could install a minimal bootable system, after which the user could choose which packages to install after the system was running.

I think these large install ISOs are meant to simplify the installation process by bundling nearly everything in one file.

Ubuntu has a minimal install ISO that's only 65MB. Essentially everything is downloaded from the network after the system is running.

My point is that the size of the ISO doesn't mean the installed system is bloated compared to other similar distributions.

116 points

Please try to explain it in simple terms because I will not understand it otherwise.

Imagine that a program is a box with pipes leading to and from it.

The input pipe is called stdin, means "standard input". Keyboard, or data from a file, that sort of thing.

There are two output pipes: stdout and stderr, means standard output and standard error. For various reasons early in the history of Unix, people decided to have separate pipes for normal output and errors.

If a programmer wants to discard the output from a pipe, he sends it to an infinite bit-bucket in the sky with the location /dev/null.

One more thing. The pipes have numbers:

  • 0 : stdin

  • 1 : stdout

  • 2 : stderr

So if I want only normal data and no error messages, I would say:

   $ ls -la  2>/dev/null

This says, "Show me the normal output of my command, but throw away any error messages".

That wasn't difficult, was it? Just picture a box with one input pipe and two output pipes.

82 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.