418 reputation
1414
bio website trusktr.io
location
age
visits member for 3 years, 4 months
seen Jul 17 at 2:26

trusktr.io


Jul
17
comment Terminal 256 colors don't work through Tmux
This doesn't work for me. Neither does using xterm instead of screen work.
Jul
2
awarded  Curious
Jun
28
accepted What's the easiest way to resize an ext4 partition from the command line?
Jun
25
comment What's the easiest way to resize an ext4 partition from the command line?
I haven't seen that specific one, but the gist of it is that you delete the partition then make a new one of the size you want. But what I'm inherently doing is not "deleting" anything, just resizing. The best answer to this question would likely be a way to "resize" a partition, not delete one and create a new one, and the resize2fs steps would be entirely unnecessary and happen in the background (because naturally and obviously the user also wants to use all the space in the partition so it shouldn't be an extra step).
Jun
17
awarded  Yearling
Jun
16
revised What's the easiest way to resize an ext4 partition from the command line?
added 312 characters in body
Jun
16
revised What's the easiest way to resize an ext4 partition from the command line?
added 205 characters in body
Jun
16
asked What's the easiest way to resize an ext4 partition from the command line?
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/…