Du kannst unter Linux entweder auf der Kommandozeile oder mit grafischen Hilfsprogrammen das Passwort Deines Benutzers ändern. Als Root-Benutzer hast Du ausserdem die Möglichkeit, Passwörter für alle Benutzer deines Systems zurückzusetzen.
I've been very cool about AIBots. Today I changed my mind.
I had installed 'ollama' from an article in The Register. on my PC It said it could write bash scripts. I tested it as follows:
ollama run mistral
>>> Write a bash script to input a file containing an integer, add 1 and write it back
Here is a simple bash script that reads an integer from a file named input.txt, adds 1 to it, and writes the result back to the same file:
#!/bin/bash
# Read the integer from the input file
old_value=$(sed 'n;1p' input.txt)
# Add 1 to the old value and store it in a new variable
new_value=$(( $old_value + 1 ))
# Write the new value back to the input file
echo "$new_value" > input.txt
I've been playing around with locally hosted #LLMs using the #Ollama#CLI tool. I've mostly been using models like mistral and dolphin-coder for assistance with textual ideas and issues. More recently I've been using the llava visual model via some simple #Bash#scripting, looping through images and creating description files. I can then grep those files for key words and note the associated filenames. Powerful stuff!
Also a bit lost regarding some path issues on #HaikuOS . To use my usual scripts, I installed zsh + ohmyzsh andI symlinked
~/config/settings/.zshrc
to ~/.zshrc
Everything seems to work but python stuff only works properly in bash.
In zsh pip says:
/bin/python3.10: can't open file '/boot/home/pip'
(the last thing being any path I am currently in). PATH is the same so it must be some Python env variable ?
Well.. this fixes it for pip …but not for packages installed by it (for example compiledb).
They are installed in :
/packages/python3.10-3.10.13-3/.self/non-packaged/bin
So I add can this path (which will inevitably change) to my .zshrc but why the hell doest it works with bash without anything in PATH or any other env variable ?
Zur Installation von neuen Programmen unter Linux stehen unterschiedliche Möglichkeiten zur Verfügung. Ich zeige euch in diesem Video am Beispiel von LibreOffice, wie ihr neue Anwendungen installieren könnt.
Wrote a #Bash script to use WP-CLI to dump the database, then #Rclone to sync the files to Dropbox.
It pings HealthChecks.io to monitor progress & success/fail.
That was finally working well. 👍
Then calling it from a #cronjob revealed the need to use full paths to commands like #PHP & WP-CLI. Took a bit to find (force) the logging of the cron to see what was wrong.
Still unclear why some commands (curl, etc) work fine.
GNU Bash is a wonderful tool that many use every day, it executes commands typed into the terminal and is also a scripting language. The FSF tech team has a healthy drive to master their craft, and so, toward this end, they recently published an FSF Tech Team Bash Style Guide. Check it out at https://u.fsf.org/41y and read more about the tech team's recent work: https://u.fsf.org/41z#GNUBash#Bash#Manuals#LearnLibre
GNU Bash is a wonderful tool that many use every day, it executes commands typed into the terminal and is also a scripting language. The FSF tech team has a healthy drive to master their craft, and so, toward this end, they recently published an FSF Tech Team Bash Style Guide. Check it out at https://u.fsf.org/41y and read more about the tech team's recent work: https://u.fsf.org/41z#GNUBash#Bash#Manuals#LearnLibre