809 reputation
410
bio website
location
age 43
visits member for 2 years
seen 15 hours ago

I am a curious person who always likes to learn more. I like solving puzzles and I like working with computers. Which means I enjoy some of the more complex questions on this site, as well as the answers which go into details and explain all facets.


Jan
18
comment Win7 NTFS Partition is empty using Linux LiveCD
Also, windows weirdness is often best solved from within windows. after making the backup boot again from the windows 7 DVD, go back to the command prompt and run a fsck (chkdsk).
Jan
18
comment Win7 NTFS Partition is empty using Linux LiveCD
Before you do anything else. Make a backup of the disk. Not a file backup but a raw dump of the whole disk. (e.g. boot from a liveCD and dd the disks content to another disk or via netcat over the network). Only then attempt to modify the original. That way you can always revert if something appears to be a wrong move.
Jan
13
awarded  Yearling
Jan
3
revised Can I copy multiple directories into a single directory with a single command?
added 290 characters in body
Jan
3
answered Can I copy multiple directories into a single directory with a single command?
Nov
27
comment Update process name in shell, is it possible?
You might want to make sure that the new name you copy to argv[0] is as long or shorter than the original.
Oct
7
answered How to find IP address of device connected on the same network as PC based on MAC id
Sep
24
awarded  Autobiographer
Aug
1
comment Remove GET parameters from file names in directory
I am not familar with the rename utility. But find . -name \?* -ls does select all the files starting with a question mark. You could replace the -ls with a mv and basename.
Jul
31
revised Is it recommended to use zsh instead of bash scripts?
added 1 character in body
Jul
24
comment Copy over existing files without confirmation?
+1 for pointing at how to bypass an alias. Tempted to -1 for the brute force solution.
Jul
17
comment #!/bin/bash - no such file or directory
True. And as mentioned, there is the much more portable /usr/bin/env method to have a program locate bash (or an other interpreter) for you. No need to hardcode a pah.
Jul
17
comment #!/bin/bash - no such file or directory
I can not speak for all distributions, but when I do a create a test script with: #!/usr/bin/env bash echo Script is running! (no execute bit set) and I try to execute it with ./script.demo I get -bash: ./script.demo: Permission denied. chmod +x script.demo ./script.demo produces the expected "Script is running!"
Jul
7
comment Is it safe to take the drive image of the current working drive?
+1 for a good answer. But I disagree with the ranting. Dd is not bad. It is just inappropriate for this and explaining why that is the case is a good thing.
Jul
5
answered 24gb files removed but no changes to the available space. What could have happened?
Jun
28
revised I/O schedulers for normal harddisks
Fixed capitalisation errors.
Jun
28
comment I/O schedulers for normal harddisks
Also, may I suggest to change "normal disks" to "rotating disk", or 'normal classic disk with rotating platters' or whatever you prefer. Normal on its own is subjective and in a few years SSD is something else might just be considered normal.
Jun
28
comment I/O schedulers for normal harddisks
MRB or GPT is about the partition scheme. It is only relevant for a small part of the disk (the very few first sectors). The rest depends on the partitions you created and the filesystems on them. Not on the partition scheme. Thus part of your question is easy to answer: No, GPT or MBR has no influence on this.
Jun
28
suggested approved edit on I/O schedulers for normal harddisks
Jun
10
comment Kill process spawned by ssh when ssh dies
Can you test with the shell options set before starting the scp command? Or by starting a shell, setting shopt and starting scp ?