It's a sneaky one (a typo), you need to use: umount
instead!
How to copy both hidden and visible files from the current folder using scp
# Local -> Remote:
scp -r <local_path> <host>@<ip>:<remote_path>
# Remote -> Local:
scp -r <host>@<ip>:<remote_path> <local_path>
How to run diff
on outputs of two commands
diff <(<first_command>) <(<second_command>)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Vars: | |
SET filename=battery-report.html | |
:: Generate the battery report file (in script's path): | |
powercfg /batteryreport > nul | |
:: Open the file (in the default browser): |
If you can't copy text from Vim / Neovim to your system's clipboard, for instance when using the "+y
shortcut (I've encountered this issue when testing out Fedora
+ KDE
+ Wayland
).
Try installing the wl-clipboard
package, like so:
sudo dnf install wl-clipboard
- Install
docker
:
yes | sudo pacman -Syu docker
-
Make sure the
dnf-plugins-core
package is installed. -
Enable the
the4runner/firefox-dev
Copr repository:sudo dnf copr enable the4runner/firefox-dev
-
Install
Firefox Developer Edition
:
- Install the [
cifs-utils
][1] package:sudo pacman –S cifs-utils
. - Make a mount folder for the SMB share:
sudo mkdir /mnt/<Path>
. - Create a backup of the [
fstab
][2] file (just in case):sudo cp /etc/fstab /etc/fstab_backup
. - Open the [
fstab
][2] file in your favorite editor:sudo vim /etc/fstab
. - Add the mount line:
//<Server_address>/<Server_share_and_internal_path> /mnt/<Path> cifs username=<Server_user>,pass=<Server_password> 0 0
.
- Save the file.
- Reload [
fstab
][2]:sudo mount -av
.