Most Popular
1500 questions
426
votes
4 answers
What is the Windows equivalent of the Unix command cat?
I want to do exactly what unix "cat" does, but on my PC. Is there a simple equivalent command for the Windows command line?
Specifically I want to create a file from all the files of a given type in a folder
In Unix:
cat *fna…
Kirt
- 7,561
421
votes
9 answers
How can I view two files side by side in Notepad++?
I would like to split the Notepad++ window so that I can edit two files side by side.
How can I do this in Notepad++?
Jonas
- 28,660
416
votes
11 answers
How to check which apache modules are enabled/installed?
Which is the most elegant way to check which apache modules are enabled?
udo
- 8,061
415
votes
6 answers
What are PATH and other environment variables, and how can I set or use them?
Questions about
setting environment variables
the PATH
are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for this.
So the question is: What are environment…
slhck
- 235,242
415
votes
21 answers
How do I detach a process from Terminal, entirely?
I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy.
However, I'm struggling with how to completely detach a process (e.g. Firefox) from the terminal it's been…
AnC
412
votes
10 answers
In Mac OS, what is the keyboard shortcut to switch between windows of the same application?
I often use the Cmd+Tab shortcut to switch between different applications (for example: Xcode and Google Chrome), but is there a shortcut to switch between different windows of the same application (for example, from one window in Google Chrome, to…
wip
- 7,444
412
votes
4 answers
How to remove an entry from Chrome's Remembered URLs from the url bar?
I've got a URL in Chrome "local.mysite.com" that autopopulates when I start typing "local.my" into the URL bar.
Note that this URL DOES NOT EXIST in my browser history (at chrome://history/#e=1&p=0) because it isn't a real site and therefore…
cmcculloh
- 5,727
412
votes
7 answers
How can I make chown work recursively?
I've got a directory called pdfs that contains a bunch of sub- and sub-sub-directories. I want to change ownership on all PDF files in all of the subfolders. I just tried this:
chown -R someuser:somegroup *.pdf
...but it didn't change ownership of…
Nathan Long
- 27,435
411
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
- 7,289
410
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,335
410
votes
13 answers
How can I search the bash history and rerun a command?
Can I search history in bash and run the result?
Richard Hoskins
- 12,794
409
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
- 6,289
408
votes
7 answers
Find what package a file belongs to in Ubuntu/Debian?
I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is installed already or not)? Maybe some obscure option for…
Jay Conrod
- 5,806
407
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,535
403
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
- 4,143