Reputation
275
Top tag
Next privilege 300 Rep.
Create new tags
Badges
2 8
Newest
 Yearling
Impact
~62k people reached

Aug
25
revised Why pipe to cat only to redirect?
deleted 1 character in body
Aug
25
answered Why pipe to cat only to redirect?
Aug
20
revised How to prevent GNU screen from clearing the screen when terminating?
edited body
Aug
20
comment How to prevent GNU screen from clearing the screen when terminating?
@sparticvs: I'm using screen to keep the program running, and make it possible to reattach after a hangup. Hangups happen 1% of the time, the main use case is that the program runs for a couple of minutes without a hangup, and then exits (and then screen also exits).
Aug
19
awarded  Yearling
Aug
19
asked How to prevent GNU screen from clearing the screen when terminating?
Aug
18
asked making containers use a different set a block devices
Mar
30
comment Transfer a file over a unstable SSH connection
It's not possible to resume an upload with scp. It's possible to resume an upload with rsync --partial. It's not possible to resume an upload with sftp. For the other direction, i.e. resuming downloads, you can use rsync --partial, sftp reget or sftp get -a.
Dec
15
awarded  Necromancer
Nov
23
comment How to print total number of file descriptors with index 24
Use setopt nullglob in zsh the get 0 when there are no matches.
May
20
comment useradd command's argument issue
Please provide the full shell script anyway (it can be as short as the command above), so it's easier for others to reproduce the problem.
May
20
comment useradd command's argument issue
This argument truncation looks very strange to me. Does it also happen if you create a shell script (#!/bin/sh) and run it? Can you please add the full source of your shell script and the full strace output? What happens if you run the shell script with /bin/bash?
Jun
29
awarded  Critic
May
19
comment How do I detect wheter the audio cable is connected?
The hardware can detect it, because it mutes the internal speaker as soon as I connect the external speaker.
May
19
comment How do I detect wheter the audio cable is connected?
@CL: The device at the other end is an externally powered speaker, which is turned on. I don't think it has any smart self-announcement capabilities. How do I figure out which HDA codec I have?
May
19
asked How do I detect wheter the audio cable is connected?
May
6
revised Cross-process dup on Linux
fixed argument order
May
6
awarded  Scholar
May
6
accepted Cross-process dup on Linux
May
6
suggested approved edit on Cross-process dup on Linux