Most Popular
1500 questions
100
votes
10 answers
How can I change the input keyboard layout while in the console?
I need to change the layout of the keyboard while working in the console on Linux. I need to set up English layout as the default for the console. How can I do it?
J.Olufsen
- 3,852
100
votes
4 answers
Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
What I understand about 32-bit OS is, the address is expressed in 32 bits, so at most the OS could use 232 = 4G memory space -- I assume the unit is bytes, so 4GB.
Does this mean if any machine with a 32-bit OS (be it Windows or Unix) has more than…
athos
- 2,371
100
votes
4 answers
Are GPG and SSH keys interchangable?
I want to generate an RSA key in GPG and use it in SSH login. Is this even possible? If so, how?
edit: see @wwerner's answer, I didn't try it but it seems to be the current solution (as of 2018)
destan
- 1,157
100
votes
5 answers
What characters are safe in cross-platform file names for Linux, Windows and OS-X
Currently, I use a YYMMDD-NAME+PAGE name for most of my files. NAME has spaces converted to underscores.
I'd like to use the YYYY-MM-DD date format, but I am not sure how to separate it from the name. A - would look strange if the name started with…
Martin Ueding
- 2,485
100
votes
2 answers
du only for directories
In C-Shell, how can I get the same output as du -sh ./* but without listing the files in the root dir, i.e. just a list of subdirectories in ./ and the sizes of all their contents?
foglerit
- 1,115
100
votes
6 answers
Why is localhost IP 127.0.0.1?
I wondered what is the origin of the decision to make localhost's IP address 127.0.0.1. What is the "meaning" of 127? what is the "meaning" of 0.0.1?
Roee Adler
- 1,626
100
votes
9 answers
Select column from a table with Google Chrome
Is there an extension for Google Chrome that would allow me to select a column from a table on the webpage? For example when I want to copy text from just one column of a table.
You can select any row or column in Firefox by holding the Ctrl key,…
kristof
- 1,752
100
votes
3 answers
Case Insensitive search from find command?
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
Vikash Jindal
- 1,133
100
votes
6 answers
How can I get qmake on Mac OS X?
I'm trying to install QtiPlot on Mac OS X, but I can't compile it since qmake isn't known. How can I install qmake on Mac OS X?
Fábio Perez
- 1,764
100
votes
10 answers
How to check if a directory exists in Windows?
I would like to translate this Linux/Bash script to Windows shell:
if test -d myDirName; then echo "ok"; else mkdir myDirName; fi
It tests if a directory exists, and if it doesn't it creates it.
Pietro
- 1,861
100
votes
17 answers
What is the Windows analog of the Linux watch command?
I'm looking for a Windows program/script/command line function that works like Linux's watch program.
watch periodically calls another program/whatever and shows the result, which is great for refreshing an output file or similar every second:
watch…
PeterJCLaw
- 2,804
100
votes
5 answers
Re-add "create new text file" to Windows 11 context menu
I have just upgraded to Windows 11 on my pc.
As a C++/cmake programmer, I constantly use the option "create new -> text file" on the context menu, but Windows 11 has removed this option.
Is there a way to get this option back, e.g via regedit, or…
Ian Young
- 1,103
100
votes
5 answers
Bad owner or permissions on ssh config file
I have realized that I am no longer able to connect to the webserver at x.x.202.50. Yesterday I have changed the following ssh configuration file: /share/homes/admin/.ssh/config by adding the following settings:
# ssh (secure shell) configuration…
symp Ioio
- 1,101
99
votes
3 answers
Pin applications to multiple desktops in Windows 10
One of the big new features for Windows is the fact that multiple "virtual" desktops are now natively supported, allowing you to organise collections of windows together and separate groups of tasks.
This is good.
You can move windows between…
Mokubai
- 95,412
99
votes
17 answers
Stopping all automatic updates Windows 10
We've upgraded some machines to Windows 10 and realized there were some updates which updated as required. However, I realized there was no option available to stop the download similar to that on Windows 7 and 8.1. The only way I could stop the…
Izzy
- 1,185