Most Popular
1500 questions
376
votes
25 answers
Switching back to last *used* tab on Chrome
How do I toggle back to the last tab used in Chrome on Mac? Ctrl-Tab and Ctrl-Shift-Tab navigates the tabs in order. But I want to switch back and forth between two tabs similar to how how Cmd-Tab switches between the last two apps. There's a way…
Sajee
- 6,059
- 7
- 26
- 20
376
votes
22 answers
How do I list the SSL/TLS cipher suites a particular website offers?
How can I retrieve a list of the SSL/TLS cipher suites a particular website offers?
I've tried openssl, but if you examine the output:
$ echo -n | openssl s_client -connect www.google.com:443
CONNECTED(00000003)
depth=1 /C=ZA/O=Thawte Consulting…
Jeremy Powell
- 6,799
- 5
- 23
- 16
374
votes
10 answers
How to compact VirtualBox's VDI file size?
I've a VirtualBox VM which configured a very large hard disk size (bigger than host). By my mistake, a program on the VM generated lots of log files and the VDI file size keeps growing until there is no space on the host.
Now I've deleted the log…
DeepNightTwo
- 3,855
- 3
- 13
- 8
374
votes
6 answers
less command with multiple files: How to navigate to next/previous
I just found out I can use less with multiple files. less status line tells me
(END) - Next: file2.txt
But how do I navigate previous/next from less?
Jesper Rønn-Jensen
- 6,910
- 7
- 27
- 34
374
votes
12 answers
Scroll shell output with mouse in tmux
Mouse scrolling doesn't work in tmux the way it works when I run shell without tmux (in Gnome Terminal). It seems tmux sends mouse scroll events as if I pressed Up/Down keys. But I want it to scroll though the shell output history. Is there a way to…
user31494
- 3,853
- 3
- 16
- 6
374
votes
4 answers
Go back to previous directory in shell
Is there a way to go back to previous directory we were in using bash,tcsh without using pushd/popd ?
I'd like to type something like "back" and got returned to the previous directory I was in.
Edit:
"cd -" works, but only for current and previous…
Lydon Ch
- 5,789
- 8
- 32
- 35
373
votes
5 answers
Bash: Iterating over lines in a variable
How does one properly iterate over lines in bash either in a variable, or from the output of a command? Simply setting the IFS variable to a new line works for the output of a command but not when processing a variable that contains new lines.
For…
Alex Spurling
- 3,892
- 2
- 16
- 8
371
votes
12 answers
How can I give my wife emergency access to logins, passwords, etc.?
I'm the digital guru in my household. My wife is good with email and forum websites, but she trusts me with all our important digital stuff — online banking and other things that require passwords; also family photos and the plethora of other…
Torben Gundtofte-Bruun
- 18,100
- 39
- 108
- 145
371
votes
8 answers
How to recursively delete directory from command line in windows?
What is the windows equivalent of rm -r [directory-name]?
Eric Wilson
- 7,868
- 12
- 41
- 50
367
votes
10 answers
chown is not changing symbolic link
I'm trying to change the user/group of a symbolic link with the command:
$ chown -h myuser:mygroup mysymbolic/
But it's not changing. I'm logged in as root. The current user/group is set to root:root. What went wrong?
rizidoro
366
votes
21 answers
Move an off-screen window back on-screen on Mac OS X
It seems that Mac OS X 10.6.1 Snow Leopard has a tendency to leave some windows off-screen at times, especially when I disconnect an external monitor from my MacBook. How can I move the window back on-screen when it's not possible to grab the title…
Matthew Rankin
- 5,240
- 3
- 26
- 25
365
votes
8 answers
tmux vs. screen
I'm about to get back into using GNU Screen, but I have been hearing people occasionally mention tmux as a better alternative. Does it really offer an alternative to all the features Screen offers, such as activity monitoring in different windows,…
Alison R.
- 4,190
- 3
- 19
- 13
365
votes
13 answers
How to reload the page by emptying cache in Google Chrome?
I don't know what exactly it's called, by cache refresh I mean, refresh the page after clearing its cache. I don't want to clear the entire browser cache.
I can't seem to cache refresh my pages. In Firefox, I know it to be Shift+Refresh.
In Chrome,…
gAMBOOKa
- 361
- 2
- 8
- 17
360
votes
16 answers
How do you list all processes on the command line in Windows?
Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
readonly
- 3,874
- 2
- 20
- 11
360
votes
4 answers
How does one swap two panes in Tmux?
I have two panes in horizontal split. I'd like to have the pane currently on the right to be on the left in the window. I'm not talking about moving the focus (Ctrl+B o). How do I achieve this?
'left pane' <--> 'right pane'
oddRaven
- 3,835
- 2
- 12
- 10