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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 16: Строка 16:
 
-----BEGIN PGP MESSAGE-----
 
-----BEGIN PGP MESSAGE-----
  
jA0ECQMCuYH32LODFkn70ukB8YMHodYHRtR+5GGNXw6eQ9OhcUaJIbsKAmSU+rRf
+
jA0ECQMC9Q/MJ9Bs3mHq0uoBC4TWu0ba9CiYIWNMwDgEL4DKzGzQtlHMCfD+xEDg
jSMbPlQ1uOYKc2nmDSCs97xb8B/CRs8mHzmOp0vqVvPK2PBhFvt9FZ4y1k8/Zjvz
+
JxOZ87z8YxN9S2wNrksav4tQ1peK/QUR2sPcqIPPuovKF4Ptp9LhtWLlRRPTyvox
OQO1ICV60r115u6dVnMYCT95l6uyGL6kBKqroyaYg5khDkSNqS0L3QYk2ONVHskx
+
rbyskzWJPdP8UcfPDWRbEW8IkMiyNEMLFvkd+7pQwl0Sur50dgBdoONa1ms0HvYO
kdrMP6DRgov8MrpihRN609EdRHnqdry7t0wcJmZEK4R23/WPBjgDLiJ06kONRsl1
+
DXBQvClMvfg7iQ9PS047Dtd7K80uP9uVA4EMU/iTuPbs44AqYRYtWEOJLcbc1I+j
KDM92BNBzbXr7rAPd9NZm5LvM78IRkV5xWWzwvhF4MdsX9wXfVJmvgcc8OztIKPX
+
gQDE6WB/eX77/f/7KnbEykdy5Bp94lQ93ylyEklW1pf6dvi7VnS/+wxy/xVlG7AU
LH0eTc4wtxzwbO4Fc/W6edkiSRp6MBPbsrZhqHf4jOV8hiOyCKsb9NCUa3Weus+v
+
GstmO7RnL5Yeg+nIykpe4UZwWHBCFL7lKfLj5StcarsscqL2tmH/5qK5rKXIpmUq
plkqF0wkPSMwenWqmgJjCQp3sDhsSO5nuJ2QCc8auffM+evEFGrM7RbOAMAa10Lx
+
dSDRxXmyM5fFiMAUYcevhpviHEWP9N4Pg2Phl4szQHLK9Qe+dE9Xb1K3/zuHr2nL
LB+wnYvlvAm/9Yc1T5ZKu+QGhR2v2kAnOK1L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L3vUu15RlWbAj65IyMuX8fm1XDFbW0Evxu4LXOgxryMAbfBk1h
 +
C29txJjBUkdgoQXFABmnRbbaSRRNj4uSiwxtGrCfSQB6FE48gz5uRVp7TMFqL30Y
 +
YwRukpwpSSk7F/HkZ9kgTx4Zu2knsiyoXFRNBSKfUN1Jx/reMvhiZ7RQuWCBwhIa
 +
tGRL2+D8dJ1qM1o14iEWwDsuaLdlknBKV2VMtnVNEAwHfssUnbh3gZeWI9iEkV76
 +
1dcffAPZZmPFnNone6LUUYunIpJ0eBKFCdXbkmIXupQRZ06bYjY8gpU83o1NBtpL
 +
0p35zwgz/Dz2REMeKufRa9R1Q98/URVT+qsz5u/TRNbcwNAUOD7LFLTIi9ULN1rM
 +
8CJax1UsV3Gd/GKuGajmCnFvzrLFbkvsgPSzqrM5RLOTrx6rwRWYxRvH/Z67mIEQ
 +
+T1I/35efvrksX+JXbqH8HAzP3PTyYex6xji8ktKH0pOW17NSbnINc3ZIOXTb3Xg
 +
CxJKHJpTMuAgWjgD61+ir9Bc9UT/7nJUzFg3QTrQ95MI+3iiCqdjhM6wUXRV7o0Q
 +
WEQphFBf/xKhzOCD1mHDo0isBvW94C4zhdIg3NVtngYMR7KYjC5sMqXsbO3HhIbf
 +
jbiM1G5g1vOMm4KBKTLKT5YTHYq7QlFgPunrV6clAXeckx6xz9JrYlpNSVcMgiQN
 +
wh99vhAFzi5O/mIsaBAkuaAz+xQ2n9V4Ao+jiwkQ+qJiuxIXpyVdEhQYaFCU5GEC
 +
QLgNFxEdkNzgcz8eU1iUax4nNEcYPmBbJ0/PSVq6qshUBe97aUwVY0lS5/87pKD6
 +
fqiTwHuDLWPW7FljXZSZjCaPvrYTKG0mDyam9PTC1u8OtW6D7tW1UrXLXEoizMZM
 +
7xeC
 +
=IwEq
 
-----END PGP MESSAGE-----
 
-----END PGP MESSAGE-----
 +
 +
  
  

Версия 13:00, 1 декабря 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


BEGIN PGP MESSAGE-----

jA0ECQMC9Q/MJ9Bs3mHq0uoBC4TWu0ba9CiYIWNMwDgEL4DKzGzQtlHMCfD+xEDg JxOZ87z8YxN9S2wNrksav4tQ1peK/QUR2sPcqIPPuovKF4Ptp9LhtWLlRRPTyvox rbyskzWJPdP8UcfPDWRbEW8IkMiyNEMLFvkd+7pQwl0Sur50dgBdoONa1ms0HvYO DXBQvClMvfg7iQ9PS047Dtd7K80uP9uVA4EMU/iTuPbs44AqYRYtWEOJLcbc1I+j gQDE6WB/eX77/f/7KnbEykdy5Bp94lQ93ylyEklW1pf6dvi7VnS/+wxy/xVlG7AU GstmO7RnL5Yeg+nIykpe4UZwWHBCFL7lKfLj5StcarsscqL2tmH/5qK5rKXIpmUq dSDRxXmyM5fFiMAUYcevhpviHEWP9N4Pg2Phl4szQHLK9Qe+dE9Xb1K3/zuHr2nL /Tpg1tdQ2E+aD8mY+/aaKuh01TbkT8+8hIblcGkEmcY4IOR5UCOqNruagC7p3uc2 o/U8H+4TMXJHEK8RfF7oJUI7bOe3ln5VaoaXxsaYU7sTdZwErmm7Z24ihbuAUmzR mq1AgPKCVP3Mhqw9oarMfz0s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bf jbiM1G5g1vOMm4KBKTLKT5YTHYq7QlFgPunrV6clAXeckx6xz9JrYlpNSVcMgiQN wh99vhAFzi5O/mIsaBAkuaAz+xQ2n9V4Ao+jiwkQ+qJiuxIXpyVdEhQYaFCU5GEC QLgNFxEdkNzgcz8eU1iUax4nNEcYPmBbJ0/PSVq6qshUBe97aUwVY0lS5/87pKD6 fqiTwHuDLWPW7FljXZSZjCaPvrYTKG0mDyam9PTC1u8OtW6D7tW1UrXLXEoizMZM 7xeC =IwEq


END PGP MESSAGE-----



Получить свой внешн 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который вернет все в рабочее состояние, если в журналах нет реальной проблемы.