194 reputation
3
bio website
location
age
visits member for 2 years, 10 months
seen Dec 10 at 16:25

Sep
22
comment Can less retain colored output?
stackoverflow.com/a/18304605/520567 -- i.e. -c color.status=always for forced colors on git status
Feb
20
revised How to check if NTPD updates machine's time successfully using shell?
added 511 characters in body
Jan
23
comment How to check if NTPD updates machine's time successfully using shell?
@dfc, it came pre-installed on my fedora machine and I've never had any issue with it (used it for years now). I've never had issues with ntpd in the past as well but if you read on the link I have provided, there is some information as to why chrony is better for non-always on machines. That's why I suggested to the op to try it out, it may or may not work better for him. So it's just another good option to try before going into too much tuning, optimizing and hacking ntpd.
Jan
21
comment How to check if NTPD updates machine's time successfully using shell?
please comment if you downvote with your rational
Jan
25
answered Mount a USB disk in Linux which was not properly unmounted in Windows
Jan
25
answered How to check if NTPD updates machine's time successfully using shell?
Dec
7
comment How to get networkmanager to configure domain specific name servers with openresolv + dnsmasq
real nice, thank you! very straightforward and easy solution but sadly not well known -- couldn't resist, sorry
Dec
7
awarded  Supporter
Jun
15
comment Kill TIME_WAIT sockets immediately?
There is also a small utility called cutter to terminate TCP connections. It does not require building a kernel module. Included in some linux distributions. I've also seen a perl script to do the same but can't find it now.
Jun
15
awarded  Teacher
Jun
15
answered Keep ext4 journal on another system, how much space would be necessary?
Jun
15
answered Strange case: Text file that exist and doesn't exist
Jun
14
comment Remove duplicate $PATH entries with awk command
@dogbane, right, initially I didn't notice the extra line and when I wrote the third command I forgot to update the other two. wrt <<< it adds a new line at end like echo without -n. It is a bash extension though so not portable and does not provide any advantages over piping for this task. Johnny Williem, use the third command that starts with PATH=
Jun
14
revised Remove duplicate $PATH entries with awk command
echo -n
Jun
14
comment Remove duplicate $PATH entries with awk command
@dogbane your solution has a trailing : in the output
Jun
14
comment Remove duplicate $PATH entries with awk command
@dogbane, it works and I edited post to have a one line command without the trailing :
Jun
14
awarded  Editor
Jun
14
revised Remove duplicate $PATH entries with awk command
actual command to achieve the desired result
Jun
14
answered Remove duplicate $PATH entries with awk command