Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

How to copy apt-get command suggestion? [duplicate]

$
0
0

If I were to run a command that Ubuntu recognizes, but that I don't have installed, something like the following would take place:

$ commandCommand 'command' not found, but can be installed with:sudo apt install command:~$

Although most of the time, I could just copy whatever the suggested command by typing it, it would be nice if there was a way to copy sudo apt install command into my clipboard so I could paste it and save time.

Is there any native way to do this in Ubuntu?

Edit: I am using WSL 2 on Windows 11.


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>