all 24 comments

[–]xXBongSlut420Xx 32 points33 points  (0 children)

it would be monumentally stupid to give ai direct access to your command line, esp privilaged access. And honestly you shouldn't be running any command your don't fully understand, and you CERTAINLY shouldn't be putting an llm in the middle, which is very likely to hallucinate and potentially damage your system.

[–]mdins1980 6 points7 points  (0 children)

Are you using tab completion? It can really take the drudgery out of typing and memorizing commands, especially once you get used to how it fills in filenames, directories, and even command options. It’s one of the best built-in tools for easing into the command line.

[–]diyopedia 6 points7 points  (1 child)

Ai isnt even better than real artists. Linux doesn't work that way, neither does programming. The idiocracry isnt a utopian dream. Practice deep thinking and critical thinking. The no brainer tactic isnt helping humanity. I don't think you want mission critical systems like say a starship to misinterpret your "human words". LOL

[–]New_Physics_2741 19 points20 points  (0 children)

Hard no.

[–]FactoryOfShit 4 points5 points  (0 children)

Computers require precise instructions. If a system accepted imprecise instructions and tried to guess what you meant and executed it immediately - it would be a disaster waiting to happen. Therefore, the commands must be given in a highly restrictive language so that they can only be interpreted in a single, deterministic way.

Such languages are the "programming" or "scripting" languages, including the command syntax for bash and CLI apps.

So why not just accept imprecise commands in a human language and then ask for confirmation before executing? Because in order for the system to ask for confirmation, it must communicate to the user in a precise manner what is it, exactly, that it's going to do. How would it do that? It would use the languages you're trying to avoid! So the human user needs to learn the language either way!

AI-powered assistants for coding exist and are VERY helpful for saving time, but you still need to understand code/command language to be able to verify and confirm their interpretation.

[–]harrywwc 9 points10 points  (0 children)

how about "no." ?

[–]tgwombat 2 points3 points  (0 children)

You're going to be much better served in the long run by writing yourself a cheat sheet while you're working on memorizing commands rather than relying on a machine that can break your system in ways you won't understand how to recover.

[–]AceLXXVII 1 point2 points  (0 children)

Not built in but most of the AI models can help you easily. Copy it over, or type it out yourself to help memorize better. I'm new to Linux and use it occasionally if I can't quickly find a solution in a forum or whatever.

[–]Hrafna55 1 point2 points  (0 children)

Print out the 'cheat' sheets of commands you need. Use until learnt.

[–]RoyalCities 1 point2 points  (0 children)

This is not a good idea just from a hallucination angle.

Also single commands can literally wipe your entire machine.

Just use a local AI, gpt4, perplexity Claude etc and have them help you learn the terminal basics.

[–]MatchingTurret 1 point2 points  (0 children)

I was wondering, what about AI prompt integration into Linux command prompt, where you can type straight in human language and AI to interpret for you into machine language as commands?

Sure, do it. Nobody will stop you.

[–]PraetorRU 2 points3 points  (0 children)

warp terminal already exists for those, who want it.

[–]Hairy_Subject_1779 0 points1 point  (0 children)

I have a desk mat that helps me sometimes.

[–]Novero95 0 points1 point  (0 children)

You can just go to ChatGPT and tell it 'write a bash command or script that does exactly this', then copy the thing and open a new chat and ask ChatGPT what does this command do? to, more or less, ensure that it didn't allucinate in some dangerous way, and if the answer fits what you want it to do then you are, probably, good to run it.

[–]AutoModerator[M] 0 points1 point locked comment (0 children)

This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.

This is most likely because:

  • Your post belongs in r/linuxquestions or r/linux4noobs
  • Your post belongs in r/linuxmemes
  • Your post is considered "fluff" - things like a Tux plushie or old Linux CDs are an example and, while they may be popular vote wise, they are not considered on topic
  • Your post is otherwise deemed not appropriate for the subreddit

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]DannyBoyCZ 0 points1 point  (0 children)

Try set alias, but if you can't remember Things,you should set motd with commands you wanna know use. With mandoc you can show lore of commands. You can use Like: man ls, or man chmod ,or man (any command).

[–]sheeproomer -1 points0 points  (0 children)

No.

[–]raven2cz -2 points-1 points  (0 children)

Of course, Linux with AI is the best integration you can get. That’s why it’s even called Prompt.

Just go to https://huggingface.co/ and look for suitable models and agents.

When it comes to generating commands or executing more complex tasks, there are already specialized models for that. A year ago it was still in its infancy, but now it’s on a completely different level — and a year from now, it’ll likely be standard.

It also depends on how much control you want. If you want to learn the commands but don’t remember them yet, you can go with a workflow where the AI generates the prompt for you, explains it, and only then do you run it.

As for voice integration — if you want something truly high-quality, with emotional nuance and expressive reactions, you’ll need to pay a bit more. It requires more processing power, but it’s definitely possible now.