• 0 Posts
  • 3 Comments
Joined 2 months ago
cake
Cake day: October 6th, 2024

help-circle
  • From my experience and understanding there are generally two ways to ‘run’ a file.

    Firstly, the output is an executable itself. Assuming the permissions are valid you can just do “. /yourFile” and it’ll just execute. If the file doesn’t have the proper permissions, just do “chmod +x ./yourFile” to allow execution.

    Secondly, some executables require you to run them through a specific program. Such as Java or Python. If Java, it’d be something like “java ./yourFile.jar” If Python, it’d be something like “python ./yourFile.py”

    Sometimes it requires extra flags like “-jar” or similar. You just gotta look it up at that point. ¯_(ツ)_/¯

    In Kate, you can toggle the terminal through a shortcut for easy access.



  • razorozx@lemm.eetoLinux@lemmy.mlRoast my aliases!
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    I use flatpak, pacman, and yay for my software management. I unify the basic needs by using these aliases:

    SEARCH
    fsearch = flatpak search <input>
    psearch = pacman -Ss <input>
    ysearch = yay -Ss <input>
    
    REMOVE
    fremove
    premove
    yremove
    
    LIST
    flist
    plist
    ylist
    
    GARBAGE COLLECTION
    fcg
    pcg
    ycg
    
    And so on.
    

    Additionally I also gave ucg as well as an all-in-one garbage collector command.