438 reputation
1417
bio website trusktr.io
location
age
visits member for 3 years, 5 months
seen Jul 17 at 2:26

trusktr.io


Feb
1
accepted Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Jan
30
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Oh, yeah, a one liner is what I meant. Could you give more details on how I'd change my command?
Jan
30
comment Multi-function CapsLock without X
Hey, look at this. Not the solution, but would help in understanding how it might be done: danielmiessler.com/blog/…
Jan
30
asked Is there a way to turn on the function key indicator based on capslock status on Lenovo ThinkPad Yoga?
Jan
29
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Thanks for the input. I'm not entirely convinced there isn't a way to do it though.
Jan
29
comment Multi-function CapsLock without X
Perhaps @LeoNerd knows the answer to your question (stackoverflow.com/users/1069726/leonerd). If X can do it, then there must be a way to do it without modifying kernel code. You might also like to take a look at kmscon, a new terminal to replace the old default linux terminal. It is much nicer and supports nice things like 24-bit colors. Who knows, maybe it has a way to map keys? wiki.archlinux.org/index.php/KMSCON
Jan
28
revised Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
added 43 characters in body
Jan
28
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Does it "press enter" when a new line character is catted? How might I achieve what I'm trying to do in a single command?
Jan
26
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Depends on the use case. I'm the only user, so it's more secure this way because an adversary now has to guess two passwords instead of just one.
Jan
25
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Thanks. Yeah, I ended up doing the first option. My setup only caches during the session, so logging out destroys it. sudo can be configured to use the root password instead of the user's password by putting Defaults rootpw in /etc/sudoers.
Jan
25
revised Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
edited body
Jan
25
asked Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Jan
19
comment How do you make a star symbol with the compose key in Linux?
Sweet. No Linux at the moment, so I'll try when I get a chance. Thanks!
Jan
4
comment How do I know that my CPU supports 64bit operating systems under Linux?
This is the ultra slow way, and not guaranteed to give you an answer.
Jan
4
comment How do I know that my CPU supports 64bit operating systems under Linux?
This answer is the best. It shows you an explicit "32-bit" or "64-bit". I don't see why people choose the other answer over this one. You don't even need to grep anything. Just doing lscpu is so simple. If they don't have the lscpu command then I could see why they voted for the other one.
Dec
20
asked How do you make a star symbol with the compose key in Linux?
Nov
12
comment Arch Linux GRUB install: “EFI variables are not supported on this system”
But what about on a system that doesn't support UEFI? How in the world do I install UEFI-capable GRUB on my USB stick to install Arch on a new UEFI computer if my working computer doesn't support UEFI? There's gotta be a way to do it!
Oct
23
awarded  Notable Question
Oct
17
comment Are there any linux terminals which can handle all key combinations?
Seems it's not possible with vte terminals yet (Gnome Terminal, Mate Terminal, Guake, etc) as far as I can tell.
Oct
13
comment Are there any linux terminals which can handle all key combinations?
In my terminal, backspace and ctrl+backspace both give ^?. Is there any possible way to distinguish between backspace and ctrl+backspace?