Most Popular
1500 questions
102
votes
2 answers
What is Git Bash for Windows anyway?
I have happily been using Git and Git Bash from https://git-scm.com/. There is a page with more information here: https://git-for-windows.github.io/.
Yesterday I ran into a problem with rsync, and I started digging deeper into Git Bash for Windows.…
geneorama
- 1,400
101
votes
4 answers
What does "On-link" mean on the result of "route print" command?
I'm using Windows 7. When I type "route print" under command prompt, I get a IPv4 Route Table with several "On-link" values under the Gateway column. For example, like this one:
IPv4 Route…
Junfeng
- 1,450
101
votes
12 answers
How to make CTRL + / toggle a comment in Visual Studio
How can I make CTRL + / toggle a comment in Visual Studio, as it does with XCode and Eclipse?
Marc
- 1,113
101
votes
5 answers
How to remove items from the right click (context) menu in Windows?
The right click (context) menu is minimal and clean on a fresh installation of Windows. Install a bunch of applications and soon the context menu is loaded with all kinds of opening options from various applications.
How do I remove items from the…
Ashwin Nanjappa
- 10,347
101
votes
10 answers
Insert Unicode characters via the keyboard
I am familiar with inserting an ASCII character into a text document by using Alt + ASCII code on the numeric keypad keys (e.g., Alt+130 inserts an é character).
Is there a similar way to insert a Unicode character via the keyboard using the Unicode…
pelms
- 9,361
101
votes
2 answers
chain Fish commands via `&&` or `||`
In Bash/ZSH and other shells, I am used to using && and ||.
Is there any equivalent in Fish?
Albert
- 6,889
- 11
- 41
- 53
101
votes
11 answers
Overcoming the 1024 character limit with setx
I am trying to set environment variables using the setx command, such as follows
setx PATH "f:\common tools\git\bin;f:\common
tools\python\app;f:\common tools\python\app\scripts;f:\common
…
Madhur Ahuja
- 1,969
101
votes
3 answers
Does rm -rf follow symbolic links?
I have a directory like this:
$ ls -l
total 899166
drwxr-xr-x 12 me scicomp 324 Jan 24 13:47 data
-rw-r--r-- 1 me scicomp 84188 Jan 24 13:47 lod-thin-1.000000-0.010000-0.030000.rda
drwxr-xr-x 2 me scicomp 808 Jan 24 13:47…
Greg
- 1,199
101
votes
7 answers
How to store SSH keys?
I've started using SSH keys instead of passwords just recently (thanks to GitHub, of course), so please keep in mind that I'm pretty new to this whole concept. Currently my keys simply lie under ~/.ssh, but I'm not sure if this is a good practice.…
Anton Strogonoff
- 1,305
101
votes
4 answers
Re-enter interactive mode after Ctrl-z
In interactive mode (in Octave, gnuplot, R, etc.) I occasionally press Control + z by mistake. This pauses the program and kicks me back to the terminal.
Is it possible to re-enter the original interactive mode (with all the stored variables)?
To…
Tom
- 1,407
101
votes
4 answers
Using Multiple SSH Public Keys
I have a personal account and a company account on Unfuddle. On Unfuddle SSH keys can only be used on a single account, so I need to create a seperate SSH key on my laptop for both accounts. I ran ssh-keygen -t rsa to generate two keys with…
Dave Long
- 1,145
101
votes
11 answers
Are there solutions that can limit the CPU usage of a process?
I am using an old laptop and doing heavy processing that needs high CPU usage for a long time (~30mins - 2hours). When the process puts heavy load on CPU for a long time, CPU overheats and computer shuts down. I don't want to use a cooler/stand…
nimcap
- 1,706
101
votes
5 answers
Difference between "a=b" and "export a=b" in bash
What's the difference between:
a=b
and
export a=b
In bash?
I understand that they both define environment variables, but I don't fully understand the difference.
Adam Matan
- 8,740
101
votes
14 answers
How can I take a screenshot that includes the mouse cursor?
When taking screen shots for use in tutorials, it would be really helpful to include the mouse cursor in the picture, but I've found that most screenshot tools (including those that ship with Windows) hide the cursor from the screenshot.
How can I…
Sam
- 2,154
101
votes
5 answers
How to install rmagick on Ubuntu 10.04?
Here's what I've done so far:
sudo apt-get install imagemagick libmagickcore-dev
This did not throw any errors, so I think that ImageMagick is installed fine. Then I tried installing the gem:
sudo gem install rmagick
This resulted in the following…
Andrew
- 15,494