Skip to content

u/1o8

In this archive from Jun 2019 to May 2020

2
posts
5
comments
0
media
20
score

Top posts

what just happened

i ran grep -r something / as the root user and my screen turned off for a second while the request executed. the screen turned on again, and it kept searching for a long time before i ctrl+c killed it (spent a long time searching /proc/). it made me think i should not do that again.

8 points9 comments
Open on Reddit

Top comments

interesting theory, but grep -r doesn't follow symbolic links

man grep
-r, --recursive
         Read  all  files  under  each  directory,  recursively,   following
         symbolic  links only if they are on the command line.  Note that if
         no file operand is given,  grep  searches  the  working  directory.
         This is equivalent to the -d recurse option.

i also wasn't in / at the time

i wasn't aware of /proc/self/, cool directory, i don't know much of /proc/ at all

6 points

I've never really understood the point of display managers. I just have exec startkde at the end of my ~/.xinitrc file, so when I log in using the default shell it starts up my desktop environment. Is this bad practice for any reason, or do people just like the way display managers look?

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