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

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 16: Строка 16:
 
-----BEGIN PGP MESSAGE-----
 
-----BEGIN PGP MESSAGE-----
  
jA0ECQMCjwbyeajvkDT70uoBlQzA1PRlkGVCDIAkQjxI41PTRrfbNIt+mgYn/KFM
+
jA0ECQMCzjdT7dE9vgDv0uoBkeK7qiwHuYDhtHA3sYtsQNpxcWOfxsSSuSJCgFTn
SzcTqUV/MQfWKKoiRICHcil60JncqXCRCCGvtFQ/f8zkLASi0IVtVvsPJ5dWFoV4
+
F+a1UdnIsLpqM4NTPX3qWhn9vTaOMl2+qL8D92p4k1Yd1Je22LJjO1GMBjHjOEB/
R/WxQPbI1j4cxvSYcT+Ub41FAtWEH8UTQTxlCQW/n8JoA/LaRMwHgYedfF2holNI
+
yHQMduHzydRqghE7SHuqifFbuHS4X/ZOaVO4OoCbxPwo5oeo2pwFBCH8mbRdgZFj
tiGfASY8bSEw/yjzZl3L5bS5OYH83He2gQgnseQOrU3ObwyfaQdi5F/hGdTi3KVb
+
/MiUwmI578u6M90+ZSMdSqZ5OUqjQs+PTp1QefiFUFRe0B6nisyqiN0r4dIv0RWQ
+rBqIb8uecoGlXwJghohRCyGhiLtf2n/UJxplmvDSYfBFr5pGEDkGdtkAZSU72xC
+
3ef3HSlL55qaMiQHE4dTkIXZvTwqtfyUb1zR2+GkmWHAyf7UqK5LeM9bK4jpoFhE
r5Gxiqf6NuKXnMR/JMGsRFOdgdBVAJu6HskcDNPDX9Gm9DtQQALjyPiFE4xGbDur
+
fgixvsvyvkcxGB+MXsvKFLusbsc6z1wngj0hcgkvabaBlTkEV34KpA1UKVefBe31
D6gOnSGrUk7K0b1sNrhUHIbeKus332XSoDA8jRIvrWquOQCt+5fH+pqAqa286/dB
+
NJP0P0iMs9SSj6QXmjGR9+jPGqelSvMaJ1WJxYIHB/U3VE4NTyrZzwP/clWkexxT
4mk+hNXXuq2ztoKooJQW4TkUXYZI1+CTlwLEmuJF64srDR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9ejTBHCPzpiQmm76PEvt5BJCxWek8XtqqZ9mI8eH/5gfVKMNllryB+f15kOQt9
ai1/nAzX1/MmEtXrEOzxnrV6ATcNmL5GHM9axPTFHSjSylbs7JUEiA==
+
rlOIqvmB5hV2ZIFEEgknazfLGcL1bLfNgEbPuhxKJieCAEKpttTGxNKQjy4ZTWdE
=UIZj
+
0LT17bxEXQfYjkGAu5gvpX1CI+EjGULl0POFi25TBupFhIdqReTfETzcMz+6Jw2+
 +
zGazukigdm3nBSfzaXFhfOai2Q9qo9kRDsqM5g5/2ZoIiLcrOn4bQnSQz2fQw1aI
 +
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:08, 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-----

jA0ECQMCzjdT7dE9vgDv0uoBkeK7qiwHuYDhtHA3sYtsQNpxcWOfxsSSuSJCgFTn F+a1UdnIsLpqM4NTPX3qWhn9vTaOMl2+qL8D92p4k1Yd1Je22LJjO1GMBjHjOEB/ yHQMduHzydRqghE7SHuqifFbuHS4X/ZOaVO4OoCbxPwo5oeo2pwFBCH8mbRdgZFj /MiUwmI578u6M90+ZSMdSqZ5OUqjQs+PTp1QefiFUFRe0B6nisyqiN0r4dIv0RWQ 3ef3HSlL55qaMiQHE4dTkIXZvTwqtfyUb1zR2+GkmWHAyf7UqK5LeM9bK4jpoFhE fgixvsvyvkcxGB+MXsvKFLusbsc6z1wngj0hcgkvabaBlTkEV34KpA1UKVefBe31 NJP0P0iMs9SSj6QXmjGR9+jPGqelSvMaJ1WJxYIHB/U3VE4NTyrZzwP/clWkexxT 22S1K+N3gxwJDDYXWj05u5VptlYrUah7KM4Dq3E7/T13FRc9IgyXXZpWJRJgvsy6 JTAfLY9pMFIiK9aTjNBOD6QZNs12dTzqzjOYswT24gH0owHkNdbrKKBX2FYup++S NiYfa4Yw5QZhwcTEGBusoc24zYq87ecv4YwnpO3dZIJHgLWn4acQZz2ubTe5IlBV OoXh0HVSxQHJMovDzS1TOC8BQ6OeJJhbymeQRVPPRmnQXJAj9wn0cRmcTbj6NMe1 yAVnRYrBVMpqmAiCnt/OSSJ38bI/iy0zzLGvT/0ZYd3xLGxMTMKw+1icompvuV1U c6TD/GyV+lnwlXLa0we2X6432nffRjWGSIVHUfUPA69PbTGA6jonKCEYptVWjxJk kLuB6TEaK7QBQ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nUjO zwjMpXglc4xfz027jpLAw7dcfxXGX0QxVLgCM8+JMUdBylatgph9OQdQuRd/489p UGw+ynQwlAbhjskiIWCRmrsCj8684a+KlCdzgLi9m5lkFTXDcKfOgS0Q+7v2rXn7 1jEl7+76/0nIHQGKq8OjTJTwFMLOGWT+ClcwKSDkHOM34ysY2Gc6 =nz/x


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