Ubuntu: различия между версиями
Строка 32: | Строка 32: | ||
https://2ip.ru<br><br> | https://2ip.ru<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
timedatectl set-timezone 'Europe/Moscow’<br> | timedatectl set-timezone 'Europe/Moscow’<br> | ||
dpkg-reconfigure tzdata<br><br> | dpkg-reconfigure tzdata<br><br> | ||
Строка 86: | Строка 55: | ||
sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.<br> | sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.<br> | ||
+ | |||
+ | -----BEGIN PGP MESSAGE----- | ||
+ | |||
+ | jA0ECQMCE3YSMIRKEbD70uoB6otLeY/2UN6N7p41aBijA9r+QhRsvOV4G6AG9AIw | ||
+ | +UwQBENSO3cj2Ih+PYw1nExmP6jviV3kzyMC+5XfxFLYRx7HNdAn8EsPhm4l2gji | ||
+ | uxpG7gL5PvpBjcNLE4S0P5l79oL70mEAX+xpZdzSIKnoOBviGhy4qQGBfABxHlFe | ||
+ | b3i9Lg+fH80xMD+k/nMLxTgdTtaolnfI+IH/Y7birH7dWYsI5+ok+zoWMchYaEfK | ||
+ | s6uHBhJ3MpLqm7gqsu1ZeJ/VUp3DzyexmFLZDAf4c65JQCWAzzUcWVRt5t7AKABW | ||
+ | EBwUbI5Fm7pWUJyRXZ7RCkmdM08TV870k35QUM1v8RGd00Su6ERcLW/b+dArbKkA | ||
+ | kjR9hyVhGgJ0rgDdIr6C/kroeDgxYLKeViheMF3PoNP1LrIvxM8t3eYuqzaZoT57 | ||
+ | DmtIlWpWdWYozj3zAoC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J3qIJfp8cOmBtXeweC884Ui8tt6UiDhoBhmRFr2gd9W | ||
+ | KukLlh9DhP7D/yYL0vX9cHakNM2YYeDfKEW1wLMhE8M9KudrumXL5kn5y7SnzfeP | ||
+ | zD1dep4UFLJo9r1O8VD5aaikHNQvk5yiW5HgPDfEzNeVAwsjbBz2bRBG5KWHIrIA | ||
+ | jAPM7txCuqpGt0pee7pjc5KX95sTMk7yMNK4LcjVIZk2gYCW0tCvfPl3LJVbQZZG | ||
+ | RdE89PlcO3UB+zo+/254C87tfFzMl6aLiJ/oBtL94VNqzjWtYenxPSysJS4zc23Q | ||
+ | 0IlyaGfcyqKQ9qG+0fhN+WAZPVV4q6ozBw7E23NjuU/eUSvZiTpBurhI5jW9J/WO | ||
+ | 3c2Qh5l1hGa5rSLiFAolNbravGi08BQHRSmLTsiX5hfDqE1fbTvjros8VH1S/qDc | ||
+ | 2uFXTTe0pZES0xVLdmTBOwY/6HGMd4cVuLu+UJWsX3/glofFqwZKpDNQUrDI1THw | ||
+ | C5lE7deSi+0OBrqWStQYF2Jklgt01TONvn/ra/v06CXGkjcJTfLsDfB4JWvsnni2 | ||
+ | nYndCJ6ZYkj5ICR1JbzLQInQNV7+OYFe+znF3oRh85oL17tSQqXD2VJE+/DMj0Du | ||
+ | 8JfRYj4AFpLW31v1CmouW2m8AA== | ||
+ | =kU4Y | ||
+ | -----END PGP MESSAGE----- |
Версия 10:17, 8 декабря 2021
https://dl.espressif.com/dl/package_esp32_index.json
http://arduino.esp8266.com/stable/package_esp8266com_index.json
http://digistump.com/package_digistump_index.json
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
https://github.com/Optiboot/optiboot/releases/download/v6.2/package_optiboot_optiboot-additional_index.json
Поиск полного пути команды: which whereis
https://www.digitalocean.com/community/tutorials/how-to-view-and-configure-linux-logs-on-ubuntu-and-centos
https://dzone.com/articles/what-are-linux-logs-how-to-view-them-most-importan. How to View Them, Most Important Directories, and More
https://www.commandlinefu.com/commands/browse/25/50/75/100/125/150
https://tproger.ru/digest/useful-linux-utilities/ 10 полезных утилит Linux для анализа и мониторинга системы
/home/developer/work/openwrtsource/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/bin/mips-openwrt-linux-musl-gcc hello.c -o hello
blkid -c /dev/null
printf '\33c\e[3J' или <COMOND>+K
Получить свой внешн IP . curl ipecho.net/plain; echo
mtr bvsad.com диагностика сети0
http://KUGpfoX6d0CZNoXN8Rg+plF0Dfb6rKXp1gS6ZjPn
http://igorka.com.ua/2009-11-13/lekciya-14-processy-zadaniya-komandy-fg-bg-jobs-top-nohup/
nohup ping 127.0.0.1 & Запуск процесса без привязки к tty
mtd - прошивка sudo cu -s 115200 -l /dev/cu.usbserial-1450
mesg | grep sda
https://unixforum.org/viewtopic.php?t=94558 Про образ флэшки
traceroute
ps aux | grep 'ssh'
wget -qO- http://openwrt.su/ip внешний ip (сайт OPENWRT.SU)
freevpn4you.net
https://2ip.ru
timedatectl set-timezone 'Europe/Moscow’
dpkg-reconfigure tzdata
ген ключа dropbear на openwrt https://gist.github.com/hongkongkiwi/51ee987dfc4e494545e3760b75d3bc7a
копируем его на AWS
last | grep sysadmin
lastlog
who
lnav /var/log/auth.log
tailf /var/log/syslog | ccze
ccze - Инструмент для декорации логов
ncdu - Версия ‘du’ с поддержкой курсора, используется для анализа занятого дискового пространства.
sudo pvs - покажет физические тома
sudo vgs - покажет Volume Groups
sudo lvs - покажется Logical Volumes
cat /var/log/auth.log | grep -in " Accepted password"
sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.
BEGIN PGP MESSAGE-----
jA0ECQMCE3YSMIRKEbD70uoB6otLeY/2UN6N7p41aBijA9r+QhRsvOV4G6AG9AIw +UwQBENSO3cj2Ih+PYw1nExmP6jviV3kzyMC+5XfxFLYRx7HNdAn8EsPhm4l2gji uxpG7gL5PvpBjcNLE4S0P5l79oL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