FG

All Issues

24,993 verified issues

Fresh13 days ago

Why won't "sudo cd" work?

Why typing sudo cd whatever won't change the directory?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How can I move the page file to another physical disk location?

I would like to know exact instructions for moving the page file from 1 disk location to another disk in Windows 7. I.e. from an SSD to a non-SSD drive. I've spent about two hours searching - Google, Bing, Blekko - and read many forums. Please don't post philosophical discussions on speed increases or why its a bad idea to disable paging. I'm looking for a concise answer on how to move the page file.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How do I reload .inputrc?

Background I have heard that the readline module is reading and that is how it changes the behaviour of keystrokes under programs such as bash. Question How can I reload this after editing to see the changed behaviour without restarting my terminal program?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Does e-mail address obfuscation actually work?

Most of the time when I see someone post their email address online, especially if it's a personal address, they use something like me [at] example [dot] com instead of the actual email address (me@example.com). Even top members of this community use similar styles in their profiles: jt.superuser[AT]gmail[DOT]com quixote dot su over yonder near that gmail place The typical rationale is that this kind of obfuscation prevents the email address from being automatically recognized and harvested by spammers. In an age where spammers can beat all but the most diabolical captchas, is this really true? And given how effective modern spam filters are, does it really matter if your email address is harvested?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How can I stop Excel from eating my delicious CSV files and excreting useless data?

I have a database which tracks sales of widgets by serial number. Users enter purchaser data and quantity, and scan each widget into a custom client program. They then finalize the order. This all works flawlessly. Some customers want an Excel-compatible spreadsheet of the widgets they have purchased. We generate this with a PHP script which queries the database and outputs the result as a CSV with the store name and associated data. This works perfectly well too. When opened in a text editor such as Notepad or vi, the file looks like this: As you can see, the serial numbers are present (in this case twice, not all secondary serials are the same) and are long strings of numbers. When this file is opened in Excel, the result becomes: As you may have observed, the serial numbers are enclosed by double quotes. Excel does not seem to respect text qualifiers in .csv files. When importing these files into Access, we have zero difficulty. When opening them as text, no trouble at all. But Exc…

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

"Maximizing" a pane in tmux

Sometimes it would be very useful to maximize a pane in tmux and then restore it to it's previous size. I've been reading the manual and I can't find a way. What I've come up with is that I could bind a key to resize the pane to "max" width, and another key to restore it to some predefined width. Of course this has its drawbacks, so I'm wondering if anyone has a better idea.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Convert a column into a comma separated list

I have the task of creating a simple Excel sheet that takes an unspecified number of rows in Column A like this: And make them into a comma-separated list in another cell that the user can easily copy and paste into another program like so: What is the easiest way to do this?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

zsh starts incredibly slowly

ZSH takes about a second and a half from creating a new terminal window to being ready. I'm pretty sure that the culprit is . I haven't been able to find good documentation on but it looks like it should be caching all of the necessary things in some file like . Any tricks on speeding it up?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How do I remove the same part of a file name for many files in Windows 7?

Basically, I have an album of music and I want to remove the authors name from all of the mp3 files instead of having to manually do it myself. Is there a function in Windows 7 Ultimate that can do this for me?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Updating Python on Ubuntu system

I want to update the Python build on my Linux box, but the only way I know how to do it is uninstalling the current version and installing the new one. My system is already up to date (I updated yesterday). I wanted to know if there is a way to update a specific program from the command line, like . I know this command doesn't exist, but I'm hoping something equivalent does.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to remove executable bit recursively from files (not directories)

When I plug-in an USB stick (FAT) into my Mac or Ubuntu machine, all files have the executable bits set. After having copied the directory structure to my hard disk how do I remove the executable bits recursively just from the files and keep those on the directories?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Determine which tab in Firefox is using CPU resources?

Is there anything in the current Firefox similar to the Task Manager in Google Chrome? (Shift + Esc) There is something that occasionally takes up enough CPU to make Firefox unresponsive - but with multiple windows, each with a dozen or so tabs open, trial & error is going to take a while.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to monitor a folder and trigger a command-line action when a file is created or edited?

I need to set up some sort of a script on my Vista machine, so that whenever a file is added to a particular folder, it automatically triggers a background process that operates on the file. (The background process is just a command-line utility that takes the file name as an argument, along with some other predefined options.) I'd like to do this using native Windows features, if possible, for performance and maintenance reasons. I've looked into using Task Scheduler, but after perusing the trigger system for a while, I haven't been able to make much sense of it, and I'm not even sure if it's capable of doing what I need. I'd appreciate any suggestions. Thanks!

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

push/pop current directory?

With bash is there a way to push and pop the current working directory? I tried writing but the current directory is now .

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Run command on startup / login (Mac OS X)

I was wondering which file I should place this bash command in so it will be run on startup. I have been scouring the net and think it is between , , , or . Although I have tried these and they seem to run on terminal startup not Mac startup. Am I missing a file?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

ZSH - output whole history?

I recently switched from bash to zsh. In bash, one way (besides recursive search) that I used to find previously-run commands was , where is the bit of command I remember. In zsh, this isn't working. returns only a few items, even though my file contains many entries, which I have configured it to do. How can I output my whole history, suitable for searching with ?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Does DisplayPort carry sound as HDMI does?

Does DisplayPort carry sound as HDMI does? Specifically, I am looking at Lenovo Laptops T410 or T510. I'm wondering if the spec permits for audio over DP, and if possible whether the Lenovo laptops I mentioned implement it.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Extremely simple web server for Windows?

A few years ago I used a super simple free web server for Windows. The only thing you had to do was copy an exe to a dir, double-click that exe, and - voilá - that dir was now accessible over HTTP. The only problem is that I can't find that little gem...

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

What are the Windows A: and B: drives used for?

In Windows you have a C-drive. Everything labeled beyond that is with the following letter. So your second drive is D, your DVD is E and if you put in a USB stick it becomes F and the following drive G. And so on and so forth. But then, what and where are A and B-drives?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to amend the last commit to un-add a file?

I have modified two files , in the last commit. But file should not be commited, what's the workflow to amend this?

Confidence1%
1%
Candidate Fix
1 fix
← PrevPage 113 of 1250Next →