You must log in or register to comment.
Something that works fairly well for me:
- Make a copy of the file you’re working
sudo copy /etc/fstab /etc/fstab.bak
- Ask a particular question to ChatGPT
How do I mount a samba share in Ubuntu Server 22.04?
- Read through the commands and try them out. ChatGPT is great for stuff like this, especially with follow-up questions, and giving you detailed info on error messages.
- If you fubar, then simply restore your backup file and try again.
- ChatGPT gives bad command, system fails to boot
- Drops into emergency shell
- Ask ChatGPT how to fix fstab from emergency shell
- Goto 1), rinse and repeat
You can also replace ChatGPT with Devin and achieve the same results*
*Your mileage may vary depending on the quality of your Devin
- Make a copy of the file you’re working
Googling an issue and copy pasting the first terminal code you see on the first result.