Anbox - нужно устанавливать на Gnome.
А потом уже запускать на других DE.
#!/bin/bash
IFS='
'
exec 3<>data.txt
while read -u 3 line
do
(
IFS=' '
result=()
for word in $line
do
[[ ! "${result[*]}" =~ "$word" ]] && result=(${result[*]} $word)
done
echo ${result[*]}
)
done #!/bin/bash
res=0
read h1 m1 h2 m2
while :
do
if [ $m1 -eq 0 ]; then
if [ $h1 -gt 12 ]; then
dif=$(($h1-12))
else
[ $h1 -eq 0 ] && dif=12 || dif=$h1
fi
res=$(($res+$dif))
else
[ $m1 -eq 30 ] && ((res++))
fi
[ $h1 -eq $h2 ] && [ $m1 -eq $m2 ] && break
((m1++))
[ $m1 -eq 60 ] && m1=0 && ((h1++))
done
echo $res"~/bin/fastcommands"
m:0x4 + c:65
Control + space#!/bin/bash
declare -A COMMANDS
COMMANDS["con"]="konsole --help"
COMMANDS["vl"]="vlc"
comm=$(zenity --title "Enter command" --entry)
c=${COMMANDS[$comm]}
[ -n "$c" ] && $c#!/bin/bash
for fn in *.JPG
do
fn_small=${fn,,}
num=${fn_small//[a-z.]}
mv $fn ${fn_small/$num/$(printf "%04d" $num)}
done