Skip to content

u/RayVermey

In this archive from Apr 2016 to Jan 2026

3
posts
40
comments
0
media
70
score

Top posts

Variable question in arch-chroot

Hi I have a series of commands that i want to execute in arch-chroot. I do this as follows: arch-chroot /mnt /bin/bash <<EOF UUID=$(blkid /dev/vda1 | cut -d" " -f5 | sed 's/PARTUUID="//' | sed 's/"//') echo $UUID EOF (There is more but the problem is that $UUID stays empty) running this commands loc...

6 points10 comments
Open on Reddit

Top comments

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.