r/linuxmint • u/stillscandalouz • 9d ago
Discussion Terminal Scripts
https://drive.google.com/file/d/1P2_vAPDd4JI7y1BuTnkXuoDm85tLtXOZ/view?usp=drivesdkHey,
I am a /first/ time Linux user, I went with Mint.
I am NOT a programmer / developer / etc and I do NOT claim to be one in any capacity whatsoever.
I am just an (imo) technically literate consumer who likes to customize his stuff.
That said, the Terminal was scary for me, like I imagine for most new to Linux people, so...
I vibe coded (whiplashed Claude to do it) myself all sorts of quality of life aliases and scripts.
I am very satisfied with the end result and the thing works for ME.
What I am wondering is if the end result is worth sharing with the public, like:
- Is this cool and useful
- Do you think fellow newbies will appreciate and want this (I want to give it away for free ofc)
- Or will I simply get eaten alive for AI sakes?
I'd appreciate any feedback whatsoever. I am new to Linux, and the Linux Community as a whole.
I am attaching a link to a PDF that is a full fledged feature documentation of what I am talking about. Any feedback is golden.
https://drive.google.com/file/d/1P2_vAPDd4JI7y1BuTnkXuoDm85tLtXOZ/view?usp=drivesdk
5
u/Due-Result7928 9d ago
It is a nice work but the main problem for newbies is not to use a terminal or a command but to understand what is going on when things are not going well....the real bonus will be a tool to automate problems solving with the operating system (alive or from a system not working). Much more complicated...
You are using AI so what..like all shops now. Do not pay attention to fanatics...
2
u/BenTrabetere 9d ago
I think it is cool, and I think is useful as a reference. You put a lot of effort into this, and I think you got more out of investigating and writing it then anyone who would use it. You now have an understanding of the basic commands.
I would never put this on my system or any system I manage/maintain, nor would I recommend it to new users. IMO, new users are better served by learning to use the commands as is ... or staying away from the CLI altogether. Scripts and aliases are nice time-savers, but I think it is crucial to know and understand what they are doing. It is equally important to know and understand the actual command(s).
Some of the aliases you use scare me....
Using an alias to get rm to move files to Trash instead of deleting them scares me. What is the actual command/script behind the alias?
I am very reluctant to recommend using rm as an alias - I use alias rm='rm -I' (that is an uppercase "i") on my systems to prompt me when I use rm to delete files, but I know it only works on my systems.
The please alias gives me a little cause for concern, and the 5.4 Administrator rights section absolutely scares me. I am not comfortable with an alias or script that calls sudo, and I am terrified thinking you are using NOPASSWORD and your scripts do not exit sudo. What are the actual command/script behind these aliases?
The alias=mkdir='mkdir -p' is a little worrisome to me. It might not cause any lasting issues, but I can see where it might create a lot of unnecessary directory trees. I think a better route would be simply to use mkdir without a helper ... it is not a complicated command or difficult to learn to use.
alias cls='clear' and alias cp='cp -i' are two that I started using after I switched to Linux in 2014.
I stopped reading at the 5.4 Administrator rights section.
1
u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 8d ago
No, because:
1
u/Secure-Schedule7558 8d ago
Great job 👍😍 Great work 👍 with Great coder. keep it up....
-2
u/Secure-Schedule7558 9d ago
You can used text pad app for edit text program then copy and paste in terminal it every useful 😁.. enjoy ❣️