1,758 reputation
511
bio website k.japko.eu
location Wrocław, Poland
age 28
visits member for 1 year, 7 months
seen 10 hours ago

Linux system engineer, kernel developer and computer geek.


Apr
6
revised command condition sometimes integer sometimes string
added 174 characters in body
Apr
6
answered command condition sometimes integer sometimes string
Apr
5
comment Passing arguments to su-provided shell
That's strange. I get exactly the results you expect (and I also agree with those expectations). I mean, in case of a second invocation, I do get "1 2 3" as an output. I'm using bash 4.2.45 on both source and destination accounts.
Nov
11
awarded  Guru
Sep
12
awarded  Yearling
Aug
31
answered How can I run an hdparm command after boot and resume on Fedora 19?
Jul
8
comment Understanding backtick (`)
@Anita: In general quotation marks does some special things (it changes the way special characters are threaten - especially white spaces) but in this case, they can be dropped without much problems. This is because no special characters are used and echo command don't care about the number of arguments it gets so if b has some spaces inside, it will get multiple arguments and will still print them. This may no be the case for other commands (especially when variable is not set) so I tend to always surround variables with quotes.
Jul
8
revised Understanding backtick (`)
added 68 characters in body
Jun
21
awarded  Autobiographer
Oct
28
answered vim automatic substitution
Oct
15
awarded  Enlightened
Oct
15
awarded  Nice Answer
Oct
15
comment Library Migration
Keep in mind that compiling code with some library means using this library ABI. And function names are not the only thing that's part of the ABI. If, for example, some datatype struct was changed between versions, you code won't work. So it's not enough to be sure that the code have not used any function introduced in new version.
Oct
13
comment Command not found
Which distribition are you using?
Oct
11
comment How does “cp” handle open files?
@Stuffy: Keep in mind that it may not be really reliable if it's not run by root user (the same problem is with fuser of course) as this tool may not show all the files.
Oct
10
comment How does “cp” handle open files?
To do what exactly? To copy all the files except open ones? I don't think there is any easy way of doing this (other than writin your own script that uses fuser+cp. Such copy would really be very unreliable. It won't copy any file that is opened in text editor for example.
Oct
10
answered How does “cp” handle open files?
Oct
10
answered List info about files/directories with spaces
Oct
9
revised Delete the matching line and several more from a file
added 803 characters in body
Oct
9
revised Delete the matching line and several more from a file
added 803 characters in body