628 reputation
313
bio website dmitry.cheryasov.in
location
age
visits member for 3 years, 9 months
seen 3 hours ago

I constantly try to expand the little I know about programming.

google profile


2d
comment Linux on a 286?
You can shoehorn Linux to run on very limited devices. But this is not going to be very useful as an e.g. desktop machine. Unless you state your goals it's hard to tell if 'Linux on 286' is viable for you.
Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious
Jun
10
awarded  Caucus
May
29
awarded  Yearling
May
2
awarded  Popular Question
Apr
25
comment How to colorize last window in status line?
Both answers were equally worthy; I'm accepting the answer of the user with less rep.
Apr
25
revised How to colorize last window in status line?
added 172 characters in body
Apr
25
accepted How to colorize last window in status line?
Apr
24
asked How to colorize last window in status line?
Feb
19
revised using SUID bit to drop privileges
typo in title
Feb
19
suggested suggested edit on using SUID bit to drop privileges
Jan
1
comment Ctrl-C with two simultaneous commands in bash
@lain: certainly. I missed the point about the running from a script.
Jan
1
comment Ctrl-C with two simultaneous commands in bash
You can also use %n syntax to kill specific background jobs in this shell. Usually you issue kill %1 to kill the latest and the only background process. With more background processes, use jobs to see the list first.
Dec
31
comment xmodmap for key combination
Usually <kbd>Fn</kbd> works on keyboard's hardware level. Hopefully keycodes, as opposed to keysyms, of F-keys still differ when it is not pressed. Can you please run xev once more and paste the output for two different F-keys?
Dec
27
awarded  Custodian
Dec
19
accepted Copy files via a complex ssh connection?
Dec
18
asked Copy files via a complex ssh connection?
Nov
11
comment In shell script, execute a command only if the source is newer than the target
It helped me to remember that /bin/[ actually exists, so the syntax should be process-oriented, not expression-oriented.
Nov
11
comment In shell script, execute a command only if the source is newer than the target
BTW what is the problem with &&? It seems supported in dash, so [ -f targetfile ] && [ targetfile -ot sourcefile ] || echo "Already up to date" should work. It actually does in my dash.