Most Popular

1500 questions
124
votes
2 answers

What is the $WINDOWS.~BT folder?

There is a folder named $WINDOWS.~BT on the root of my C:\ drive. It is a hidden folder and is 75 MB in size. What is its purpose? Is it safe to delete it?
Chin
  • 7,923
124
votes
16 answers

Delete all files from a folder and its sub folders

I want to remove all files from a folder structure, so I'm left with an empty folder structure. Can this be achieved in either batch or VBScript scripting? I have tried a very basic batch command, but this required the user to allow the deletion of…
RobN
  • 1,672
124
votes
5 answers

How do I make ctrl-arrow keys move forward/backward a word at a time in Cygwin bash?

In the default Cygwin installation, using CTRL-LEFTARROW or CTRL-RIGHTARROW simply prints 5C or 5D instead of skipping a word at a time as expected. Home/End keys work properly, so remapping should be possible.
Tom
  • 3,614
124
votes
8 answers

Open two instances of Notepad++

I want to run Notepad++ twice. Like in this paint printscreen. How I want it: Not what I want: Is this possible?
JochemQuery
  • 1,409
124
votes
6 answers

Git Bash Here in ConEmu

How do I create a right-click context menu entry to open Git Bash at a given folder within ConEmu? See Git Bash Here in Console2 for the equivalent question for Console2.
Charles Roper
  • 10,759
124
votes
6 answers

How can I fix/repair a corrupted PDF file?

Does anyone have any recommendation or procedures for repairing a corrupt PDF? When I open the file I get "There was an error opening this document. the file is damaged and cannot be repaired." There seems to be a myriad of tools out there but…
user15968
124
votes
4 answers

ZSH - output whole history?

I recently switched from bash to zsh. In bash, one way (besides recursive search) that I used to find previously-run commands was history | grep whatever, where whatever is the bit of command I remember. In zsh, this isn't working. history returns…
Nathan Long
  • 26,565
124
votes
8 answers

tmux disregarding the configuration file

I just installed tmux on Ubuntu 10.04 and tried to remap the prefix key to C-a by creating the file ~/.tmux.conf with these lines: set-option -g prefix C-a unbind-key C-b When starting tmux, both regularly and with -f ~/.tmux.conf, the prefix is…
GJ.
  • 9,843
124
votes
20 answers

How do you force excel to quote all columns of a CSV file?

Excel only places quotes around certain fields, how do I force excel to save a CSV file with quotes around every column?
124
votes
6 answers

I hid the menu bar in VirtualBox, how to show it again?

In top menu bar, I accidentally selected to hide that top menu bar ("File", "Help", etc). As the bar has disappeared, I now cannot access the option to show it again. Not very thought through in my opinion. How do I show it again? My version is…
Tomáš Zato
  • 4,474
124
votes
6 answers

Windows 10 Ubuntu Bash Shell: How Do I Mount Other Windows Drives?

I'm using Windows 10's Ubuntu Bash shell. It maps the C drive fine as /mnt/c. I have other local physical hard drives, mounted in Windows as E: and F: How do I tell Bash to mount these drives too (ideally automatically at /mnt/e and /mnt/f, but…
Jason Champion
  • 1,341
  • 2
  • 9
  • 5
124
votes
5 answers

Why does anti-virus software not delete the viruses, malware, etc., but instead quarantine them?

Why does anti-virus software not completely delete the viruses, malware, etc., but instead quarantine them? Is it not better to completely get rid of them? Why? And how can I manually remove them?
Sardar_Usama
  • 1,833
123
votes
2 answers

Can cURL send requests to sockets?

I have a HTTP server running at /var/run/my-server.sock, and I want to test it by sending a simple request using cURL. Can this be done using cURL? Can it be done at all, or must there be a reverse proxy in place? I'm imagining something like…
Hubro
  • 5,786
123
votes
4 answers

Creating an archive from a directory without the directory name being added to the archive

I have the following folder structure: root folder1 folder2 folder3 7za.exe I want to run the 7-zip command line tool to compress all the files in folder1 to a zip file called folder1.zip. Running the following 7za.exe a -tzip…
gg.
  • 1,333
123
votes
11 answers

Multi-tab command prompt in Windows?

What are the best (i.e. bug free) Multi-tab command prompts in Windows? They have them for Linux but Windows never seems to come out with one.
leeand00
  • 22,418