Most Popular

1500 questions
253
votes
15 answers

How to quickly move current window to another Task View / desktop in Windows 10?

Windows 10 introduced Task View - the ability to have multiple virtual desktops. When I am in a window on Desktop 1, what's the quickest way to move it to Desktop 2? Currently, I need to enter the task switcher (icon in the Taskbar or Win + Tab),…
Borek Bernard
  • 13,608
  • 30
  • 79
  • 93
253
votes
13 answers

How to search inside files on Windows 7?

In Windows XP we can search for files that contain a defined keyword (inside all files types). Windows 7 can look inside files for a keyword, but only for text files. (*.doc, *.txt, *.inf, ...), not (*.conf, *.dat, *.*, ...). Microsoft search…
user8228
252
votes
14 answers

Equivalent of Linux `touch` to create an empty file with PowerShell

Is there an equivalent of touch in PowerShell? For instance, in Linux I can create a new empty file by invoking: touch filename On Windows this is pretty awkward -- usually I just open a new instance of Notepad and save an empty file. So is there a…
jsalonen
  • 8,593
  • 14
  • 34
  • 40
251
votes
8 answers

Way to avoid ssh connection timeout & freezing of GNOME Terminal

When I connect via ssh to certain servers, it timeouts and "freezes" the terminal (doesn't accept input, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's gnome-terminal though it seems to be pausing the…
Kzqai
  • 2,848
  • 3
  • 19
  • 16
251
votes
10 answers

How to fix the wrong number of unread emails flag in Outlook?

I have an annoying problem in Outlook 2013. My inbox is flagged with "1" unread message, but this is not the case. Even when I empty my inbox folder, this bold "1" stays next to my folder, new as it contains a new message. I've tried to "empty" it,…
Rabskatran
  • 4,709
  • 7
  • 30
  • 32
251
votes
12 answers

Is there a fix for the "Too many open files in system" error on OS X 10.7.1?

I need to get rid of the pesky "Too many open files in system" limit on OS X 10.7.1.  Is there a way?
John Wilund
  • 2,527
  • 3
  • 13
  • 3
251
votes
10 answers

How can I check the temperature of my CPU in Windows?

Does Windows provide a means to check my CPU temperature natively? If not, are there any software tools which can reveal this information?
Chris Bye
  • 3,095
  • 4
  • 17
  • 13
250
votes
6 answers

How to have Linux ls command show second in time stamp

Something annoying about ls -l command is it shows only hour and minute for a file(like 08:30). How can I see the second portion(like 08:30:44)? man 1 ls and search for 'second' does not give any clue.
Jimm Chen
  • 5,195
  • 6
  • 28
  • 39
250
votes
21 answers

Command-line application for converting SVG to PNG on Mac OS X

Are there any command-line programs that can convert an SVG to PNG that run on macOS?
Lorin Hochstein
  • 3,977
  • 6
  • 28
  • 25
249
votes
4 answers

My cat sat on my laptop, now the right side of my keyboard types the wrong characters

My cat sat on my laptop and now if I type either L or P, it inputs 3 or * instead. The rest of my keyboard still works correctly. The problem is bad enough that I had to use the touch screen of my computer to type this in. How can I restore the…
user660920
  • 1,775
  • 2
  • 8
  • 4
248
votes
3 answers

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
Paul Sheldrake
  • 4,734
  • 10
  • 33
  • 30
248
votes
8 answers

Get a list of Open Ports in Linux

I need a Linux command to list all free open ports for use in an application lsof -i TCP| fgrep LISTEN Does not seen to be helping as the Ports it lists are not necessarily free for use. How do I list free open ports not in use?
Stanley Mungai
  • 2,591
  • 3
  • 12
  • 8
247
votes
6 answers

Choosing between .bashrc, .profile, .bash_profile, etc

This is embarrassing, but after many years of using POSIX systems full time, I still have a hard time figuring out if a shell customization should go in .bashrc, .profile, or somewhere else. Not to mention some of the OS-specific config files like…
Avdi
  • 2,650
  • 3
  • 15
  • 13
247
votes
11 answers

Is it possible to ping an address:port?

I am not into networking, and I have the following question related to the Linux ping command. Can I only ping an address? For example: miner@raspberrypi ~ $ ping onofri.org PING onofri.org (67.222.36.105) 56(84) bytes of data. 64 bytes from…
AndreaNobili
  • 6,679
  • 11
  • 33
  • 41
247
votes
17 answers

How can I produce high CPU load on a Linux server?

I’m currently in the process of debugging a Cacti installation and want to create CPU load to debug my CPU utilization graphs. I tried to simply run cat /dev/zero > /dev/null, which works great but only utilizes 1 core: Is there a better method of…
Oliver Salzburg
  • 84,479
  • 59
  • 258
  • 303