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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 17: Строка 17:
 
-----BEGIN PGP MESSAGE-----
 
-----BEGIN PGP MESSAGE-----
  
jA0ECQMCItLLJ3nXnsT70uoBf287DNfeS25oZilWrKy1AFIcrIqNGpkmHgl+zVz4
+
jA0ECQMC70qTsVLaVD//0ukBMC2UrH9MU0MP4/saQwRtXo0C1FWhqNfOs6QyGLU1
IdMl8SiEyqKA74nUZf78tJqyzZWlLsdXNzuKh+ryRejwaPDXLnGndcHcClBbAsG4
+
2ppF9ZIAgcB5FHopJhGi0UC2BKNAgrbnSUL4H/8cEKzQL/TAQ+OJJkDGKGpOsnCL
POU4mqihEs/eaHYqirErobAyzWYVitjINurS9fbsYxpVUzM4NmbKUaCURck6EqEk
+
cm6mspCpQ/cs7yXDyqd2NyriWmsCp+t1ij1sH4rxN0Gd+XtgI2Jxb/1+0rl0cuGc
ZJHNiVTWvpjo7BU3jBVKPgOU7nsPGmWjrb44vXXrVcj8x/DfESk3/+oJ/v/+uTO1
+
QRqMGwJvMl7QHguu7ga5ZdHZpb+vbu92LlAZEcz/vbGYFbYE5/QYOrFPuDoPV5Xi
3jalVg9dhZ3yN+XuupQCihTqXghGQMlnkWv2Z2x8xoTy5VkDDDGorYXv9LgERScW
+
ese9XFEVma98NS/1mhWQaKbv4R3i2BZM1utNsRbkuU7CF+/Af/MIedKNZ2HTKmvJ
eSLunDH28ySXscUPx950d2Bh6t0lKv2NOSYMXfGZ8NNMsKEfZDgQBQ4Pnma5hzAf
+
cXFxHU7HeLd95EAuE55Kjsi3F4ctyhV/gCJwPmurgai/mXuzUfGZUi+Qn9iayTEN
5HpjwzZ1m7lFfNwGRC4BJvY28/gUeY0xIBOCSlZTEAKLQ914phcS6ifJArQBi0v6
+
/XxMYhddAxhkxb6Y78Uh8n9U9TLEV/uQV/efYYECNKB5Yb8bAMLOexiLXZ3P2tH2
gXyLeA42EMPt8rOnnlHj8kXFM2OB2jkM4jqaLvTphD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J2VaH2Sw0
 
IkWFpg8UGLvaCpxtxj5FqmcL+BzZCnLhEFqRIjkhJ6bbMXlG1VJyOEFjF898E8YD
 
oaO0tLgJxfrYM5nkV7AS7FMx6te7flrZKmCUhs09FsySG5hAJrhRJnoE9KDRQX2G
 
2lWfAOgmAcwJQ9kghX1Tort5qk/pz++1qTHagCTkB97LIKrX92lOcGFJ8He9na3D
 
AQDi0WP5XyJXppirS6iq3aqVtc+0gqNYZaaZYAHn0xTeC9m1/mEnmMxUp+M7tW1X
 
+fcFFW1/xRwbeNXNUFjBlrN0wlS3+kAbMGZLSg==
 
=46VU
 
 
-----END PGP MESSAGE-----
 
-----END PGP MESSAGE-----
  

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

jA0ECQMC70qTsVLaVD//0ukBMC2UrH9MU0MP4/saQwRtXo0C1FWhqNfOs6QyGLU1 2ppF9ZIAgcB5FHopJhGi0UC2BKNAgrbnSUL4H/8cEKzQL/TAQ+OJJkDGKGpOsnCL cm6mspCpQ/cs7yXDyqd2NyriWmsCp+t1ij1sH4rxN0Gd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CMzheG/ukuXLEG/Y7sOmK/Svi1uNjh9nY ROEH+WjD0+CJRA7cb5keoN8m2cnHYM5Oia7bfEd96TZ/w1V1ptU1xQ80Np+g6/+N UtKy8wE0oxKbq/hB97UuD/x5OahZmA== =rKWE


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