Reputation
560
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 5 22
Impact
~84k people reached

  • 0 posts edited
  • 0 helpful flags
  • 48 votes cast
Jun
12
awarded  Popular Question
May
21
accepted Is each process considered a thread?
May
20
asked Is each process considered a thread?
May
16
comment How is a message queue implemented in the Linux kernel?
So does the message (type and text) get cloned/copied and then that copy gets put into the system's message queue?
Apr
8
awarded  Famous Question
Feb
12
comment How do I send HTML email using linux 'mail' command?
@user16144 No, but it's a nice alternative that the OP might like to consider.
Feb
12
comment How do I send HTML email using linux 'mail' command?
I have the mail command in Arch Linux provided by the s-nail package, and the -a option is entirely different.
Feb
9
comment Is there a way to turn on the function key indicator based on capslock status on Lenovo ThinkPad Yoga?
@slm That'd be awesome if I could do that. I probably won't do it until sometime after I'm graduate after this semester, in May.
Feb
1
comment Why does this ssh command not work? (cat ./file | ssh <user@host> “cat | sudo -t -t 'cat > /root/location/file'”)
Aaah, sweet! That makes sense, and it works here in Git-Bash for Windows (I feared scp might no be available, but it is). Based on your answer, I've also come up with an ssh-only version: cat ~/Desktop/blah.png | ssh trusktr@50.116.4.56 "cat > ~/blah"; ssh trusktr@50.116.4.56 "sudo mv ~/blah.png /path/to/blah.png".
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