• 0 Posts
  • 271 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle
  • Everyone here is throwing resources about where to learn more about Bash instead of answering the question. I’d say regex is good to learn regardless as it’s pretty much used everywhere, but advanced bash scripting probably isn’t worth the trouble unless you’re using sysvinit scripts or something. Bash was really the first language I learned and nowadays I find myself starting scripts in bash and then quickly converting over to python the moment I have to manipulate strings. Python is much more straightforward in that regard.











  • I don’t think this is a KDE problem, but more the way Linux operates. I looked into this once and it’s basically because Linux considers the operation done when the source file is completely read and committed to the destination, but not actually written yet. I see this same behavior with my USB backup drives where something finishes but then I have to wait a minute or two when actually unmounting the drive. I think there’s a way to change this but I’ve never done it.

    P.S. I just want KDE to make activities great again :(







  • I’m not the OP, but I can explain how to use cron in like 4 sentences: Edit cron with the command crontab -e, this opens your text editor. If you want your jobs to have environment variables, put those at the top. Put this header at the top: # m h dom mon dow command It means minute, hour, day of month, month, day of week, command. Type in numbers for these values or a star which means all of them. Command is the command to be run.