Most Popular
1500 questions
388
votes
23 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,969
386
votes
14 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,973
384
votes
4 answers
Why does pinging 192.168.072 (only 2 dots) return a response from 192.168.0.58?
I mistakenly missed the dot off of an IP address and typed in 192.168.072.
To my surprise I connected to a machine at 192.168.0.58
If I ping 192.168.072 I get responses from 192.168.0.58.
Why is this?
I'm on a Windows PC on a Windows domain.
If I…
George Duckett
- 5,410
384
votes
7 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
- 7,100
383
votes
19 answers
If 32-bit machines can only handle numbers up to 2^32, why can I write 1000000000000 (trillion) without my machine crashing?
32-bit computers can only store signed integers up to 231 - 1.
This is why we have run out of IPv4 addresses and have entered the 64-bit era.
However, the number 231 - 1 (2,147,483,647) is not as large as the number 1 trillion (1,000,000,000,000)…
Ben Johnson mk2
- 707
383
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,945
- 3
- 14
- 8
381
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,972
381
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
- 8,008
380
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
- 4,035
- 2
- 13
- 10
374
votes
22 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,370
374
votes
14 answers
How do I find the location of an executable in Windows?
I remembered that I used a tool called as where to find locations for any executable programs like this in a console:
C:\Tmp\Where myTool.exe
C:\Program Files\MyApp\myTools.exe
....
Now I cannot find this tool. Not sure if Windows has a build-in…
David.Chu.ca
- 5,165
373
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,310
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,336
368
votes
9 answers
How to list files of a Debian package without install
This command can only list contents of installed packages,
dpkg -L PACKAGENAME
but how to list contents of a non-installed package, to preview/examine the package?
Lenik
- 18,302
368
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