Most Popular
1500 questions
109
votes
8 answers
How do I escape spaces in command line in Windows without using quotation marks?
For example what is the alternative to this command without quotation marks:
CD "c:\Documents and Settings"
The full reason I don't want to use quotation marks is that this command DOES work:
SVN add mypathname\*.*
but this command DOES NOT…
David
- 1,403
109
votes
6 answers
How do I change the DNS settings for WSL2?
As far as I've been able to work out, the official process for changing which DNS server is used by WSL2 on Windows 10 is as detailed below. (WSL2 is the new release of the Windows Subsystem for Linux, which runs an actual Linux kernel in a…
Bevan
- 2,913
109
votes
8 answers
Is there a good tool for monitoring network activity on Mac OS X?
Is there a good bit of software on Mac OS X that I can use to monitor incoming and outgoing network activity? Nothing too geeky, I just want something simple to use.
I'm on version 10.6 (Snow Leopard) if that helps.
xentek
- 1,211
108
votes
3 answers
Previous commands wrapped with square brackets in OS X Terminal
Yesterday my terminal started surrounding commands that had been run with square brackets. I'm not sure how I've turned this on, but would like to turn it off.
Example:
So far, I've done:
Checked that there's nothing funny in my…
Josh
- 2,611
108
votes
9 answers
Use ffmpeg copy codec to combine *.ts files into a single mp4
I've got a bunch of ts segments described by a single index.m3u8 file:
index.m3u8
segment1_0_av.ts
segment2_0_av.ts
segment3_0_av.ts
segment4_0_av.ts
segment5_0_av.ts
I know they are all encoded the same way. ffprobe gives me the…
Ana
- 1,783
- 4
- 20
- 21
108
votes
4 answers
What is the difference between NTFS hard links and directory junctions?
The title says it all... what's the difference? When do I use one and when do I use the other?
Added: Note that Junction points, Hard links and Symbolic (soft) links are three separate things on NTFS.
Vilx-
- 4,237
108
votes
9 answers
How can I rotate a video 180° with FFmpeg?
I have a video that was rotated 180° when recorded. Is it possible to correct this with FFmpeg?
Louis Waweru
- 25,409
- 45
- 137
- 203
108
votes
8 answers
256 color support for vim background in tmux
while using vim within tmux I can see that 256 color support is enabled. with $tput colors
However changing the colorscheme in vim while in tmux will change the colorscheme on a per line basis but not the entire background. see screenshot
Here is a…
winchendonsprings
- 2,148
108
votes
5 answers
How do I access MTP devices on the command line in Windows?
Most MTP (Media Transfer Protocol) devices show up in Windows File Explorer under their device name or a GUID, but they don't have a drive letter assigned.
How can I access the files on such devices from the command line? Using either cmd.exe or…
Peter Hahndorf
- 14,315
108
votes
3 answers
One GnuPG/PGP key pair, two emails?
I have two emails I use frequently, for both of which I'd like to use PGP keys generated/managed by GnuPG. I'd like to avoid creating a different key pair for each email, if possible, as that's unnecessary for my situation, i.e. I use the two emails…
Computist
- 3,015
- 6
- 31
- 33
108
votes
3 answers
logrotate configuration file syntax - multiple wildcard entries possible?
Since the man page doesn't answer my question and I don't want to force a rotation cycle, I decided to ask the question here.
The man page for logrotate gives the following example:
"/var/log/httpd/access.log" /var/log/httpd/error.log {
…
0xC0000022L
- 7,544
- 10
- 54
- 94
108
votes
10 answers
Extremely simple web server for Windows?
A few years ago I used a super simple free web server for Windows.
The only thing you had to do was copy an exe to a dir, double-click that exe, and - voilá - that dir was now accessible over HTTP.
The only problem is that I can't find that little…
Martin R-L
- 1,393
108
votes
8 answers
What does the @ mean on the output of "ls" on OS X' terminal?
When doing an ls in a directory I get the following output:
drwxr-xr-x@ 12 xonic staff 408 22 Jun 19:00 .
drwxr-xr-x 9 xonic staff 306 22 Jun 19:42 ..
-rwxrwxrwx@ 1 xonic staff 6148 25 Mai 23:04 .DS_Store
-rw-r--r--@ 1 xonic staff …
xon1c
- 1,181
108
votes
6 answers
Utilize extra mouse buttons in Mac OS X
I have a wireless USB mouse by Anker (https://www.anker.com/products/98ANWVM-UBA) with a few extra buttons that I would like to take advantage of on my Macbook Pro (running OS X 10.11.6). On their website, it says that these buttons can only be used…
Logan
- 2,013
108
votes
4 answers
Convert a PDF to greyscale on the command line in FLOSS?
I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF on the command line using free software? I'm using…
Amandasaurus
- 2,037