All Issues
24,993 verified issues
How to automatically reload modified files in Notepad++
How can automatically reload modified files in Notepad++? The confirmation step is annoying, and is completely unnecessary in some situations.
Reload a Linux user's group assignments without logging out
When assigning a user's secondary group list using: is it possible to force this group assignment to take effect without logging out all running sessions? This would be very useful in the situation where a Screen session exists with many running shells, as the entire session essentially needs to be destroyed to make the group assignment take effect. I think I can change the user's primary group in a running shell using the command - is there some alternative that would work for secondary groups? Ideally, I'd want something that would take effect in each shell without being run manually in every one, but failing that, maybe some way of forcing Screen to execute the same command in each.
Google Chrome automatically adding websites to my list of search engines?
I have noticed that certain websites (e.g. Stack Exchange sites, Dell, etc.) are automatically added to my list of search engines in Google Chrome. They even add a keyboard shortcut to their entry. Here are some examples: Dell: Keyboard -> Dell.com Stack Exchange Web masters: Keyboard -> webmasters.stackexchange.com Reuters: Keyboard -> reuters.com Q1: Is this the default behavior in Chrome? (to let websites add themselves to the list of search engines?) Q2: Is it possible to disable this behavior in Chrome? Note: I'm running the latest version of Chrome: 11.0.696.57 on Windows 7 64, and I only have one extension installed: Google URL shortener.
Move files and folders recursively on Linux
Consider: How do I move the contents of recursively with permissions into ?
How to turn off word-wrap in less
Short version: How can I make the utility in Linux not wrap lines? Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first couple columns. However, word wrap causes one line to become several lines even on wide-screen monitors.
How to mess up a PC running Windows 7?
Ok, so for my PC class I have to find 3 hacks that would mess up the lab's PC. Me and my partner are going to mess up the PC and then another team will try to fix it. The system on it is Windows 7. Anything that would stop the normal use or render the PC useless works. The conditions: Can't open the case Can't use the registry settings (due to how big it is, it would take the other team a long time to fix) Needs to be fixable (meaning, nothing that would mess that bad so it would require an reinstall) within 15-30 minutes (by my teacher, preferably not by the other team :) Can use the administrative tools No downloads (PC is not even connected to a network) Note: stuff like create a fake, unclickable desktop by taking the desktop's screenshot and setting it as a background won't work as this has been discussed already. Also creating a reboot link and putting it in the autostart programs has been discussed. But anything of this type would be great to hear. Any suggestions? P.S. This is…
Using Multiple SSH Public Keys
I have a personal account and a company account on Unfuddle. On Unfuddle SSH keys can only be used on a single account, so I need to create a seperate SSH key on my laptop for both accounts. I ran to generate two keys with different names (personal is default name and company is {company}_rsa). The problem now is that it appears that my default key is used everywhere and I can't find out how to specify a key to use in Git for individual repos. So my question is: How do I specify an SSH key to use on a repo-to-repo basis? I setup my ssh_config (~/.ssh/config) but it still doesn't seem to work. config: My Git repo config file for a repo on my company unfuddle account looks like this: So I am not sure if there is something wrong with my ssh config or my git config.
Execute a command from another directory in bash
Say that I'm doing this: Is there a way to do this with a single command, or perhaps two, rather than having to move in and out of a directory in order to run a command there? (Not looking for a git-specific solution; that's just an example.)
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 couldn't ever be successfully visited and therefore never shows up in my history. The URL I want is "local.mysite.com/subdir/". That URL is 3 down in the suggested results because I keep accidentally hitting "enter" when it auto-suggests the unwanted first URL thus reinforcing its assumption that that is the one I want. How do I get rid of the "local.mysite.com" entry in Chrome's memory?
How do I format a usb drive on a PC that was formatted on a Mac?
I have a SanDisk Cruser drive that was formatted for a Mac and now I want to use it for a PC (and I don't have access to the Mac. What can I do?
How to get information about an image (picture) from the Linux command-line?
I'm working on a web app and currently migrating some stuff from an old app, but I hate that I have to open an image editor to get some info about images I'm migrating. Things like image dimensions. Is there a command line tool I can use for such tasks in Linux?
How do I reset 'master' to 'origin/master'?
Can I do the following in a simpler way?
List Samba users?
So yesterday evening I was pulling my hair out (figuratively -- I'm bald) for over an hour trying to figure out why kept rejecting my attempts to reset the password for one of my Samba users. Anyway, long story short, it was apparently because the user didn't exist yet ( added her without complaint, and now everything's hunky-dory), even though I still swear up and down that I did indeed add her already. Anyway, if I could have simply listed the users in the smbpasswd database, it would saved me a lot of grief. Is there a command or utility that can do that? (Samba's using that new-fangled .tdb database, otherwise I would have just .)
How to delete all lines that do NOT contain a certain word in Vim?
In vim I can delete all lines that contain the word "price" with this How can I delete all lines that do NOT contain the word "price"?
How do I configure SSH so it doesn't try all the identity files automatically?
I have been putting my ssh identity files inside my folder. I have probably about 30 files in there. When I connect to servers, I will specify the identity file to use with something like However, if I do not specify an identity file, and just use something like this: I get the error I understand that is because if no identity file is specified, and ssh can find identity files, then it will try all of them. I also understand that I can edit the file and specify something like: in order to prevent that connection from trying known identity files. So, I guess I could move my identity files outside of the directory, or I could specify each host that I want to disable identity-file authentication for in the config file, but is there any way to tell SSH by default not to search for identity files? Or to specify the ones it will search for?
What's different between Ctrl+Z and Ctrl+C in Unix command line?
I'm using Mac OS X Terminal. And I use Ctrl+Z or Ctrl+C to stop some programs. But I realized that I don't know what they're exactly doing. What are they and what's the difference between them? This question was a Super User Question of the Week. Read the March 13, 2011 blog entry for more details or submit your own Question of the Week.
How can I resume a stopped job in Linux?
How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs'
How can I list all IPs in the connected network, through Terminal preferably?
Using Ubuntu 10.10 command line, how can I list all IPs connected to my home network? Ideally, it needs to be a CLI command as I will be running it from C++.
How can I make chown work recursively?
I've got a directory called 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: ...but it didn't change ownership of the PDFs in subdirectories. The user and group do exist. According to the man page for , the should mean recursive: What am I missing?
Change default code page of Windows console to UTF-8
Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850. Running in the command prompt prior to use of any tools helps but is there any way to set is as default code page? Update: Changing value to appear to make the system unable to boot in my case. Proposed change of to served just well for my purpose. (thanks to Ole_Brun)