Most Popular
1500 questions
111
votes
5 answers
Assigning a virtual desktop to a monitor in Windows 10
Is there a way to assign a virtual desktop to a monitor in Windows 10 (i.e. have every monitor show a different VD)?
Traveling Tech Guy
- 9,998
111
votes
7 answers
How to remove a symbolic link to a directory?
I am using Ubuntu 8.10, Bash and I made a symbolic link with the following command:
ln -s ../test5
I want to remove it now but my rm fails:
rm -Rf test5/
rm: cannot remove `test5/`: Not a directory
rm test5/
rm: cannot remove directory `test5/`:…
Peter Smit
- 9,516
111
votes
9 answers
Revert new tab page behavior in Google Chrome 29+
I don’t like the behavior of the new tab page in Google Chrome 29+. How can I restore the old behavior?
The new tab page (if you have Google set as the default search engine) now shows the Google logo (or, apparently, the doodle of the day if there…
Thomas Owens
- 3,884
111
votes
3 answers
Is there a way to enable "god mode" in Windows 8, like you could in Windows 7?
I am looking for a way to enable God-Mode in Windows 8, does anyone know how to do this or is it even possible?
It's a trick that lets you access all system's controls in one folder.
TheXed
- 1,941
111
votes
3 answers
How do I get the output and exit value of a subshell when using "bash -e"?
Consider the following code
outer-scope.sh
#!/bin/bash
set -e
source inner-scope.sh
echo $(inner)
echo "I thought I would've died :("
inner-scope.sh
#!/bin/bash
function inner() { echo "winner"; return 1; }
I'm trying to get outer-scope.sh to exit…
jabalsad
- 1,477
111
votes
5 answers
How can I make ctrl+left/right keys to move by whole word in tmux?
In both zsh and bash, Ctrl+arrows allows me to move the position I'm typing at by whole word, but this does not work in tmux, which is a problem as I'm currently launching it automatically every time I open a shell.
How can I fix this?
Llamageddon
- 1,527
- 2
- 11
- 14
111
votes
16 answers
How can I trigger a notification when a job/process ends?
The place I work at has commands that take a long time to execute.
Is there a command/utility that I can use to notify me when the command execution is over? It could be a popup window or maybe a little sound.
Utkarsh Sinha
- 1,597
111
votes
4 answers
Is there a standard name for the "standard" computer screw?
I have the unfortunate task of writing a technical document, and I know the government is a stickler for unnecessary detail. Is there standard name for the standard computer screw? Also, what is the name of the standard disk drive screw?
Keltari
- 73,243
111
votes
12 answers
How to pick a color from an image
How can I pick a color from an image?
When I move the cursor to any particular point in the image, I want the hex code of the color at the cursor to be displayed. I would like to be able to do that with anything displayed on the screen even if it…
Ananth
- 1,301
111
votes
8 answers
Mac OS X .bashrc not working
I have a one-line .bashrc file in my home directory:
alias countlines='find . -type f -print0 | xargs -0 cat | wc -l'
But it is not creating the alias. Why might that be?
William Jockusch
- 4,773
111
votes
5 answers
Unix: How to unsplit in screen
I'm trying to learn how to use screen, in unix so that I don't have to open up several ssh connections and terminal windows just because I want to do more than one thing at the same time on a machine. I have found the split command quite useful, but…
Svish
- 39,580
111
votes
5 answers
How can I move the page file to another physical disk location?
I would like to know exact instructions for moving the page file from 1 disk location to another disk in Windows 7. I.e. from an SSD to a non-SSD drive.
I've spent about two hours searching - Google, Bing, Blekko - and read many forums. Please…
JL.
- 5,788
111
votes
6 answers
Downloading Folders to my Local via SSH
I am learning SSH as it seems there are no good SSH GUIs for Macs. I know how to make db dumps, cruise through the directories, etc, but the one last piece of the puzzle I need to learn is how to download folders/entire directories from the server…
Zach Smith
- 1,235
111
votes
6 answers
How can I recover the original file from a .swp file?
I tried opening the .swp file using vi and cat but it displays junk.
zarna
- 1,211
111
votes
7 answers
How do I close the Terminal in OSX from the command line?
Why doesn't "exit" close a Terminal.app window on Mac OS X?
$ exit
logout
[Process completed]
Is there a way to close the window without using the mouse?
user242065