I’d like to interject for a moment. There is also a tool called bat that is just cat with extra features. It prints out and works just like cat, but when the contents get too big, it works like less. The is syntax highlighting and works with git.
It’s replaced my need for cat and less.
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.
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.
Ncdu looks pretty cool. I’ll give it a spin! I’ve tried a good handful of TUI file managers but most of doesn’t feel right, so I made my own little script in attempt to scratch that itch. Not completely satisfied with it but it works ¯\(ツ)/¯