Search results

  1. D

    Solved Why isn't bash math working?

    I often used AWK for calculations echo 4 9 | awk ' { printf $1 * $2 } ' The good thing is that you can do more complex things, like this: echo 4 9 80 | awk ' { printf $1 * $2 + $3 } ' annd you can just add text where you want (as what printf is used for obviously)
  2. D

    Today's article is a cup of tee...

    What do you mean, just add | tee myfile.txt Done.
  3. D

    Today's article is a cup of tee...

    Exactly whatever command > whatever_text_file.txt then cat whatever_text_file.txt But the problem is then that the output is only shown when the command is completed, which for some output may defeat the purpose as you want to know some information, before reaching the end. Or you could...
  4. D

    Today's article is a cup of tee...

    It's a great concept, and you can do many great stuff with it It's one of those thing where you wonder: how would you ever do this, without such a command ..
  5. D

    Today's article is a cup of tee...

    That would be because the parameter is only just one file. If you TEE to 2 files ... aren't they the same ? Why would you do that ? That is, if not using the append option. The TEE command is already having two outputs (1: screen and 2: file), so just 1 file would be enough, right ?
  6. D

    Today's article is a cup of tee...

    There's very little commands that error out if a given file doesn't exist (or does exist, depending on the functionality). That is, commands that modify that specific file in question. For example, if you CP a file to an existing file, Linux (Bash) won't mind you have overwritten a file. Same...
  7. D

    Post a screenshot of your Desktop

    That's true but the point is that Putty is THE interface to connect to Linux, from Windows. Surely on Linux, there's other interfaces, right ? Not saying better but just, other.
  8. D

    Training

    Ls is not a normal Linux command, maybe he means : ls :)
  9. D

    Post a screenshot of your Desktop

    Don't have a desktop, I only use Putty ( and Putty is a Windows tool, guess why ) So, something like this : https://superuser.com/questions/1043292/how-do-i-apply-my-background-image-to-putty-tabs-in-conemu
  10. D

    You Know You're A Linux Geek When/If...

    Depends what definition of a geek is, obviously Maybe you are if you not only know commands by heart for whatever action, but also full commands with parameters, without thinking too much: find / -name '*.log' -type f -size +1000000c -exec ls -l {} \; 2> /dev/null >> ~/mylogs.txt
  11. D

    Is Linux Really That Harder Than windoze ?

    You're right, instead I've reported the post for lack of interest to the goal of this forum.
  12. D

    Why is there so much software available for linux when so few people use it?

    That basically is because everybody is re-inventing the same wheel, in this world this is known as "distro" And that divides the number of users extremely. In addition, Linux still isn't sold with hardware, which will be their downfall if they don't realize this. One Distro at least is, and...
  13. D

    Why Is The Arch Linux Community So toxic?

    I guess that is because they feel the need to defend their Distro against ALL OTHER Distro's They can't say Linux is great, because then you'll probably end up with ANY Linux Distro. So, they need to defend Arch at any cost ... and maybe that says a lot about Arch itself ?
  14. D

    Is Linux Really That Harder Than windoze ?

    If you don't care, why do you compare ? By the way, there's several grammatical errors in your title, you may want to fix that if you care about it and are capable of fixing that. Now it looks like I'm talking to a 13 year old.
  15. D

    parallel commands

    That sounds promising ... and my Linux is supported. Yeah ! Thanks So it's not a parallel option for the command in question, but a tool to run anything in parallel. Gotta start somewhere.
  16. D

    Is Linux Really That Harder Than windoze ?

    Windows may have other ways of doing the same, they actually have 2 command line interpreters (CMD and Powershell), so comparing this way is weird as it may be a selection of methods, for either Windows or "Linux". When it comes to GUI tools on "Linux", the selection is large, I guess. Linux...
  17. D

    parallel commands

    What are the options if you want to use parallelism for file operation commands (like CP) on huge amounts of files ? Suppose I want to copy entire structures, but there's lots of files in the complete structure. How can you copy these files in such a way that the whole of it goes significantly...
  18. D

    Ditching Bill's OS

    I think Linux is great for more reasons than some rumours that Bill Gates and FBI are working toghether. If that is what the vague claim is about really. I can't see a deal happening between Bill Gates and the FBI, and even if they do, their power ends at the US borders.
  19. D

    Making easy commands hard because..

    Haha, I just guessed that without reading the last lines of that post. Idle time is core-bound, not machine-bound. While uptime is pretty much the machine uptime. Where are the days of single core ?
  20. D

    China releases it's first distro

    I'm pretty sure they can't make anything better than Windows, and THAT I mean literally.
Top