Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

The name shebang for the distinctive two characters comes from an inexact contraction of SHArp bang or haSH bang, referring to the two typical Unix names for them. Another theory on the sh in shebang is that it is from the default shell sh, usually invoked with shebang.[18][19] This usage was current by December 1987,[20] and probably earlier.
3 years ago
One possible approach is to install **unoconv** (if not already installed) and
***unoconv file.odt***
Please see man unoconv for details
**unoconv is a command line utility that can convert any file format that LibreOffice can import, to any file format that LibreOffice is capable of exporting. unoconv uses the LibreOffice’s UNO bindings for non-interactive conversion....**
In some platforms it is also necessary to install **libreoffice-headless**
3 years ago
**Ctrl-[** sends the same character to the terminal as the physical Esc key. The latter is simply a shortcut for the former, generally.
3 years ago
I had the same issue for unzipping a large file (~6 GB). Solved it with this:

***jar xf your_file.zip***
I hope it helps!
3 years ago
Using bc and bash:
***#!/bin/bash

chrbin() {
echo $(printf \\$(echo "ibase=2; obase=8; $1" | bc))
}

ordbin() {
a=$(printf '%d' "'$1")
b=$(echo "obase=2; $a" | bc)
printf '%08d' $b
}

ascii2bin() {
echo -n $* | while IFS= read -r -n1 char
do
ordbin $char | tr -d '\n'
echo -n " "
done
}

bin2ascii() {
for bin in $*
do
chrbin $bin | tr -d '\n'
done
}
ascii2bin "This is a binary message"
bin2ascii 01010100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01100001 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01101101 01100101 01110011 01110011 01100001 01100111 01100101***
3 years ago
I write "exit" then enter. The menu of Boot Manager shows, then I select Windows Boot Manager. It works with Windows 10
3 years ago
As you have discovered you cannot use rsync with a remote source and a remote destination. Assuming the two servers can't talk directly to each other, it is possible to use ssh to tunnel via your local machine.

Instead of
***rsync -vuar host1:/var/www host2:/var/www***
you can use this
***ssh -R localhost:50000:host2:22 host1 'rsync -e "ssh -p 50000" -vuar /var/www localhost:/var/www'***

In case you're wondering, the -R option sets up a reverse channel from port 50000 on host1 that maps (via your local machine) to port 22 on host2. There is no direct connection from host1 to host2.
3 years ago
obviously, I found the solution 5 minutes after posting the question.

start recording: Super + Control + r
pause recording: Super + Control + p
finish recording: Super + Control + f
show Kazam: Super + Control + s
quit Kazam: Super + Control + q
Note: Super is usually this "Windows logo" key
3 years ago
There is a BIG difference.

Lets take the following script called testscript (configured to use /bin/ksh as you see in the hashbang):
***#!/bin/ksh
#im testscript
cd /proc/$$
file exe***
First lets execute it with ./:
***$ ./testscript
exe: symbolic link to /bin/ksh93***

Now calling bash:
***$ bash testscript
exe: symbolic link to /bin/bash***
The interpreter used by the script changed in the second command, so if the script depends in some ksh specific code it will be broken, and in other way if the scripts depends on bash specific code, then will broke it with the first command.

Other test you can do is to echo $PATH in the two different cases of execution.
3 years ago
**gnome-maps** uses **geoclue** which in turn uses the names/MACs of the wireless networks names and Mozilla Location Services. That's how it gets your location. Here there is more information on wifi-based location technologies.

Dependencies might not allow for removal, but you can disable **geoclue.**
3 years ago
I was very interested in converting avi files to mp4. Reading your post, I remembered this ffmpeg command:
***ffmpeg -i input.avi -strict -2 output.mp4***

The command **-strict -2** is necessitated by the AAC codec which is experimental, but works (libaac), if you add those two parameters. The output file is high-quality by default.
3 years ago
Then in your download folder : *** sudo pacman -U discord-0.0.14-1-x86_64.pkg.tar.zst***
3 years ago