All Issues
24,993 verified issues
How do I add a user to multiple groups in Ubuntu?
What's the command line utility and the arguments it requires?
How can I split a large file on Windows?
Is there a tool to split large text file (9 GB) into smaller files, so that I can open it and look through? Is there anything usable from the command line that comes with Windows (XP)? Or what's the best way to split it? Can I use 7-Zip to create separate volumes and then unzip one of them separately? Will it be readable or does it need all the other parts to unzip into the big file again? I put together a quick 48-lines Python script that splits the large file into 0.5 GB files which are easy to open even in Vim. I've just needed to look through data towards the last part of the log (yes, it is a log file). Each record is split across multiple lines so grep would not do.
An SSH tunnel via multiple hops
Tunneling data over SSH is pretty straight-forward: sets up port 9999 on your as a tunnel to , but I have a more specific need: I am working locally on is accessible to only accepts connections from I need to create a tunnel from to Effectively, I want to create a "multi-hop" SSH tunnel. How can I do this? Ideally, I'd like to do this without needing to be superuser on any of the machines.
How to configure PuTTY so that Home/End/PgUp/PgDn work properly in bash?
The keys Home, End, PageUp, PageDown all type a in my bash session instead of moving the cursor / view around. Why does this happen and which settings do I need to change? The question originally read: In PuTTY, why does pressing the "Home" key on the shell (bash) type a "~"? Or rather, how do I make it move the cursor to the start of the command I've typed? (I thought the reason was that ~ is the home directory, but the answers say this is not so.)
Is there a method to export the URLs of the open tabs of a Firefox window?
If I have a Firefox window open that contains 10 tabs, is there a way in Firefox or by a plug-in to get the URLs of those 10 tabs as a text file or some other format? Right now if I want to do this I need to copy the URL of tab A, paste it somewhere, move to tab B, and repeat. I could also bookmark all the tabs into a folder and export that, but that seems like such a hassle. If there is no such method, could someone point me to some documents that describe the basics of writing a Firefox plug-in. I am willing to write this myself if there is no "standard" way.
How can I re-sync the subtitle and the video using VLC media player?
When I play a movie with subtitles (on VLC media player), the text is often displayed too soon or too late. Is there a way to delay the starting point of the subtitles?
How to add a command in vim editor?
If suppose my source code file name is "foo.c". While editing and debugging i always execute this command:- :!gcc -g foo.c -o foo;gdb foo Can I add a custom command to Vim such that If i type ":debug" then the above command executes? How do I achieve that?
How can I determine what process has a file open in Linux?
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created. So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.
Can't copy and paste in Remote Desktop Connection session
Is it possible to copy and paste inside a Remote Desktop Connection session?
How to save a remote server SSL certificate locally as a file
I need to download an SSL certificate of a remote server (not HTTPS, but the SSL handshake should be the same as Google Chrome / IE / wget and curl all give certificate check fail errors) and add the certificate as trusted in my laptops Windows' certificate store since I am not able to get my IT guys to give me the CA cert. this is for office communications so I cannot really use the actual client to get the cert. How do I do this, I have Windows 7 and a pile of Linuxes handy so any tool / scripting language is fine.
7Zip - Command Line : Exclude folder(s) by wildcard pattern?
Any idea how to exclude a wild-carded path(s) from a command-line 7zip command? I'm doing something like this: and would like to exclude any or folders found underneath "FolderToArchive". To exclude files, you can use the parameter. The help file gives this example for using : That's great for excluding a file. But, again, I would like to exclude a wildcard-specified folder. Under my "FolderToArchive" there are multiple folders, under those folders there may or may not be and folders. I would like to not include these in the archive. I've tried patterns like None seem to exclude the folder. Is this simply a limitation of 7zip?
Difference between OTF (Open Type) or TTF (True Type) font formats?
On a Mac, when I'm downloading fonts am often given the choice between OTF (OpenType Format) and TTF (TrueType Format). Is there any difference in the way ligatures work or anything between the two formats?
How to force refresh without cache in Google Chrome?
Does Chrome have an equivalent to Firefox's Ctrl+F5 refresh? I can't seem to find one. I changed my gravatar last night, and I can see the new one in Firefox after a Ctrl+F5 refresh, but Chrome seems to be stubbornly hanging on to the old Gravatar. I guess I could manually clear out the cache, but if there is a keyboard command to do it I'd like to know what it is (since it would be helpful for web development too).
How to recursively chmod all directories except files?
How to all directories but not files (recursively)? Inversely, how to only files (recursively) but no directories?
Case insensitive tab completion in Bash
Is there any way to make Bash tab complete case insensitively? I am using Mac OS X 10.6
How to clear the contents of a file from the command line?
I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: I know how to edit the file, line-by-line: But I don't want to delete each line one at a time. Is there a way to do it in one command without destroying the file to do it?
How can I control the master volume in Windows?
Some keyboards have volume controls on them that can be pressed anytime to control the master volume. My keyboard does not have that. Is there a way that I can create a key macro that will work like the volume controls on those keyboards? It should always allow me to control the volume, even if I'm playing a game.
Linux command to repeat a string n times
Is there any built-in Linux command that allows to output a string that is n times an input string??
How to use Mac OS X Keychain with SSH keys?
I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work. I have some RSA keys that I've generated stored in my ~/.ssh directory for accessing various servers. I don't have passphrases set on those keys. Currently in order to log in to those servers I use the following commands in the Terminal: (I've written some Bash functions to make this easier.) Is there a better way to do this using the Keychain?
How do I move files and directories to the parent folder in Linux?
In Linux (Ubuntu), how do you move all the files and directories to the parent directory?