• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle




  • pelya@lemmy.world
    cake
    toLinux@lemmy.mlWindows is hell, i need to do something
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Just grab yourself some Linux Mint, and try to ignore Arch and Gentoo crowd here.

    Half of the apps you mentioned have Linux version right in the system package manager. Davinci has Linux version on their website.

    CorelDraw might be a problem, WineHQ lists it’s compatibility for the latest version as garbage, so you will probably need to switch to Inkscape.

    Anyway, I heard about this new company called Linux

    Pedantic explanation about GNU/Linux is coming in 3… 2… 1…



  • Nobody here cares what os they use in their office pc.

    Yup, that’s how it’s supposed to be. You turn on your PC to get your office work done, not to reinstall display drivers each day.

    Gone are the days when you needed to compile your own modem drivers to access Internet from your Linux PC.

    The Linux experts here are using their technical knowledge to perform advanced tasks like setting up server clusters for AI-generated furry porn, they are definitely not the ‘average’ Linux user.









  • pelya@lemmy.world
    cake
    toLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    arrow-up
    12
    arrow-down
    4
    ·
    edit-2
    6 months ago

    Grep is fiiiiine.

    sed is okay but a little nasty, when your sed script is longer that one search-replace command you gotta ask yourself what you’re doing really (yes, sed is a full-featured Turing-complete programming language, if you go far enough into the man page).

    When I see awk in any stackoverflow recipe, I just say ‘removed it’ and rewrite the whole thing in Python. Python is included into the minimal system image in Debian, the same as awk, but is way less esoteric, and you can do python -e 'import os, sys; commands;' for a one-liner console script.

    And if you want to talk about portability, try writing scripts for Android 4.4 ash shell. There’s no [ ] command. You do switch/case to compare strings.



  • pelya@lemmy.world
    cake
    toLinux@lemmy.mlWhy do you use the terminal?
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    6 months ago

    I’m sorry, I’m too old to learn emacs over my perfect knowledge of Midnight Commander.

    The point of this topic was to tell why we are using terminal, and emacs is kind of terminal on steroids, there are like 1000 key bindings and the mouse is totally optional, you are proving the point even further.


  • pelya@lemmy.world
    cake
    toLinux@lemmy.mlWhy do you use the terminal?
    link
    fedilink
    arrow-up
    21
    arrow-down
    4
    ·
    edit-2
    6 months ago

    To get removed done in general.

    If I need to rename a file, yeah, I can do that by right-clicking it in the file explorer, and selecting ‘rename’ from the menu. Two files? Painful but doable. Three files? Oh hell no, I’m switching to my always-open-in-background terminal window, and write a quick c=1; for f in *.jpeg; do mv "$f" $c.jpeg; c=`expr $c \+ 1` ; done and it takes twice less time than clicking things through with mouse.

    And yes, I wrote that shell command off the top of my head on the first try and without edits.