805 reputation
1524
bio website
location
age
visits member for 2 years, 10 months
seen Apr 5 at 19:02

Apr
13
awarded  Popular Question
Mar
22
awarded  Custodian
Mar
22
reviewed Reviewed Can sudo be reinstalled after being removed?
Mar
17
comment How can I list all applications installed in my system?
@AvinashRaj Still bad :P You didn't take into account that Name option could be outside that range of line number, especially with lot of options or blank lines under [Desktop\ Entry ]. And .desktop file is an ini file
Mar
17
revised How can I list all applications installed in my system?
Minor edit in python code
Mar
17
comment How can I list all applications installed in my system?
@AvinashRaj I wish it's that simple but that's not proper way to parse ini. The code will explode and throw noises if there are more than one Name entries in .desktop you're parsing, which always the case. Also you shouldn't assume all the lines you're interested with will be on fixed line number
Mar
17
comment How can I list all applications installed in my system?
@Seth I posted too soon, sorry. I was scratching my head figuring out how to parse ini with bash
Mar
17
revised How can I list all applications installed in my system?
Added new codes
Mar
16
revised How can I list all applications installed in my system?
Added bash code
Mar
16
answered How can I list all applications installed in my system?
Mar
16
comment How to know the time/date of when the packages are installed?
@Gilles I am aware of that but I don't see any point concatenating those files in this case which is why I pointed out to use grep directly
Mar
16
comment How to know the time/date of when the packages are installed?
@AvinashRaj They are not wrong but it's pointless and inefficient practice because you can achieve the same goal with just grep alone. Remember, bash forks a new process with every pipe you use. See my link on that Useless Use of Cat above
Mar
16
comment How to know the time/date of when the packages are installed?
@Seth Old (bad) habits die hard :P But nothing stops you from being inefficient if that's what you prefer.
Mar
14
comment How to know the time/date of when the packages are installed?
The use of cat there is totally redundant as grep/zgrep also can take file input. See Useless Use of Cat
Feb
5
accepted How to hide wine app titlebar when window is maximized
Feb
4
asked Can gcalccmd do currency conversion?
Feb
3
asked How to hide wine app titlebar when window is maximized
Feb
3
answered How to hide wine app titlebar when window is maximized
Jan
26
awarded  Popular Question
Jan
20
comment i installed php5 in ubuntu 13.04 but when i restart apache sever using command “sudo /etc/init.d/apache2 restart” it was showing error
Next time, rather than posting desktop screenshot image, please just copy and paste the error text messages on terminal :)