Most Popular

1500 questions
86
votes
14 answers

zsh starts incredibly slowly

ZSH takes about a second and a half from creating a new terminal window to being ready. I'm pretty sure that the culprit is compinit. I haven't been able to find good documentation on compinit, but it looks like it should be caching all of the…
Eli
  • 963
  • 1
  • 7
  • 5
86
votes
7 answers

How to sync bookmarks across Google Chrome and Mozilla Firefox bookmarks?

How to sync bookmarks across Google Chrome and Mozilla Firefox bookmarks? As I currently understand, Google Chrome puts bookmarks separately from Google Bookmarks, which is accessible in Firefox by using Google Toolbar for Firefox. Right? So, how…
ViliusK
  • 1,750
  • 4
  • 17
  • 18
86
votes
5 answers

How do I get the size of a Linux or Mac OS X directory from the command-line?

What command do I use to find the size of all the files (recursively) in a Linux or Mac OS X directory?
Daryl Spitzer
  • 8,415
  • 12
  • 41
  • 38
86
votes
10 answers

How can I open a file read-only from command line with emacs/vi/vim

Is there a way to tell emacs/vi/vim (from the command line) that I want to view the file in view-mode or read-only. I know how to open a file as read only if emacs/vi/vim is already running.
Nifle
  • 33,717
  • 26
  • 107
  • 137
86
votes
2 answers

How do I connect VLC to a known DLNA server?

I have VLC on my Mac and would like to connect to a DLNA server on my LAN but the server isn't showing up in VLC's UPnP auto-discovery UI. Given the IP address of the server how can I point VLC to it explicitly so it can be 'discovered'?
fbrereto
  • 1,083
  • 1
  • 9
  • 13
86
votes
15 answers

Windows command that returns external IP

Is there a command by which I can find my external IP of my router or my NAT\DSL Router, etc., eliminating the need to visit whatsmyip.net or similar.
Junaid Saeed
  • 1,224
  • 3
  • 13
  • 25
86
votes
7 answers

How to enable HiDPI support on Zoom.us linux client?

Screen elements are too small to click or read on my 4K laptop screen. How do I make it obey Gnome scaling, which is set to 200%? I'm on Fedora 29, but this should be the same issue on Ubuntu 18.04 LTS This issue also affects macbook retina display…
Ray Foss
  • 1,784
  • 4
  • 19
  • 23
86
votes
4 answers

bash watch command with colors preserved

From man watch: Non-printing characters are stripped from program output. Use "cat -v" as part of the command pipeline if you want to see them. So how do I use cat -v if I want to see the colored output from: watch ls -al --color
Paweł Gościcki
  • 2,558
  • 3
  • 22
  • 26
86
votes
5 answers

How do I change the language of the Linux subsystem in Windows 10 (WSL)?

After installing Bash in Windows 10 I noted that it is using Swedish in the linux applications. My Windows 10 installation is in English. I have tried to reinstall bash after changing the default input language to english using lxrun /uninstall…
User0
  • 1,128
  • 1
  • 7
  • 7
86
votes
8 answers

Equivalent of chmod to change file permissions in Windows

Is there any Windows equivalent of Linux's chmod to change the permissions of a file?
sunmoon
86
votes
3 answers

What exactly is <() in bash (and =() in zsh)?

I'm pretty comfortable with bash, but recently I ended up in a substitution I didn't know. What exactly is <(command) in bash? How does it compare to the =(command) in zsh? I understand that this has something to do with default file descriptors. In…
Henrique Barcelos
  • 1,067
  • 2
  • 9
  • 10
85
votes
10 answers

PuTTY how to select text and copy text using keyboard ONLY

Is there any way of selecting a text with keyboard the way I do it normally using Shift+arrows.
l245c4l
85
votes
7 answers

Is CRT degaussing really dangerous for nearby laptops?

I have an old CRT connected to laptop as a secondary display. As you know, when CRT turns on it degausses itself; remember that sound when you turn it on, or force degaussing through menu. CRTs have a copper, or often in the case of cheaper…
85
votes
10 answers

Are computers with more RAM potentially faster if not all memory is usually in use?

Let's say I have a computer with 16 GB of memory. If my computer is usually only using about 4 GB and never reaches 8 GB, is it any faster than a computer with only 8 GB of (the same type of) memory? Would my computer run equally fast by removing…
Keavon
  • 1,141
  • 1
  • 12
  • 23
85
votes
7 answers

Is there a way to list Chocolatey packages with their install directory?

The command choco list -lo lists the installed packages. But how do I determine where a Chocolatey application installs? So far I've had to hunt around for them. Some examples: NUnit goes to Program Files (x86) WGET goes to…
antwarpes
  • 975
  • 1
  • 6
  • 7