Most Popular

1500 questions
187
votes
20 answers

Run a batch file in a completely hidden way

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..). I don't want to use some program to do that, I'm looking for something cleaner. I've found a solution that uses VBScript,…
187
votes
8 answers

Is it safe to delete AppData\Local\Temp?

I seem to have a lot of junk files in %LOCALAPPDATA%\Temp (also accessible via environment variables %TEMP% and %TMP%). Is it safe to delete these? Also, is it safe to delete the Temp folder in the Windows directory, C:\Windows\Temp?
agz
  • 8,278
  • 21
  • 73
  • 112
187
votes
15 answers

Is the performance of a CPU affected as it ages?

This is a hypothetical question about how a CPU operates. If I purchase two identical CPUs, and use one long term (say one year), will it be identical in speed to the unused CPU? Will the number of clock cycles, latency of requests, etc on the used…
187
votes
7 answers

Remove auto-complete field entries in Google Chrome

Is there a way to stop the gmail address field (on the login page) from displaying all the gmail addresses that you have ever typed in it? When logging in with Google Chrome or trying to set up a new account, anything you type which starts with the…
NT.
  • 1,949
186
votes
8 answers

How to execute a command in screen and detach?

How can I get screen to execute a command and then detach (That is, automatically in a single script without further input beyond initially starting the script)? e.g. I run myscript.sh and it automatically starts a screen session, executes a…
darkfeline
  • 2,142
  • 2
  • 14
  • 15
185
votes
20 answers

Inkscape - rounding corners of shapes?

In Inkscape, rounding the corners of a rectangle is easy - you select the object, press F4 (rectangle tool), and drag the circular nodes. How do you do that for more complex shapes? "Dynamic offset" is nearly the right thing, but it doesn't round…
OJW
  • 2,297
185
votes
5 answers

Compress files from OS X terminal?

In the Finder, there is this wonderful ability to right click on a file or directory, select compress from the drop-down, and end up with a zipped file. Is it possible to do the same thing from the terminal?
185
votes
7 answers

How does the tmux color palette work?

I'm trying to set something to gray, but can't figure out how. The only bit of info in the man page about colors I can find is: message-bg colour Set status line message background colour, where colour is one of: black, red, green, yellow, blue,…
Lawrence
  • 1,997
  • 3
  • 12
  • 10
184
votes
13 answers

How do I figure out which /dev is a USB flash drive?

I want to mount a USB drive, two of them and I need two different mount points. Unfortunately, the Linux kernel underwent a name change and I can't figure out which /dev location is the right one. Is there a way to look through dmesg or /proc or…
user53981
184
votes
6 answers

How can I determine file type without an extension on Windows?

I sometimes get files from my clients that have the wrong file extension. For example, the name is image.jpg but the file is actually a TIFF image. In many cases I can clarify it by opening the file in a text editor, looking at the first few bytes,…
Martin
  • 3,932
184
votes
7 answers

How to remove old version of installed snaps

I'm new to snap usage, I have few apps installed on my system, something that I notice when run the command df -h I found mounted different versions of the same snap: /dev/loop0 143M 143M 0 100%…
rkmax
  • 2,171
184
votes
6 answers

How to tell from what Ubuntu or Debian repository a package comes?

On a Debian-based system, including Ubuntu, how can one tell which repository a package will be downloaded from, without actually beginning the download? aptitude show and apt-cache info will show the section (e.g., metapackage, base, graphics), but…
gotgenes
  • 2,426
183
votes
11 answers

Why does 64-bit Windows need a separate "Program Files (x86)" folder?

I know that on a 64-bit version of Windows the "Program Files" folder is for 64-bit programs and the "Program Files (x86)" folder is for 32-bit programs, but why is this even necessary? By "necessary", I don't mean "why could Microsoft not have made…
183
votes
18 answers

How can I prevent a policy-enforced screen lock in Windows?

Our corporate BOFH imposes the screen lock setting with a ridiculously short delay. It's frustrating and counterproductive. Is there a way to prevent the automatic screen lock? I would assume there is no way to override the policy-enforced setting,…
Gabriel R.
  • 2,017
183
votes
16 answers

How to move VirtualBox files?

By default VirtualBox stores all data in a directory below the home directory. I know how to change it but how can I change the location of existing images (without editing VirtualBox.xml manually)? I'm working on Windows and don't want to try using…
maaartinus
  • 3,332