2,013 reputation
1024
bio website
location Austria
age
visits member for 3 years, 4 months
seen 8 hours ago

17h
comment Putting Files in Ascending order (not on time stamp basis) in Unix
by default ls doesn't sort on time stamp basis, but alphabetically. To sort by time stamp, one must use the ls -t (newest first).
17h
suggested suggested edit on How can I select columns based on a control file with invalid column numbers?
17h
comment How can I select columns based on a control file with invalid column numbers?
point accepted.
17h
comment How can I select columns based on a control file with invalid column numbers?
wow :) yes, this matches my output. btw, if you use sed -r you can avoid some backslashes,e.g. \( \) becomes (). However, I doubt that this makes your regex more readable ;-) sed -r 's/[^,]*//7;s///6;s///2;s/,,/,/;s/([^,]*),([^,]*),,.*,(.*)/\2,,\3,,\1/' input.csv
18h
comment How can I select columns based on a control file with invalid column numbers?
what is the error? have you called ./script.sh input.csv with the input.csv as provided above?
19h
revised How can I select columns based on a control file with invalid column numbers?
corrected regex
19h
revised How can I select columns based on a control file with invalid column numbers?
even more simplified
20h
answered How can I select columns based on a control file with invalid column numbers?
21h
answered How to determine which displays are enabled/disabled
1d
comment How can I force bash to deallocate a brace expanded variable without name?
@Oxwivi student here too! But I have access to a machine used for CAE applications with 192 gib ram. It is, however, idle atm. Cheers!
1d
comment How can I force bash to deallocate a brace expanded variable without name?
@patrick see the edit to my question for the reply from the bash-users mailinglist. It's actually not a bash issue at all. cheers
1d
revised How can I force bash to deallocate a brace expanded variable without name?
added info from bash mailinglist
Sep
15
revised What does “apt install” do?
improved formatting
Sep
15
suggested suggested edit on What does “apt install” do?
Sep
15
comment What does “apt install” do?
I'm not very familiar with the rules here at StackExchange, but I upvoted this question, because I think this is a legit beginner question. I imagine someone being totally new trying to learn. Also, I see that the answer has 5 upvotes, doesn't that alone give credit to the asker?
Sep
15
comment Shell Script for tracking number of times each command executes
what to you mean by a graph for each command execution? you can try grep -c sudo /var/log/sudo.log to count the occurrences of sudo.
Sep
15
comment Run the Arch ISO in VirtualBox with shared folders
Well, you figured it out by yourself: Do not update the kernel if you cant reboot. Btw, it's not bad practice to run simply pacman -S <package>. You don't always have to update your entire system (and neither updated the database) just to install a poop.\
Sep
14
comment How to use the Cinnamon panel when using Awesome Window Manager in Cinnamon?
The pkgbuild lists cinnamon as a dependency. It could have changed in the meanwhile
Sep
13
comment How to use the Cinnamon panel when using Awesome Window Manager in Cinnamon?
The PKGBUILD, is about 8 months old, the latest upstream change as well. I think you're better of asking on github or leave feedback at the AUR page.
Sep
13
comment Compiling drivers for armada 370
I can't help much, but I don't think autoconf.h is generated (although it's name may suggest it). It's part of linux-headers /usr/lib/modules/3.16.2-1-ARCH/build/include/generated/autoconf.h on my system.