1,755 reputation
515
bio website
location
age
visits member for 2 years, 5 months
seen Nov 20 at 14:29

Sep
4
revised Apache2 Server configuration with subdomain
added 338 characters in body
Sep
4
revised Apache2 Server configuration with subdomain
added 338 characters in body
Sep
4
answered Apache2 Server configuration with subdomain
Sep
3
comment How to split a text file into multiple text files
This works with gawk but not with awk (at least the awk on a default Debian system). awk's match function only allows two parameters, so your example gives a syntax error with awk.
Sep
3
revised How to split a text file into multiple text files
deleted 7 characters in body
Sep
3
comment How to split a text file into multiple text files
@terdon No, if you use STDIN you cannot pass the text file as parameter. However, script.pl < test.txt is better than using cat - I updated my answer accordingly.
Sep
3
comment Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external
@ron This is correct: With -r 10 ddrescue will try up to 10 times reading bad sections of your hard disk. After the 10th try it will continue. Also see the last example which I added to my answer.
Sep
3
revised Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external
added 279 characters in body
Sep
2
comment Why is my system using port 4?
TCPView (part of the free Sysinternals Suite) can be very helpful to find out what application is using/listening on which ports.
Aug
30
comment When can authorized key user feature fail?
Follow this answer and check if public key auth is working correctly with ssh -v.
Aug
30
comment When can authorized key user feature fail?
Does it ask for the password of your ssh user login or does it ask for the password of the private key file? Perhaps you just don't provide your private key correctly - are you using ssh-agent?
Aug
30
revised Partition used and available size in bytes
added 18 characters in body
Aug
30
answered Partition used and available size in bytes
Aug
30
comment Partition used and available size in bytes
The actual size of what? Available file system space? Used file system space? Partition size? For partition size just use your parted /dev/sdd1 unit B print command, otherwise use df -B1 and don't sum up the used + available space but use the given total numbers instead.
Aug
30
comment Partition used and available size in bytes
No, I guess this is too much. But I don't know your setup, e.g. if your file system is using the maximum available size of your partition. So what is it that you actually want?
Aug
30
comment Partition used and available size in bytes
The space allocatable by a file system is not equal to the size of the underlying partition. df reports file system sizes, parted reports partition sizes. The difference is caused by file system overhead.
Aug
30
comment Partition used and available size in bytes
Try this command: df -B1
Aug
29
revised Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external
added 311 characters in body
Aug
29
comment Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external
@Ron By using your command you are imaging your whole drive to a single partition. You will not be able to easily read the data from there by just mounting the partition afterwards (actually, the partition won't be mountable anymore). I suggest reading the manpage of ddrescue and using image files instead (see my second suggestion).
Aug
28
revised Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external
added 513 characters in body