Notice: file_put_contents(): Write of 18599 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50
DevOps@DevOPSitsec P.1579
DEVOPSITSEC Telegram 1579
This media is not supported in your browser
VIEW IN TELEGRAM
✔️ Быстрый совет Linux: Узнай, какой у тебя shell

echo $0

Альтернативные способы:


echo $SHELL
which $SHELL

Важно:
Команда работает корректно только из интерактивного терминала. Если ты вызываешь её внутри скрипта — она может вернуть имя самого скрипта, а не shell.

0 показывает запущенную оболочку,
а SHELL — дефолтную оболочку, заданную в настройках пользователя

@DevOPSitsec
Please open Telegram to view this post
VIEW IN TELEGRAM
6👍6🔥2🥰2👎1



tgoop.com/DevOPSitsec/1579
Create:
Last Update:

✔️ Быстрый совет Linux: Узнай, какой у тебя shell

echo $0

Альтернативные способы:


echo $SHELL
which $SHELL

Важно:
Команда работает корректно только из интерактивного терминала. Если ты вызываешь её внутри скрипта — она может вернуть имя самого скрипта, а не shell.

0 показывает запущенную оболочку,
а SHELL — дефолтную оболочку, заданную в настройках пользователя

@DevOPSitsec

BY DevOps


Share with your friend now:
tgoop.com/DevOPSitsec/1579

View MORE
Open in Telegram


Telegram News

Date: |

You can invite up to 200 people from your contacts to join your channel as the next step. Select the users you want to add and click “Invite.” You can skip this step altogether. Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link). Ng was convicted in April for conspiracy to incite a riot, public nuisance, arson, criminal damage, manufacturing of explosives, administering poison and wounding with intent to do grievous bodily harm between October 2019 and June 2020. How to Create a Private or Public Channel on Telegram? Activate up to 20 bots
from us


Telegram DevOps
FROM American