Most Popular
1500 questions
94
votes
7 answers
How to keep only every nth line of a file
I've got a rather sizable CSV file (75MB). I'm just trying to produce a graph of it, so I really don't need all of the data.
Rewording: I'd like to delete n lines, then keep one line, then delete n lines, and so on.
So if the file looked like…
Computerish
- 1,043
94
votes
4 answers
Re-enter interactive mode after Ctrl-z
In interactive mode (in Octave, gnuplot, R, etc.) I occasionally press Control + z by mistake. This pauses the program and kicks me back to the terminal.
Is it possible to re-enter the original interactive mode (with all the stored variables)?
To…
Tom
- 1,337
- 2
- 10
- 12
94
votes
7 answers
How to have full directory path always shown in mac terminal (like linux terminal)
In my ubuntu terminal I have always current directory shown completely. Just like this:
blabla@blublu:~/music/my_album/classical/beethoven$
But in my Mac (Mac OS X 10.6.5) terminal does not show the full path and it is like…
Pouya
94
votes
7 answers
What's the easiest way to sniff TCP traffic data on Linux?
I want a simple way to show all the TCP data (not the TCP headers or anything else) going over any interface on my Linux box.
For instance, I want a magical command that if I do:
magic_commmand_I_want port=1234
then if there was a server listening…
Dustin Boswell
- 2,571
94
votes
12 answers
Count the number of words in a PDF file
How can I get the word count of a PDF file? I think that most pdf files for which I want to get total word count have text layer embedded, so I need no OCR.
The task was arisen from searching for some scientific papers of known size, e.g. 15000…
osgx
- 6,827
94
votes
7 answers
How do I change the colour scheme on PuTTY?
I'm using PuTTY to SSH from my PC at home to Linux computers at work, but some of the text (folder names) is dark blue on black, which is almost impossible to read. How do I change the colour-scheme?
My computer at home has Windows 7 in case it…
Kirt
- 7,231
94
votes
3 answers
How to remove 'Unknown Locale (qaa-Latn)' from fresh Windows Server installation?
I just installed Windows Server 2016 in a development virtual machine and strangely there is an 'Unknown Locale (qaa-Latn)' listed in my language / input list (in the task bar) and it doesn't show up anywhere in the 'Clock, Language and Region' and…
Jörg Battermann
- 1,143
94
votes
14 answers
Remote desktop connection error after updating Windows 2018/05/08 - CredSSP updates for CVE-2018-0886
After Windows Update, I get this error when trying to connect to a server using Remote Desktop Connection.
When read the link provided by error message, it seems because of an update at 2018/05/08:
May 8, 2018
An update to change the default…
Pham X. Bach
- 1,243
94
votes
6 answers
Vim Stuck In Insert Mode
I've been using Vim for several months now via my web host (they allow putty access). All of a sudden, the escape key has become unresponsive. I cannot exist insert or any other mode by simply hitting escape. I have to hit F1 which brings up the…
Levi Hackwith
- 993
94
votes
6 answers
How can I take screenshots of the Windows 10 Login Screen?
How can I take a screenshot of the Windows 10 Login Screen?
I have read How can I take a screenshot of my logon screen in Windows 7?. Unfortunately, the posted answers reportedly only work for either Windows XP or 7.
I've considered using VirtualBox…
Stevoisiak
- 14,394
- 40
- 103
- 163
94
votes
8 answers
How to search for only folders in Windows 7 instead of folders AND files
I've had some issues with the new search function in Windows 7. The Search in Windows XP was packed with so many more options. The only option I can access now are Date Modified and Size.
Any pointers to how to get more options in the Windows 7…
sshow
- 1,336
94
votes
4 answers
How can I find out the command line options for git-bash.exe?
Apparently my google-fu sucks...
I know these from other StackExchange posts:
--cd-to-home # Change directory to home
--cd= # Change directory to
-i # ?
-c # Run command, but --command doesn't…
816-8055
- 1,267
93
votes
10 answers
Moving a window from a disconnected monitor to connected monitor on Vista
I have a laptop that runs Vista Mega Ultimate Amazing for Business 64-bit.
When at work, I connect a monitor via USB (which totally rocks) to the "left" of the laptop monitor. It's identified as monitor 3.
At home, I use an old CRT monitor that sits…
RickMeasham
- 1,748
93
votes
7 answers
How to bring back Photo Viewer in Windows 10?
In Windows 10, when opening images, it gives me the option to open in the Photos metro app, Paint, or GIMP.
I'd like it to open in Photo Viewer, but when I directed "Open with" to PhotoViewer.dll in "C:/Program Files/Windows Photo Viewer", or…
Irastris
- 1,091
93
votes
6 answers
How do I remove an SSH forwarded port
I used ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it.
How do I do this?
user16654
- 1,183