Most Popular

1500 questions
509
votes
7 answers

How does a computer restart itself?

How can a computer restart itself? After it's off, how does it tell itself to come back on again? What kind of software is it that can do this?
Seth Carnegie
  • 4,189
  • 3
  • 16
  • 13
508
votes
17 answers

Is there any 'sudo' command for Windows?

I always work on a non-administrator account on my Windows computer. Sometimes I need to install programs which requires administrator access. As I mostly use the Windows command prompt, is there a Windows command to escalate privileges, similar to…
ukanth
  • 10,660
  • 11
  • 43
  • 60
507
votes
9 answers

Did I just get hacked?

I am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it. I went away for an hour or two, and when I came back to my office I noticed…
vaid
  • 3,539
  • 5
  • 16
  • 19
505
votes
5 answers

Remove audio from video file with FFmpeg

How can I strip the audio track out of a video file with FFmpeg?
Rami Dabain
  • 5,297
  • 4
  • 17
  • 10
501
votes
9 answers

Can I delete the folder C:\ProgramData\Package Cache\?

There is a new folder full of installers located at C:\ProgramData\Package Cache\. I believe this is from Visual Studio 2012 RC. Can I delete these gigabytes of data without consequences? Are they all temporary files? It's a beta product so I'm not…
Ben L
  • 5,380
  • 3
  • 18
  • 26
489
votes
28 answers

How to check if a binary is 32 or 64 bit on Windows?

Is there an easy way to check if a binary is 32 or 64 bit on Windows? I need to check before I move the program to a 32bit machine and experience a spectacular failure.
Septagram
  • 5,348
  • 6
  • 20
  • 21
484
votes
20 answers

How can I make Chrome stop caching redirects?

I am working on a web application that is using redirects (for pretty URLs). I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and even after I change the code, redirecting the…
JD Isaacks
  • 8,354
  • 11
  • 40
  • 41
479
votes
7 answers

How to remove systemd services

If I install a new service then decide I don’t want that application anymore and delete it, the service is still listed in the output from systemctl as error. Where is this coming from and how can I remove them thoroughly?
eMeL
  • 4,891
  • 3
  • 15
  • 7
477
votes
5 answers

How to open files in vertically/horizontal split windows in Vim from the command line

There must be a way, something like this: vim -[option] to open files from command prompt and not from within Vim. split windows vertically or/and horizontally in separate tabs
Andrei Chikatilo
  • 5,069
  • 4
  • 17
  • 14
477
votes
7 answers

What is the difference between executing a Bash script vs sourcing it?

What is the difference between executing a Bash script like A and sourcing a Bash script like B? A > ./myscript B > source myscript
Scottie T
  • 4,971
  • 3
  • 19
  • 10
477
votes
15 answers

How to enable execution of PowerShell scripts?

When I try to execute my PowerShell script I get this error: File C:\Common\Scripts\hello.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details. At line:1 char:13 …
Pavel Chuchuva
  • 11,769
  • 5
  • 22
  • 24
476
votes
14 answers

Does e-mail address obfuscation actually work?

Most of the time when I see someone post their email address online, especially if it's a personal address, they use something like me [at] example [dot] com instead of the actual email address ([email protected]). Even top members of this community…
Kyle Cronin
  • 7,359
  • 6
  • 40
  • 40
474
votes
21 answers

How to download files from command line in Windows like wget or curl

How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever? I'm using Windows, so a Windows version of Wget would do.
Paolo Tedesco
  • 1,549
  • 4
  • 12
  • 15
473
votes
14 answers

Test if a port on a remote system is reachable (without telnet)

In the old days, we used telnet to see if a port on a remote host was open: telnet hostname port would attempt to connect to any port on any host and give you access to the raw TCP stream. These days, the systems I work on do not have telnet…
Steve HHH
  • 6,960
  • 6
  • 29
  • 37
470
votes
9 answers

How can I free up drive space from the Windows installer folder without killing Windows?

On my SSD machine, the C:\Windows\Installer folder is massive and takes up about 15% of my total disk space. Is there a way to clean up that folder without killing Windows 8.1/10? Tucking away the installers on the OS partition seems wasteful.
DeepSpace101
  • 8,787
  • 12
  • 44
  • 47