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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 9: Строка 9:
 
https://www.commandlinefu.com/commands/browse/25/50/75/100/125/150<br>
 
https://www.commandlinefu.com/commands/browse/25/50/75/100/125/150<br>
 
https://tproger.ru/digest/useful-linux-utilities/ 10 полезных утилит Linux для анализа и мониторинга системы<br><br>
 
https://tproger.ru/digest/useful-linux-utilities/ 10 полезных утилит Linux для анализа и мониторинга системы<br><br>
 +
 +
-----BEGIN PGP MESSAGE-----
 +
 +
jA0ECQMCwy+QPjtiZVj70uoBrFwjO9p3dqnlbWlv0ycewAZKY3+XTf9Q8SY1Qadx
 +
jGeuHfBsnUsgo6vgugMzex2uG2nJDKT/LKqhlFxino9iyGgHu6h8ff6EQRTGvDjZ
 +
5U3Ws5n+NXQl1TDN5+TC2zFFGN/sseTBfUb9LmnMZ/o7Ggyn02vrm9Ra0t96f+G2
 +
HL6yF4unZWHwEm0bjyqscmZVnDD9ZVJ8fSWGQDmlikcI69UhBl2oL9i9hM+SeEqD
 +
8FasKmYbRDBE27Mhmds4KroJQ0C1HP4N5tWL4r58g3lTMNSwlfzOCfnrYRft67Ht
 +
LqwIxv7WM+GT724ykX8e5+0wUOmPav9c2URS8B0hbuW3Ae7Zj8dCO9NK12Z8OvR7
 +
YWcOxS14MgsK1dJngpvrvAz9qzCfDZAb+N6mLoeANvGLxkfVpmE8bbbSl/yWb4K0
 +
uIRQsVbIAm+GHz3Mih4G9R2p7fik4unFchgSR5Gpswr26YkawmGDu2vODJc+KKXO
 +
AvZZKacWPmrou121Q2Wef5Z3BEtU1QVvw+hCJLEuld0fcNb3KGzpNJqZP+7WC0gP
 +
4vHbNgbEQYIoJuuJr5eLI3LtrjYOzkqEJ/aGHpfrr/UFgO6NxYddC2fABoLPZMq3
 +
OXiUecIQJmRM5mH8u91BACKfJ9Agn75wR4hrwwaNHEWhc422rC1Z427j+lPKeBQI
 +
rxjL01zrWcTTcON2dH/22LgWIuY6hDHrnuqN4tHtkf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4LdBrhzyIHovHcMOqKg/
 +
AaGt9A0=
 +
=5nWP
 +
-----END PGP MESSAGE-----
  
 
/home/developer/work/openwrtsource/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/bin/mips-openwrt-linux-musl-gcc hello.c -o hello  
 
/home/developer/work/openwrtsource/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/bin/mips-openwrt-linux-musl-gcc hello.c -o hello  
Строка 55: Строка 89:
  
 
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-----
 
 
jA0ECQMCe0hFUIq11jL/0ukBl+mjMsUl4F4hJ4oiQ5tLOufA+sqAhyd8ZMImYOpd
 
tirfeSp0bU/bUzhygjmT00Yf4U3uQ8FDy1a3/eT6W+lOFxgP7Yhr0GIfd9PtSBKb
 
TcW4GNTbMP/M9yv0jJS0mpzx66lrLxhQtjS956UI2dmBupqJvTf+qJrXY3pgjC4M
 
mSWJAyXciyxy9bza0e+wv+rPO9j+KAJAxl6CfVskPRIuR82zz1nSJd5O2JLuF0ch
 
aATQ73jRpP4lrENVUJZ4ruWKWCpoPnU8xpu6BTohZ10jJYnPz8sg13xWOSm9qasp
 
ZCEVZuuAF2lcNOR+8N4ITABLM9pQSTSkulh00fR9oHFS6/jUisihIMMtAp0Su2TT
 
ANu1+6BBEU0Y6rcxolL6aTbCxmmA/C/iv6jnSZymlzEg/sI8B1s+ko8TdWSJeZ6F
 
c8L3bpsLh006uMdz7FqVJmmYiZbnMzAZvGLP8F2Vz/M+OrugYl2sSKF0Kd9q3Du5
 
w8gkEDRJtU028s7DI5QwhAn6hndNvSljvKpc7kxnvV5YalMF7ffeyTZgXK+PzOZi
 
NMJm6DruvO5fDSt6J82djdn7Ge90pUlI4Bk+qU2VLJBrAjjnKkOhojQQoshujpSa
 
2lU64/WP6o7Iy5yjYpL4pm4LnxLpmhUpyeG6DKUb8vknl5auPCFKGL8a1o/p6ML4
 
/MEcd99DoAI19Oeoh6KMCjCd3AkP7BGVdaylWzNm1n9uKZXbmJAK99cRbD8wI2Ny
 
4KO2Mb4doXpFQ6jD4M3fZ/dsmX1eIE94QEUx/K3ES0SBhRBm4kNjU/eHLb146QoN
 
ZDobjWQnE2ZO1lHdUhGA/JvCKAXgVNiigAzr1rErb7+/2rE4BBWwaP/3obVpQfOk
 
PtVxuqd3cPyro5l48Nu8knIpPOewHt9qm7YIn8h/ZIdpUMuWJZG54TUsdo6Wradu
 
KMqqLccyKLSNWCWKgLFmLAU5g9dHj1LOnXa2oQrlqKLOmF3SSgNs17iUcPaHkAm7
 
8SmvyW0HQWP0VOpwvmHRqNhCwFTWQjvwvPH/FIV495IiDAvw8w1rEiSUxcgE9sxU
 
Jzg8mygjsOCCUVWRA43qDwKqLvxaQ8rTseWLm6Q7Cbo6oKkf8LZiON2jsABntMz7
 
jekX/55fvshVmZAvOj83hUHF+93Xce7DDX00gcq+7DG8Misn1pRuWV8wzKMQt/UW
 
GU6oTzPr+O+OOMZzxnULhZURHsatgTqlugiw7a+bf3Cp6Ux3QPOKrQTN7PBjRRin
 
KCmNQtjhtwSLpb6c2GCcqRxE1YAdx5e4tgxLzK6dSrfvSRjuPd82VWwYUZgRkBc=
 
=ItQ7
 
-----END PGP MESSAGE-----
 

Версия 14: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 для анализа и мониторинга системы


BEGIN PGP MESSAGE-----

jA0ECQMCwy+QPjtiZVj70uoBrFwjO9p3dqnlbWlv0ycewAZKY3+XTf9Q8SY1Qadx jGeuHfBsnUsgo6vgugMzex2uG2nJDKT/LKqhlFxino9iyGgHu6h8ff6EQRTGvDjZ 5U3Ws5n+NXQl1TDN5+TC2zFFGN/sseTBfUb9LmnMZ/o7Ggyn02vrm9Ra0t96f+G2 HL6yF4unZWHwEm0bjyqscmZVnDD9ZVJ8fSWGQDmlikcI69UhBl2oL9i9hM+SeEqD 8FasKmYbRDBE27Mhmds4KroJQ0C1HP4N5tWL4r58g3lTMNSwlfzOCfnrYRft67Ht LqwIxv7WM+GT724ykX8e5+0wUOmPav9c2URS8B0hbuW3Ae7Zj8dCO9NK12Z8OvR7 YWcOxS14MgsK1dJngpvrvAz9qzCfDZAb+N6mLoeANvGLxkfVpmE8bbbSl/yWb4K0 uIRQsVbIAm+GHz3Mih4G9R2p7fik4unFchgSR5Gpswr26YkawmGDu2vODJc+KKXO AvZZKacWPmrou121Q2Wef5Z3BEtU1QVvw+hCJLEuld0fcNb3KGzpNJqZP+7WC0gP 4vHbNgbEQYIoJuuJr5eLI3LtrjYOzkqEJ/aGHpfrr/UFgO6NxYddC2fABoLPZMq3 OXiUecIQJmRM5mH8u91BACKfJ9Agn75wR4hrwwaNHEWhc422rC1Z427j+lPKeBQI rxjL01zrWcTTcON2dH/22LgWIuY6hDHrnuqN4tHtkfssfLHduG7n4svVA3b90jLs NkEzHvks/QyluQeR8xhYKBqi5EP+H90Z9JugZj78CRuC02siyiMFKqnwywaFaSw+ +wNbFvOWrpB6nfOHvf69APZ3nS3XClb2x3ZIdUdNCc0msKnwqWoFyqwSHNYmvRcC tY1gknmZozy0HsVJBgPfX7J/FdYbeUn+ynxqa58wpD1FDdxyKT9iE7D4s3e++BjT d4wvUTzHGIFYsbrBBft91as+fblKOmtxxI99R+I8pC8RNak6akzcecasVGxd0Dmu RcxZ+HHOOUynhSIdWlEelCn17Gt89VJWDouK1JrlkMPU11fH06SJCrLUMNwRu8OY TBCPfkMEjvsyiUffDy1N7VMyccRs2/LK/nbg4WKPPmxWGI8/Adi09vkY+zVvk0mm aq1Au1tWppIyEduY+8NZtOv98UcEPEStprsO7aDFfPFIDT8zpU0RFkiIgsj8Ydsr y9EeK1FY24gHhbEqQ8UuKhakTiai80w+GD/edPVOky3m4Dh05N+PnBrUV5vrhbiP NnGVp0MpetNseDG28NevBvZNj+P38RZPIzLeifqVOWqVnKwYUXJRmeUdRhtjMsZT 5QlGV4pGtnAEafMII13gI8FnQHkn3QBx7CH4hRoLTE9iwHJhOqq7ubzHMvuP1Cno YDShcihxSJHyjdsu+aVdsl1r6C1tWDRFHbmWs6TOFHaP7vfAItJZnn9ULXimNT37 6Tk8HyamTceghev1cp1Y+HGCo+XYl2b8KiVJ6n864sSoCtyAoHiJeoot3LAvoOKt /FKi3R+hjo9sup5DTey/GAp6+E9h2IeUr3YIJ/KEkiUBADmGgQnVJ2Si2cRU13wB wO0ZpJJtU8dhnMRSrjstLuYxosXI9tPiXdk4U8Nj6RyOEzqkye1MGfXn0E9w17wt /VznjTgwWNpoFkO9ZbSDv7kaqvGKixQz0djhukaBqMbsTWuxwVT80nQ0JVWHoCiZ mKCHxKn1BP3Xksf/2IMKi+Za5Kafa7LmOOuWcmRmAKWN4LdBrhzyIHovHcMOqKg/ AaGt9A0= =5nWP


END PGP MESSAGE-----

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