Most Popular

1500 questions
99
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?
99
votes
8 answers

Can I delete MSOCache?

I need more space on my SSD drive and I found that MSOCache is occupying 1.3 GB. I have Microsoft Office 2010 installed. Can I safely delete MSOCache?
Drake
  • 5,734
99
votes
8 answers

How to Select Hyperlink Text in Google Chrome?

How can I select hyperlink text using the mouse, without engaging the link itself? Is there a key combination that would allow this? For example, holding the Ctrl or Alt keys while clicking and dragging the cursor?
mmonem
  • 1,613
99
votes
6 answers

Command to 'gzip' a folder?

I am new to Mac command prompt stuff. How do you create a gzip of a folder in Mac OS X? I was told by a few folks that if you want to create a gzip of a folder you should 'tar' it first and then 'gzip' it. Is this correct?
thndrkiss
  • 1,133
99
votes
13 answers

How to make WSL run services at startup

After searching this site and various Q, it is clear that services and systemd is not available for WSL. I need to run a program in WSL every time I start my PC so I read this page on how to use crontab: How to run Ubuntu service on Windows (at…
seanbw
  • 1,143
99
votes
4 answers

How can I find out the command line options for git-bash.exe?

Apparently my google-fu sucks... I know these from other StackExchange posts: --cd-to-home # Change directory to home --cd= # Change directory to -i # ? -c # Run command, but --command doesn't…
816-8055
  • 1,327
99
votes
11 answers

brew upgrade broke Vim on OS X (dyld: Library not loaded)

I've not run brew update && brew upgrade for a long time. I just did a massive upgrade which turned out to broke my Vim. This is what I got after running vim: dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.3.0.dylib Referenced from:…
99
votes
3 answers

What's the difference between stereo and hands free?

Every time I connect a bluetooth headset it shows up as 2 things on sound playback devices. I can choose bluedio stereo or bluedio hands free. What is that? What's the difference? I often see the stereo part to be unstable though.
user4951
  • 5,029
  • 27
  • 76
  • 111
99
votes
6 answers

How to make git not prompt for passphrase for ssh key?

I'm using git bash and I setup ssh key using ssh-keygen and each time I do something with a repo git ask me for passphrase for /c/Users/jankiewj/.ssh/id_rsa. Is there a way to disable that passphrase. EDIT: I've edited original title (removed…
jcubic
  • 3,123
  • 4
  • 25
  • 23
98
votes
7 answers

How to get tab count in Chrome desktop without app/extension?

How can I view the number of open tabs in Chrome (desktop) without installing an app or extension? On Chrome for iOS it's easy, just look in the top right for the number: I have seen this question posted before, but asking for app/extension…
jsejcksn
  • 4,581
98
votes
5 answers

Aptitude vs. apt-get: Which is the recommended (aka the "right") tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely mentioned. Most people seem to prefer apt-get - and…
98
votes
5 answers

How to comment out multiple lines at once in Notepad++?

In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing /+/ in front of each individual line?
030
  • 2,808
  • 9
  • 29
  • 40
98
votes
7 answers

Why are special characters such as "carriage return" represented as "^M"?

Why is ^M used to represent a carriage return in VIM and other contexts? My guess is that M is the 13th letter of the Latin alphabet and a carriage return is \x0D or decimal 13. Is this the reason? Is this representation documented anywhere? I…
dotancohen
  • 11,720
98
votes
7 answers

How to get back a declined Outlook invitation

I accidentally clicked "decline" on an Outlook invitation and now I can't reverse it -- the event has completely disappeared from my calendar! How can I get back the event invitation and change my "Decline" to "Accept" or "tentative"?
bobobobo
  • 5,460
98
votes
10 answers

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; you just mark the beginning and ending of each…
Matias
  • 1,289