Reputation
4,253
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
13 37
Newest
 Nice Answer
Impact
~858k people reached

May
29
comment How to remove all the files in a directory?
@DarkHeart: With the "images/" in front of the ".*"? Can you provide a concrete example?
May
26
comment How to remove all the files in a directory?
My suggestion was to use 'rm -r images/.*' which would match 'images/..' but not 'images/../..'. The recursion can't go upwards, since 'images/../images/..' is again the same directory.
May
4
comment xfce4 netload plugin, monitor on all interfaces?
You add the plugin another time to the panel, and name them, for example, wlan0, ppp0 and eth0.
Apr
25
comment shell script to get collect pixel size of image
Don't do "cd" in scripts. You can iterate from your current directory over the files too. And don't do "ls" in scripts. In bash, you can do: for f in $f/OEBPS/image/*{png,jpeg,jpg}. A ls will bite you if you have blanks and such in fillenames.
Mar
25
comment Do we have an undo in Linux?
@Tim: Yes, I do.
Dec
29
comment Grep lines that cotain “1111-11-11” or “2382-21-20”. (Any Numbers)
Your Questions doesn't contain the less-than and greater-than signs, but the search and the answers - what role do they play?
Jun
16
comment Find files with same name but different extensions, send to tgz
b) Describe 'similarly'. a) For a new question, create a new question. You might then link to this question, pointing out, that it is a similar problem. This should give you much more attention. Note that longer scripts/commands in comments are hardly readable.
Sep
3
comment How to use the date command to find out what date “monday week 40” will be?
Well, at least if I ask for last tuesday today, date -d 'last tuesday' I get Di 27. Aug 00:00:00 CEST 2013 (which is last tuesday in German locale).
Sep
2
comment How to use the date command to find out what date “monday week 40” will be?
@AdamSpiers: My calendar displays as Monday, week 40 the 30th of Sep. which is what my algo yields (today).
Sep
2
comment How to use the date command to find out what date “monday week 40” will be?
I'm not sure whether I understand your critique. It's 2013 this year, so the example from the question doesn't fit. What should be the absolute date for the question, and what does my approach return instead (maybe: why)?
Jul
2
comment How do I delete everything in a directory?
No, it doesn't explain why you delete a directory and recreate it then. To the things to consider belongs, btw., date/time of creation too.
Jun
8
comment Why do systems become slow when doing massive writes to disk?
Maybe it is swapping to memory and therefore slowing down, when the disk is under heavy use otherwise. A systemload-plugin could tell you, whether you're using swap in a graphical way. For the commandline, use free.
Jun
2
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
I don't really understand all rules of the bounty system. Since I think you deserve the bounty, I restart a new bounty.
Jun
2
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
Wow. That is pretty complicated, but it seems to work. :) I don't know why the reward vanished. Unfortuantely I hadn't time before to test the hints.
Jun
2
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
This is a little helpful, while not as far as I hoped for. When I start gradle with `xfce4-terminal --working-directory=/home/stefan/oximity/med -e "bash -c 'gradle explodedWar explodedWarSync;bash'" ` a tab is opened, named but it shows "gradle: command not found" while entering the command there works fine. Git, mysql and scala work fine that way, but for jboss, Ctrl-C terminates the whole jboss-tab. I could only prepare the shell starting there - maybe echoing the command to input. I don't really understand what's making the differences here.
May
27
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
Does it work with multiple tabs?
May
25
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
@slm: Yes, I like to keep the terminal open to process further commands - I just like to start the first of my commands automatically and have multiple, named tabs.
May
25
comment How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?
That doesn't work because gradle and jboss are permanently producing output. You don't like to have them mix up their output. The database- and scala-terminal are interactive. There is no sense in putting them into the background. The idea to open other commands in different tabs is, that the history is only filled with few different commands to one topic and therefore fast browsable.
Dec
7
comment What Windows-related files are valueless to *nix users?
@killermist: Well - if you own the Windows License, then you are allowed to use the fonts. If not, not.
Jul
24
comment Why are Linux installs bigger than I've read? Some beginner questions
@MichaelKjörling: Yes, found a link now. Pronounced it wrong year over year. :)