• 0 Posts
  • 14 Comments
Joined 9 days ago
cake
Cake day: February 14th, 2025

help-circle




  • LeninOnAPrayer@lemm.eetoLinux@lemmy.mlHappy with my bash progress!
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    6 days ago

    Yes. You’re correct. The script will execute with /bin/bash by default but only in a bash shell. #!/bin/bash is still a good habit to have. Some platforms may be running an “sh” shell by default. In this case if you ran the script it would execute with /bin/sh instead. Which would work or not work depending on if your script was written in purely sh syntax and not using any uniquely bash style syntax.

    Bash can run all sh scripts but sh cannot run all bash scripts. So explicitly stating for which one your script was written for is good practice to not run into errors if you move your script to a different environment.


  • LeninOnAPrayer@lemm.eetoLinux@lemmy.mlHappy with my bash progress!
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    6 days ago

    It makes it usable without typing bash. Same would apply for a python script. For example you can make a python script named with no extension and add #!/usr/bin/python to the top of the file. Bash shell sees this and knows to execute the script using that python path.

    Then you just include the directory in your $PATH and chmod +x the script. Then you can type $python_script instead of $python python_script.py





  • LeninOnAPrayer@lemm.eetoPolitical Memes@lemmy.worldParasites
    link
    fedilink
    English
    arrow-up
    33
    ·
    edit-2
    7 days ago

    It’s a bit more than that. They are essentially doing to America what America has done to other countries. Forcing complete privitization of all aspects of life. They’re basically doing what was done to the former USSR in 90s but now internally. “Shock Doctrine”.

    Fascism is Imperialism turned inward on the imperial core itself. The suffering of the working class will be blamed on “the left” resisting and “harboring criminals”. They’ll use that as an excuse for further militarization of the police and ICE. By the time white middle class people realize what’s happening the US will have started a “defensive” war and rely on nationalism to keep the population subservient during ever worsening material conditions.


  • LeninOnAPrayer@lemm.eetoMemes@lemmy.mlLiberals
    link
    fedilink
    English
    arrow-up
    10
    ·
    7 days ago

    Protests, strikes, or boycotts with a planned end date are next to useless. You can do that if it makes you feel good. But don’t do it in place of real organizing. The best thing you can do now is organizing locally. Join your local PSL and support what they are doing.


  • LeninOnAPrayer@lemm.eetoScience Memes@mander.xyzErasure
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    7 days ago

    The original comment is a dumb way to say it. But fascism doesn’t let you vote it out of power. Fascism doesn’t respond peacefully to peaceful protest either. Organized resistance will require violence in response to the inevitable violence of the state. The key word here being organized. The time for peaceful organization and voting has passed. Once fascist are in power the only thing to be done in the political arena is meant to delay while an organized resistance force can be formed. I highly doubt that will happen. But history tells us that this is the only viable option. All other efforts are only meant to delay. But if you’re only delaying and not organizing actual armed resistance than your delay is without purpose.

    Storming the capital is dumb. Hardening your local neighborhood with an armed resistance and safe harbor for the targets of the fascist is where efforts should be put. This is about saving lives and building allies locally. It’s the best place to put effort right now to protect the first targets of the fascist. Right now that is undocumented people. But they won’t stop there. They never do.