Le 4/8/23 à 04:35, t...@myposts.ovh a écrit :
Hello
in bash shell, what's "$_" variable? where defines it?
Thanks.
It's the last argument of the last command.
I use it often when installing a package.
Something like:
$ apt-cache show "package-name"
[... read the description ...]
$ sudo apt-g
On 4/7/23 23:40, davidson wrote:
On Sat, 8 Apr 2023 t...@myposts.ovh wrote:
Hello
in bash shell, what's "$_" variable?
kent@westk-9463:~$ ls *html
morsekeyer.html morse.html myGameEasier.html myGame.html
The 'ls *html' "expands" to "ls morsekeyer.html morse.html
myGameEasier.html myGa
On Sat, 8 Apr 2023 t...@myposts.ovh wrote:
Hello
in bash shell, what's "$_" variable?
I'd be interested to learn as well.
where defines it?
In the meantime you can read in
$ man bash
under section "PARAMETERS", subheading "Shell Variables":
Shell Variables
The following variables are
3 matches
Mail list logo