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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 16: Строка 16:
 
-----BEGIN PGP MESSAGE-----
 
-----BEGIN PGP MESSAGE-----
  
jA0ECQMCzjdT7dE9vgDv0uoBkeK7qiwHuYDhtHA3sYtsQNpxcWOfxsSSuSJCgFTn
+
jA0ECQMC3Jsfkp8rMLr70ukBC7Z1Yt79BfnEmHjrNIcaQjgWjZJVPWr3ZBwbuid2
F+a1UdnIsLpqM4NTPX3qWhn9vTaOMl2+qL8D92p4k1Yd1Je22LJjO1GMBjHjOEB/
+
y6Raj3yviM62VyTxuGSXo5JMuqD9MIuPkQR9WwnDYrYzHJJqFDpvX4Z7nub7r9k1
yHQMduHzydRqghE7SHuqifFbuHS4X/ZOaVO4OoCbxPwo5oeo2pwFBCH8mbRdgZFj
+
cOCxhpiFhrAicIvXK6oXlIPI7L4cY+MVq0i++/HxjZBPWPzFT9LDowmuMSqYvG9z
/MiUwmI578u6M90+ZSMdSqZ5OUqjQs+PTp1QefiFUFRe0B6nisyqiN0r4dIv0RWQ
+
Ki4wiQ38vXHU3bjUCfFcy5kF8yfo1mgmNz5yq8i9ZKAEEllZJSgJsMxavfEhlunk
3ef3HSlL55qaMiQHE4dTkIXZvTwqtfyUb1zR2+GkmWHAyf7UqK5LeM9bK4jpoFhE
+
DPWeOBm48QlllKF4PhzkzY9XaTboIsG1ay1wUrBwlE2H0EgkVUFnHMxJ9t8yxocC
fgixvsvyvkcxGB+MXsvKFLusbsc6z1wngj0hcgkvabaBlTkEV34KpA1UKVefBe31
+
xD6+wT5U1OCrKIOjkyucepijqcRriicYL0aaTpCUCTfLCFxTDeO4VCrgFU6AH2qv
NJP0P0iMs9SSj6QXmjGR9+jPGqelSvMaJ1WJxYIHB/U3VE4NTyrZzwP/clWkexxT
+
vvXg4eHCpMyTxU5c7TU2ghH4lYTnDyds/y0F947QF9Gu8JMNnW4nayZtMryuOnDO
22S1K+N3gxwJDDYXWj05u5VptlYrUah7KM4Dq3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LcrOn4bQnSQz2fQw1aI
 
fU2JbLxEgvRLcHViKgNpwAvj48fKjg4zNqkMAJQlHSvO/ms4bZOZZmG2jP8sgjC7
 
15zc6mCOM/piKpadm1yRNo8B5nYnZuhUwuJ/ou7SKuK2gsgTBVispL66yozxN5nI
 
n5jxSORXp/c/i8zyJchAB4wvUcOnMq3uEwvmMqwG0Gh6W3RaEOO0vsQfkXzZnUjO
 
zwjMpXglc4xfz027jpLAw7dcfxXGX0QxVLgCM8+JMUdBylatgph9OQdQuRd/489p
 
UGw+ynQwlAbhjskiIWCRmrsCj8684a+KlCdzgLi9m5lkFTXDcKfOgS0Q+7v2rXn7
 
1jEl7+76/0nIHQGKq8OjTJTwFMLOGWT+ClcwKSDkHOM34ysY2Gc6
 
=nz/x
 
 
-----END PGP MESSAGE-----
 
-----END PGP MESSAGE-----
  

Версия 18:42, 5 декабря 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-----

jA0ECQMC3Jsfkp8rMLr70ukBC7Z1Yt79BfnEmHjrNIcaQjgWjZJVPWr3ZBwbuid2 y6Raj3yviM62VyTxuGSXo5JMu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xwZwp5HkMuxT7Y874wNB/TElz8ASc1SkuF6oOF+w0GUQcn4nwqZrCki Nu/8uQQWkHFyvapiJ2mrtRyl/Rf8gW+rAIRQ17jVF7fa0cX3/xoT263hfi3nxwnS jTrPpDDpSNz9jCdysxuclw== =PquY


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