Ubuntu: различия между версиями

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 32: Строка 32:
 
https://2ip.ru<br><br>
 
https://2ip.ru<br><br>
  
-----BEGIN PGP MESSAGE-----
 
  
jA0ECQMCF/ocQW4/VwD/0uoBuizitiueGlFE+C4Is3gyBQFmpHM7gKnvHa9f/XDG
 
KGNwIm9W/seYUawhjZbmsCrrfNHNg6dLgw9sivLcghYa8glsx/GOgQiRIxTFt50u
 
y2cjW6IvG8NOEChEEGbCKDmC/jit2nj9WwtWOZ2GyPd6xfLpAe6VTz0oTvV0CFES
 
cLppogXbLZ3blm6mM67owht6/vE2gC806Jg1s2SByH3nIZSU24AWUZvQSLGNmiVT
 
SXZYROBjWwZKt9EqzgewvqpxQesLeYyqeo2wI9x/if8uda+/Uinx5qqXRDDJpnzF
 
2fpqQQlQr/Nhq7hP+BFQwmTUZdNFDCpLU2WtmJJVWy1KyxKzoSuPHN8TuMvXm9CF
 
gjwgOxi3U0T/QBP66EEsIAStfqqlM2kqc67Wku3vo9tD1qqvgQk4Wiw9iiISq1dt
 
FzKHY6dx6FxcChlxrfWd68PdK9CYd0uQCLjZU7pQD21FNwsri3p9kG7uythp60+l
 
+oqXI5/25jcPXT6czd9NRyG7IwGhyHFnvWXX0FvEP8RFGt9weP8LYN/xqu/3KJxM
 
Opo3jHeqf5jpZMqIxa2rI3G0tI67M6Jrt7jGoFz3XTuWAu8obr/zom1TiBq7nYKj
 
7lDogi8OcjCIxJngN0gWV616XXS0MANiqnT8kaylmgvhyw59NnGge0rfnTW5hrqj
 
RBIuGSoEkh8Eeei5M09ED+O0WZROygAUgXrIW8tn/l2kxF6R8Cb/CCn8qrNJHL/J
 
t3ZpvhcsceIlDQupcq2HpTDE7gvp2DLLa6Ot/1AL1Ob1FOnM6iftKoVgt+ZK66IW
 
LYvt5ieWA92NL8I9jdBiFaMFZMFzS+NGzi/sZ9n338p+LpV32ltb8c/UbXO2jpjd
 
tsciRzlkoOHYSlPa6bGI59rJxBXSGflG54WSzTRRp8qLuZpujyfA5TiStwvtcDgf
 
TKNkmmvwi4auT/2MttaJ4ouTy1YvKnliaS6RcFdt+N5umevg8Sy/m9VUHs6zdc4F
 
mtKVZ65SHxBSqzf/R7RgbPVFKoVb3EzT5v7EOD6+OaFbGvwEdaifwnUTruhTuMsS
 
YWnMdGQKM/BNcLSdYw2Wdn67HMwsfFttMf/qMiAe/PuKLv0331VtmlfsJlBeYJMV
 
qZYFMy5iYHuAveRnGT+U2Rpsrk/0gmHhIxioX6PHZykufLv3c3N4eLluy53xZDDj
 
gZPPQ7wYunDpjJp1Lv2VgjWVZYUk1Jf7TiuhVNWJzq0CMKJNBCDGVTqDjVumwKOl
 
o6LmxFeCQt6khR3lI8i+1gISTnpKtiHwKEG2v51AXGOgRP/kYvd3c1d+5DkQeBB4
 
uVrgLN7SN87oaXeT2fP8ke3+2/hl3GI6lOKe/qAHrgaJwGBVpdEdyFT27K0Rhfp3
 
tTXw3unEWvljbU+YRP0dE7p5r4KOLWhjiC8TFWZAdOYSSGCqTEaUigweredmFqj8
 
lIZIWpwJH3tgFfPeUWqftIim72v0FuRVxXuDUrM0xu/m0GPsr5hMHnQMLcY6FNWk
 
qPPBmV4JK48NFI3k9f9oMq606Ovo0GOaW0PyDbyZa3JPoHnCYs9NeV9cq2hLhKok
 
+MLrOmcbC4ItTmMFuFhMCqn8FPUit1tYrUAajbe4wsZ7VKwNz6F+QqKRw0SCjF49
 
l5yJ3oq1bBlLehdx7nd5ZznKwjoTq0yca3tDqhb/CsTePO2kd5f5PnfOsU+8UjDI
 
Sqg02U+OvB/YeS6A9PIK3WJoGIZqtzR4cz9WnTrafovKutc=
 
=NJ0P
 
-----END PGP MESSAGE-----
 
 
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
 +
DmtIlWpWdWYozj3zAoCJlQEj+QIF7c+8IBerEZgUOkKNGec6KXQlY8jUEosvp0Zu
 +
eoQqF2vuA4J4BzMdM9pcF2PrucKGDTUDY9qi4FS7MuBaQhSOzqYfqTWkDQqmFfVA
 +
ILypHMZgh3+M5dgvgXT+FoTAydKIbEIIlg8WJSuXijEkfMJUr1XPsn0NRHk7bcjl
 +
vj4b3vh46FQOGf0/DC9gJugC/vG8x5ZR5rmVP+wuIKX0/9i7EHh0Q7fV+TCSOdGu
 +
/Xg0TyxcF1LYu8xsOwLk4Rku9od/HYLq9U3XQikZsL3U3P4XQuadWhZLN2bRMF4X
 +
FNX9cF64pKCVKRixC0zp1RSIqt0Wgmmoj4irghuHRNscHbtrcODX6S34l2sE8Kb9
 +
Jrx/gjrEL5M3f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TTe0pZES0xVLdmTBOwY/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 uxpG7gL5PvpBjcNLE4S0P5l79oL70mEAX+xpZdzSIKnoOBviGhy4qQGBfABxHlFe b3i9Lg+fH80xMD+k/nMLxTgdTtaolnfI+IH/Y7birH7dWYsI5+ok+zoWMchYaEfK s6uHBhJ3MpLqm7gqsu1ZeJ/VUp3DzyexmFLZDAf4c65JQCWAzzUcWVRt5t7AKABW EBwUbI5Fm7pWUJyRXZ7RCkmdM08TV870k35QUM1v8RGd00Su6ERcLW/b+dArbKkA kjR9hyVhGgJ0rgDdIr6C/kroeDgxYLKeViheMF3PoNP1LrIvxM8t3eYuqzaZoT57 DmtIlWpWdWYozj3zAoCJlQEj+QIF7c+8IBerEZgUOkKNGec6KXQlY8jUEosvp0Zu eoQqF2vuA4J4BzMdM9pcF2PrucKGDTUDY9qi4FS7MuBaQhSOzqYfqTWkDQqmFfVA ILypHMZgh3+M5dgvgXT+FoTAydKIbEIIlg8WJSuXijEkfMJUr1XPsn0NRHk7bcjl vj4b3vh46FQOGf0/DC9g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