The Cookie Machine - Click here to drag window

The Cookie Machine (TCM) Future Applications:

β˜‘ View cookies used on the Pippim website.
β˜‘ Send cookie via mail. For backup or sharing.
β˜‘ Receive cookie via mail. From yourself or colleague.
β˜‘ Countdown Timers. For multi-phase time sensitive missions.
β˜‘ And in the future... Other ways of sharing/using Cookies.

If you can read me, I'm broken!

Views: 2,986β€…    Votes:  5β€…
Tags: command-line   bash  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—


As others have mentioned ${_[0]} is extra typing for ${_} which in turn can be abbreviated into $_ as it is most commonly used.

As mentioned previously it is a variable that contains the last parameter of the last command used. A practical application is like this:

$ ll /etc/lsb-release
-rw-r--r-- 1 root root 105 Feb 20  2019 /etc/lsb-release

$ cat $_
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"

In the first command the last parameter is /etc/lsb-release. In the second command the parameter is $_, which repeats /etc/lsb-release so you don’t have to retype it.

⇧ I need to re-connect HDMI everytime after boot How to fix screen overlap and top left zoom of HD external monitors while using 4k primary Linux Ubuntu 20?  β‡©