n.st
  • Member for 9 years
  • Last seen more than a week ago
5 answers
32 votes
52k views
How to "unvisit" links in Chrome?
Accepted answer
36 votes

Open the history by pressing Ctrl + H, search for the URL that you want to remove, click on the time that is displayed left of it and then click Remove selected items. Note: Since Chrome history ...

View answer
5 answers
34 votes
4k views
What stops an internet router from sniffing my traffic?
19 votes

Nothing. Every hop between your computer and the server you are accessing can read the packets you are transmitting and receiving. You can however encrypt them, so they will be meaningless to any ...

View answer
1 answers
5 votes
18k views
Permission denied using Rsync as root
Accepted answer
7 votes

From the mainpage for rsyncd.conf: auth users This parameter specifies a comma and space-separated list of usernames that will be allowed to connect to this module. The usernames do not ...

View answer
2 answers
6 votes
3k views
"du -h" with more decimal places
Accepted answer
7 votes

du -Lsbc * | awk ' function hr(bytes) { hum[1024**4]="TiB"; hum[1024**3]="GiB"; hum[1024**2]="MiB"; hum[1024]="kiB"; for (x = 1024**4; x >= 1024; x /= ...

View answer
1 answers
4 votes
1k views
How to change a message's subject in a Sieve rule?
Accepted answer
6 votes

It seems there is no standardised way to directly prepend or append a string to a message's Subject header, but there is a workaround using the editheaders and variables extensions: require "...

View answer
1 answers
2 votes
7k views
My Google chrome is sharing history with another computer
6 votes

Navigate to chrome://settings/search#disconnect, click Disconnect your Google Account... and Disconnect account. It's strange though that you are both logged in with the same Google account -- you ...

View answer
8 answers
21 votes
17k views
Linux distro with just busybox and bash?
5 votes

"Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox."

View answer
3 answers
2 votes
241 views
Is there a clever way to underline a heading?
4 votes

:t.|s/./=/g One keypress shorter than Barton's solution. ;)

View answer
1 answers
0 votes
251 views
How can I edit a flash website?
Accepted answer
4 votes

You can't. HTML is just a markup language and as such can be easily read and modified. Flash movies on the other hand are binary files compiled from source code, much like an executable program. ...

View answer
1 answers
2 votes
151 views
Does Xubuntu keep a log of all USB devices ever connected to the system?
4 votes

You will find information on connected and disconnected USB devices in /var/log/dmesg and /var/log/syslog (at least on a Debian-based system like (X)Ubuntu). syslog will be more helpful for you, since ...

View answer
1 answers
2 votes
2k views
Tmux new named session exited
Accepted answer
4 votes

tmux interprets test as a shell command, executes it and terminates afterwards. To create a session named test, use tmux new-session -s test or tmux new -s test.

View answer
1 answers
0 votes
258 views
use diff against text files with list of files to find different files by size and/or modified date/time
Accepted answer
2 votes

To get a reliable overview, you'll need uniform and sortable lists of the files in both directories, and a way to compare these two lists. As has been pointed out, diff is meant to create readable, ...

View answer
6 answers
6 votes
5k views
How to unwrap 80 character text
2 votes

Special cases, as Att Righ said… I found this question because I wanted to "unwrap" output from the fortune program, which annoyingly isn't even standardized — some fortune cookies are wrapped at 78 ...

View answer
1 answers
-1 votes
129 views
Automate Restart Of Solr
2 votes

When I wrote this answer four years ago, I was still a Linux and shell novice — and the original answer with all its unnecessary greping and seding makes that painfully obvious… There is of course a ...

View answer
1 answers
4 votes
4k views
Can registered ECC memory go into a desktop mother board?
Accepted answer
2 votes

According to ASRock's website, it doesn't support buffered (by which they mean registered[1]) memory: http://www.asrock.com/mb/AMD/970%20Pro3%20R2.0/?cat=Specifications [1] Buffers were only used ...

View answer
1 answers
0 votes
1k views
Read local file from remote ssh
2 votes

You could either copy the file to the remote host (e.g. to /tmp) before running your script, or establish a ssh connection from the remote to the local host to get the file contents. For the latter, ...

View answer
1 answers
4 votes
1k views
Using dropbox / symbolic link combo successfully
Accepted answer
2 votes

You can use the --bind option of mount to make one directory appear in another (much like a symbolic link, the mount point has to exist, though). See man mount for details. If you want to preserve the ...

View answer
1 answers
0 votes
63 views
Specifying search type in google chrome before actual search begins
Accepted answer
1 votes

You can define search keywords by right-clicking a text input field on a website and selecting Add As Search Engine.... Assuming you have added the keyword gi for Google's image search, you can type ...

View answer
3 answers
0 votes
883 views
Shell is interpreting IFS=$'\n' as IFS='n'
1 votes

Why not just find /home/jhvisser/bin/Streamripper_rips -name '*.aac' -mtime -1 -delete?

View answer
1 answers
-2 votes
427 views
How to Download File with a GET in URL using wget?
1 votes

wget 'https://courses.cs.ca/2013fa-cmpt-100-d1/+gems/submission/ass1/145678/get' If you want to specify a filename for the downloaded file, add -O filename.

View answer
1 answers
0 votes
2k views
Create/add a non existing key to mouse
1 votes

You cannot create a new key, but you can try to find and map a key that isn't available on your keyboard and/or not mapped to any function. If the game you want to control supports key combinations, ...

View answer
1 answers
0 votes
69 views
Thunderbird: How to use the same identity for multiple mail accounts
0 votes

Thunderbird stores identities independently from accounts and only maintains a list of relations between them. By manually editing your settings file, you can link the same identity to multiple ...

View answer
2 answers
1 votes
1k views
Forward remote port to remote host
Accepted answer
0 votes

If you have shell access to another server on the same network, you can connect to secondserver via SSH and use it to tunnel all connections to your local port 8080 to port 8080 of the camera (IP 192....

View answer
2 answers
2 votes
238 views
Automatically creating a particular screen setup on startup
0 votes

You can use screen -S sessionname -X command to run tmux-commands1 in an existing session, e.g. -X screen top to create a new window and run top in it. Note that the newly created window will be ...

View answer
1 answers
0 votes
740 views
Cron fails the script command
Accepted answer
0 votes

When invoked as sh /data/webcam/script.sh > /data/webcam/log.txt 2>&1, sh will interpret /data/webcam/script.sh as a command file and everything else as arguments to it -- including, ...

View answer
1 answers
0 votes
537 views
Backup installed packages in Ubuntu
0 votes

apt (Ubuntu's default package manager) caches the packages it downloads in /var/cache/apt/archives/. They're most likely still there, so you can copy them from there and install them via the Software ...

View answer
2 answers
2 votes
3k views
Automatically mounting Truecrypt volumes at user login time
Accepted answer
0 votes

You can add truecrypt /home/user/myEncryptedFile.tc /home/user/myEncryptedFileFolder <<EOF password EOF to the file .profile in the user's home-directory. Anything in .profile while be ...

View answer