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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 58: Строка 58:
 
-----BEGIN PGP MESSAGE-----
 
-----BEGIN PGP MESSAGE-----
  
jA0ECQMCE3YSMIRKEbD70uoB6otLeY/2UN6N7p41aBijA9r+QhRsvOV4G6AG9AIw
+
jA0ECQMCe0hFUIq11jL/0ukBl+mjMsUl4F4hJ4oiQ5tLOufA+sqAhyd8ZMImYOpd
+UwQBENSO3cj2Ih+PYw1nExmP6jviV3kzyMC+5XfxFLYRx7HNdAn8EsPhm4l2gji
+
tirfeSp0bU/bUzhygjmT00Yf4U3uQ8FDy1a3/eT6W+lOFxgP7Yhr0GIfd9PtSBKb
uxpG7gL5PvpBjcNLE4S0P5l79oL70mEAX+xpZdzSIKnoOBviGhy4qQGBfABxHlFe
+
TcW4GNTbMP/M9yv0jJS0mpzx66lrLxhQtjS956UI2dmBupqJvTf+qJrXY3pgjC4M
b3i9Lg+fH80xMD+k/nMLxTgdTtaolnfI+IH/Y7birH7dWYsI5+ok+zoWMchYaEfK
+
mSWJAyXciyxy9bza0e+wv+rPO9j+KAJAxl6CfVskPRIuR82zz1nSJd5O2JLuF0ch
s6uHBhJ3MpLqm7gqsu1ZeJ/VUp3DzyexmFLZDAf4c65JQCWAzzUcWVRt5t7AKABW
+
aATQ73jRpP4lrENVUJZ4ruWKWCpoPnU8xpu6BTohZ10jJYnPz8sg13xWOSm9qasp
EBwUbI5Fm7pWUJyRXZ7RCkmdM08TV870k35QUM1v8RGd00Su6ERcLW/b+dArbKkA
+
ZCEVZuuAF2lcNOR+8N4ITABLM9pQSTSkulh00fR9oHFS6/jUisihIMMtAp0Su2TT
kjR9hyVhGgJ0rgDdIr6C/kroeDgxYLKeViheMF3PoNP1LrIvxM8t3eYuqzaZoT57
+
ANu1+6BBEU0Y6rcxolL6aTbCxmmA/C/iv6jnSZymlzEg/sI8B1s+ko8TdWSJeZ6F
DmtIlWpWdWYozj3zAoCJlQEj+QIF7c+8IBerEZgUO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bQZZG
 
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-----
 
-----END PGP MESSAGE-----

Версия 13:03, 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-----

jA0ECQMCe0hFUIq11jL/0ukBl+mjMsUl4F4hJ4oiQ5tLOufA+sqAhyd8ZMImYOpd tirfeSp0bU/bUzhygjmT00Yf4U3uQ8FDy1a3/eT6W+lOFxgP7Yhr0GIfd9PtSBKb TcW4GNTbMP/M9yv0jJS0mpzx66lrLxhQtjS956UI2dmBupqJvTf+qJrXY3pgjC4M mSWJAyXciyxy9bza0e+wv+rPO9j+KAJAxl6CfVskPRIuR82zz1nSJd5O2JLuF0ch aATQ73jRpP4lrENVUJZ4ruWKWCpoPnU8xpu6BTohZ10jJYnPz8sg13xWOSm9qasp ZCEVZuuAF2lcNOR+8N4ITABLM9pQSTSkulh00fR9oHFS6/jUisihIMMtAp0Su2TT ANu1+6BBEU0Y6rcxolL6aTbCxmmA/C/iv6jnSZymlzEg/sI8B1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