5,223 reputation
3832
bio website
location
age
visits member for 2 years
seen 58 mins ago

The placid Indian water buffalo. Booze and Linux, a match made in heaven


6h
reviewed Approve suggested edit on What are software and hardware interrupts, and how are they processed?
8h
reviewed Approve suggested edit on wvdial: The PPP daemon has died: Pty program error (exit code = 9)
8h
reviewed Reject suggested edit on Determining RHEL Type (Workstation vs Server)
8h
reviewed Approve suggested edit on Bash inside Vim not working properly
8h
reviewed Approve suggested edit on Reverse grepping
12h
reviewed Approve suggested edit on How to retrieve lost aliases?
13h
reviewed Reject suggested edit on File handles and filenames
13h
reviewed Approve suggested edit on How to retrieve lost aliases?
1d
reviewed Approve suggested edit on axi tag wiki
1d
reviewed Approve suggested edit on axi tag wiki excerpt
1d
comment What should be the buffer size for the sort command?
Yes I read the man page too. Notice I said "play around with" not "set it to as high as you can"
1d
comment What should be the buffer size for the sort command?
you may also want to play around with --parallel option seeing the number of processors at your disposal
1d
comment What should be the buffer size for the sort command?
Are you looking to sort by field 2 or sort by all fields starting 2?
1d
reviewed Approve suggested edit on Aggregate and group text file in bash
1d
reviewed Approve suggested edit on How to create virtual AP using Hostapd
1d
reviewed Approve suggested edit on Nginx loadbalancing between PHP-FPM and Apache
1d
comment How to change my script to replace and add new variable in a configuration?
I am not proposing ConfigParser as a general panacea for linux configuration parsing; just stating that it may be appropriate for your use case since your file appears to contain key-value pairs with key and value separated by =. As for the section problem, here's a workaround from the great Alex Martelli
1d
reviewed Approve suggested edit on How to change my script to replace and add new variable in a configuration?
1d
comment How to change my script to replace and add new variable in a configuration?
Have you taken a look at ConfigParser?
1d
reviewed Approve suggested edit on How would I change file permissions if the file name has a space in it in linux