А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды.
Что-то знакомое? Конечно, в Python есть примерно тоже самое.
Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел.
Давайте просто считать это совпадением 😉
А как это может быть полезно в Bash?
Приведу простой пример, который оценят те, кто часто работает в терминале.
Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем?
:~$ mkdir foldername
:~$ cd foldername
:~/foldername$
Как это сделать в одну команду?
:~$ mkdir foldername && cd foldername
:~/foldername$
Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды.
:~$ mkdir foldername && cd $_
:~/foldername$
_________________
PS.
Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно.
#linux#tricks
Audi A8 e-tron launch event for which we did keynote presentations brought us a big challenge suddenly as just a night before we had to change and move contents from one screen to another due to tecnical glitch in screens setup. As you can see there are screens everywhere for immersive experience, all keynote presentations had to be made for all screens to ensure the event is grand as it's Audi . We did this event last year and we did another Audi event last month. It's fun 😊
#Keynote#presentation#design@PowerPointBBT
We worked for Coca-Cola event that happened in May this year. With so much of content changes constantly coming from them, it was tough but we did it. At the end, clients appreciated us so much for allowing last minute changes and making the event a success.
#PowerPoint#Keynote#presentation#ppt
Last year we did presentation for KIA NDC and this year we did it for its parent company Hyundai. One more addition to the brands we have served. Take a look at the presentation that we did in keynote for this 13 screen setup measuring a total of 80 feet. A seamless presentation for an immersive experience.
#PowerPoint#Keynote#presentation#ppt
Hello there, please reach out for any PPT (PowerPoint) related work. Have worked with some top brands like Samsung, Honda, KIA, Lenovo, Adobe, Google and many more.
#PowerPoint#Keynote#presentation#ppt
So, we were working on one of the number one mass-market automotive brands. It originates from Korea and has a worldwide presence.
Unfortunately happened to be a double work for us because suddenly they realised that they didn't brief us on about their brand guidelines. We had to change the whole course and it's right now under management review. Barely slept for 4 hours.
#PowerPoint#Keynote#presentation#ppt
🎤Keynote Speech by Meta & NVIDIA
📍 September 24, 2025 | Main Hall 1, CAEx, Tashkent
⏰ 14:00 – 16:00
Representatives of META and NVIDIA will deliver inspiring keynote speeches and take part in TED Talks, sharing their vision of the future of digital technologies. The sessions will highlight cutting-edge innovations in AI, immersive technologies, and digital transformation, offering new perspectives for Uzbekistan’s ICT ecosystem.
👉 Don’t miss the chance to hear directly from global tech leaders shaping the future of technology.
#ICTWeekUzbekistan2025#META#NVIDIA#AI#Innovation#Keynote#DigitalTransformation