satwell
  • Member for 1 year, 4 months
  • Last seen this week
Why does RSYNC use two reading processes with different files on my backup target?
Accepted answer
2 votes

Take a look at How Rsync Works. Specifically, there is a generator process and a sender process that operate as a pipeline. The sender reads the file to send to the remote. The generator is ...

View answer
Stumped by this date behavior
Accepted answer
2 votes

If you provide only a time to the -d option of date, it interprets that as the provided time on today's date. With that in mind, let's look at your example: $ env TZ=UTC date -d "21:07:28 EDT&...

View answer
Unplugging laptop PSU from wox instead of wall socket
Accepted answer
1 votes

Your power supply and laptop aren't going to see any difference if you unplug the C13 connector instead of the wall socket. However, there are a couple safety factors to keep in mind. The C13 ...

View answer
How to copy same file from different directories to different directories
Accepted answer
1 votes

You can use rsync for this: rsync -r --prune-empty-dirs --include='/*/' --include='/*/Myfile.log' --exclude='*' user@host:remote_folder/ local_folder/ The include/exclude patterns are the only ...

View answer
How can you access to veracrypt GUI and CLI commands on the same linux system?
1 votes

Veracrypt has a -t option that forces it to use the text-based interface even if the GUI is available. From veracrypt -h: -t, --text Use text user interface. Graphical user interface is used by ...

View answer
How to establish a secure VNC tunnel between two hosts behind NAT?
Accepted answer
1 votes

VNC operates over port numbers starting at 5900. (VNC :0 is port 5900, VNC :1 is port 5901, etc.) Assuming your work machine is using :0 for VNC, then you'll need to forward port 5900. If you ...

View answer
secure data backup to remote server: scenario of compromised client
1 votes

You might consider using BorgBackup in append-only mode. This involves backing up the client to the server over SSH with key-based authentication. Both the client and the server need to have ...

View answer
less command does not open zip files on debian
Accepted answer
1 votes

The lesspipe tool can transparently convert files to text when you call less on them. This includes decompressing .gz files and listing the contents of .zip files. Debian includes lesspipe in the ...

View answer
Same subnet but invisible to eachother
Accepted answer
0 votes

It's common for public wifi networks to enable wireless client isolation, which would prevent two devices on the same wifi network from sending traffic to each other, even if they're on the same ...

View answer
Multi user full disk encryption - larger than 8 user threshold. i.e. Not luks
Accepted answer
0 votes

The LUKS full dsk encryption passwords are separate from user account passwords. So you can create as many users on the system as you like. But anyone who needs to boot the system will need to know ...

View answer
Grep with a variable in a script
Accepted answer
0 votes

${JAIL} is not getting expanded in the argument to grep because it's in single quotes. You could switch the single quotes to double quotes (and change \$ to just $), but that's kind of fragile. A ...

View answer