; echo -e "label:dos\nstart=1M,bootable" | sudo sfdisk /dev/sdX
; lsblk
$ sudo du -mSx -t 1M / > 1.txt
$ sudo du -mSx -t 1M / > 2.txt
$ diff 1.txt 2.txt
Я попытался так сделать, но как видно на скриншоте такого файла не существуют. Очевидно я чего то не понимаю, помогите пожалуйста разобраться в ситуации.
$ sudo pacman -S --overwrite "/usr/share/man/man5/gemfile.5.gz" ruby-bundler
$ sudo pacman -S --overwrite "/usr/share/man/man5/gemfile.5.gz" СПИСОК_ПАКЕТОВ
также файл "ffmpeg.exe"
$ sudo apt update
$ sudo apt install ffmpeg
в них установлен скрипт такого вида:
ffmpeg -i http://example.com/playlist.m3u8 -c copy 1.mp4
#!/usr/bin/env bash
ffmpeg -i "http://example.com/playlist.m3u8" -t "3:00:00" -c copy "1.mp4"
$ chmod +x myscript.sh
$ ./myscript.sh
DISK=(/dev/nvme0n1 /dev/loop0)
TIME=2
while :; do
i=$(iostat -dsxy $TIME 1 -o JSON ${DISK[*]} | jq -r '.sysstat.hosts[].statistics[].disk[] | "\(.disk_device)\t\(.util) %"')
clear
echo -n -e "$i\n"
done
loop0 0.35 %
nvme0n1 0.42 %
%util
Percentage of elapsed time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occurs when this value is close to 100% for devices serving requests serially. But for devices serving requests in parallel, such as RAID arrays and modern SSDs, this number does not reflect their performance limits.
$ LINE="zh_SG GB2312"
$ eval $(echo "$LINE" | awk '{print "var1="$1";var2="$2}')
получим:$ echo "$var1 $var2"
zh_SG GB2312
ru_RU.UTF-8 UTF-8
en_US.UTF-8 UTF-8
zh_SG GB2312
$ lines=(`cat lines.txt`)
$ echo ${lines[0]}
ru_RU.UTF-8
$ echo ${lines[1]}
UTF-8
$ bash --version
GNU bash, версия 5.1.4(1)-release (x86_64-pc-linux-gnu)
...
$ ./untitled.sh 1 1 1 1
script4 - Linux Scripting Book
Parameters: 1 1 1 1
Showing logical AND
Clause 1
Showing logical OR
Clause 1
End of script4
#!/bin/bash
I suggest to remove in the following way, the most appropriate and safe way without removing many dependencies is:
sudo rpm -e --nodeps mysql-community-libs mysql-community-common mysql-community-server