2,317 reputation
318
bio website
location England, United Kingdom
age 44
visits member for 3 years, 8 months
seen 21 mins ago

A software engineer, programmer, project manager, Gnu+Linux user, and a dad.


14m
revised Find a file where name starts with a capital letter
added 30 characters in body; edited title
17m
revised Is there a way to execute commands while getting user input?
edited tags
17m
comment Is there a way to execute commands while getting user input?
What version of bash? and did you try -t 0.5 (the manual says fractional, but 1/2 does not work, and 0.5 does).
2d
comment Is there a way to execute commands while getting user input?
so is the question about shorter timeout? Because what you are doing looks good, event driven is the easiest.
2d
comment convert C style comments to C++ style using sed
unix.stackexchange.com/questions/72429/…
2d
comment convert C style comments to C++ style using sed
Regular expressions are useful for context-free grammars. C comments are not context-free. As comments can be in comments. /* can be in strings, but are not comments. etc. This question is asked regularly, unfortunately I can not remember where. The answers will tell you that regexps can not do it alone. Therefore you will need something more powerful such as awk.
Oct
13
comment adding unzipped files to a zipped folder
add — Update existing entries and add new files. If the archive does not exist create it. This is the default mode. (is no option is needed to replace or add files. -r can be used if adding directories, or when not adding directories. Well any time that you don't want to just add the directory and no content, so pretty much all of the time. So in short the example is correct, but the explanation is wrong.) (best to test it, this is just my interpretation of the manual).
Oct
13
comment adding unzipped files to a zipped folder
-r is recursive option.
Oct
13
revised adding unzipped files to a zipped folder
remove irrelevant verbose option.
Sep
30
awarded  Explainer
Sep
24
awarded  Autobiographer
Sep
23
comment Cant use hombrew because of “bad cpu type one executable”
If you answer your own question, then put the answer in an answer section.
Sep
21
comment Why thepiratebay.se showing the content of /var/www/index.html?
Where is localhost set/showing 127.0.1.1?
Sep
21
comment Why thepiratebay.se showing the content of /var/www/index.html?
What happens if you change the content of /var/WWW/index.html?
Sep
20
comment How to maximize and minimize windows from the command line?
Note the command sends a message to the window manager, not the application.
Sep
20
comment top not showing the memory usage of cat
If cat read it all in then read it out, then a 32bit system could not read a 4GB file, so a 50GB file would be way out. But it can. Also it would waste a lot of memory, imagine on a system with low RAM reading in a file that is swapped out. Then swapping it in as it is written out.
Sep
20
comment Show server processes in debian 7
-1, as have no idea what you are saying, especially the beginning part. Is the question, “I want to know what process runs every day at 0300hrs. How do I find out? I am using debian 7”
Sep
20
comment Is it correct to use certain special characters when naming filenames in Linux?
@MichałPolitowski Not only do you not need the quotes, they have exactly zero effect.
Sep
7
answered Find an archive and extract it in the directory where it is located
Sep
7
revised Find an archive and extract it in the directory where it is located
move comment to question and improve formatting