FG

All Issues

24,993 verified issues

Fresh13 days ago

Mac OS X .bashrc not working

I have a one-line file in my home directory: But it is not creating the alias. Why might that be?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to setup a line length marker in vim/gvim?

Some GUI text editors have a vertical line which serves as line length marker (it helps keeping lines shorter than 80 chars in source code files). Is is possible to have something similar in vim/gvim? I know about ruler vim option, but it is not very handy to follow it visually on a big screen. Edit: when googling for "colorcolumn" to learn more, I have found that this question is a duplicate of https://stackoverflow.com/questions/235439/vim-80-column-layout-concerns

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to easily reorder rows in excel with drag and drop or move-up or move-down?

I have to do some manual reordering or rows in Excel and cut/paste is too hard to use. I'm looking for something that would enable me to use drag'n'drop or to add some buttons to move-up/down move-top/bottom.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to detach a tmux session that itself already in a tmux?

I've opened a tmux session on my local machine, and ssh'd into the remote machine. After this, I typed on the remote machine, then I got a remote tmux session on my local tmux session. Now I want to detach from the remote tmux session, I've tried CTRL+B D but it detached my local tmux session rather than the remote one. How can I detach the remote tmux sesstion?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How do I add text to the beginning of a file in Bash?

Hi I want to prepend text to a file. For example I want to add tasks to the beginning of a todo.txt file. I am aware of but that adds the line to the end of the file (not what I want).

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

File extension for Markdown files?

Is there an official file extension for standalone Markdown files?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Copy UNC network path (not drive letter) for paths on mapped drives from Windows Explorer

I frequently want to share Windows network paths to files with other folks on my team via email or chat. We have a lot of mapped drives here, both ones we set up ourselves and ones set up by our IT overlords. What I'd like to be able to do is to copy the full real path (not the drive letter) from Windows Explorer to send to folks. Example: I have a file in my "Q:" drive, \\cartman\users\emueller, and I want to send a link to the file foo.doc therein to coworkers. When I copy the file path (shift+right click, "copy as path") it gets the file name "Q:\foo.doc" in the clipboard. This is unhelpful to others, who would need to see \\cartman\users\emueller\foo.doc to be able to consume the link. In Explorer it clearly knows the full path - in the address bar I see "Computer -> emueller (\\cartman\users) (Q:) ->". Is there a way to say "hey man copy that path as text with the \\cartman\users\emueller not the Q: in it?" I know I could just set up mapped network locations instead of the mapped…

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How do I get Apache to follow symlinks?

In my apache www folder ( on ubuntu 10.10) I have: (that I created with ) Now, if I want to see a listing of the files in from the web, I have to give apache the directive , right? But where do I put it? In a file? Where? I tried many ways but I don't understand it... This is my file:

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Show keys pressed in Linux

In Windows there is a program called Keyboard Jedi that shows what keys are pressed on the keyboard. Is there an equivalent for Linux?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

List open SSH tunnels

I use a lot of SSH tunnels to various servers on my linux machine (for tunnelling to databases, web servers etc) and it would be really handy to view a list of current open tunnels via a shell script. I can identify local connections via a grep on netstat along the lines of: but this won't show me the remote port its connected to (and obviously includes standard SSH connections that aren't tunnelled) UPDATE: The answers are fine but are not showing me the remote port I'm connected to. E.g I often have a tunnel through to mysql, say localhost:3308 mapping to :3306 on the server. Normally I can guess by the local ports I've chosen but would be nice to have access to both. Any ideas?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

What is $* and $# in Linux?

What do the following environment variables in Linux mean? What is $* (dollar sign followed by an asterisk)? What is $# (dollar sign next to a hash mark/number sign/octothorpe/pound sign)?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Unix: How to unsplit in screen

I'm trying to learn how to use , in unix so that I don't have to open up several ssh connections and terminal windows just because I want to do more than one thing at the same time on a machine. I have found the split command quite useful, but I have a problem I can't seem to figure out of... how do I unsplit?? I can split split using ^A S and switch between them using ^A ^I, but can't figure out how to remove a split...

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

What to do when Ctrl + C can't kill a process?

Ctrl + C doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor and can't do much else. What's the easiest way to force that process to die now without losing my terminal?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How do I view, add or edit Cookies in Google Chrome?

I wish to view, add and edit the cookies of my google chrome. Can anyone suggest to me a way to do it?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

how to expand aliases inline in bash?

Is there a way to expand aliases inline in bash?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

How to avoid exposing my MAC address when using IPv6?

On my Macs, each IPv6 address includes the MAC address of a specific computer (not of my router). Sites such as ipv6-test.com not only show it, but even tell me it belongs to an Apple computer. This feels like a super cookie, and might apply to other operating systems as well. How can I avoid my MAC addresses from being exposed? Background: the MAC address is not in plain sight. Like for : Take the last 64 bits (the host identifier) and add leading zeroes: . Strip the part from the middle. If these bytes are not there, then there's no MAC address. For the first byte: complement the second low-order bit (the universal/local bit; if the bit is a 1, make it 0, and if it is a 0, make it 1). So: (00000000) becomes (00000010). Presto: translates back to MAC address . Note: since macOS 10.12 Sierra, according to Ars Technica Apple has adopted a new way of generating stable addresses that are not based on a MAC address, which Windows apparently had already been doing for years. This question …

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Make Windows 7 ignore WiFi when ethernet is available

When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi. This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop. So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

Word heading number blacked out

When opening the document I am working on in Word 2010 this morning, the number in heading level 1 is a black rectangle: however, it still look ok in the bookmark pane: Weird, ey?

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

What is the difference between i686 and x86_64?

I have an AMD Turion and do not know which version to choose from when installing Arch Linux.

Confidence1%
1%
Candidate Fix
1 fix
Fresh13 days ago

tmux vs. screen

I'm about to get back into using GNU Screen, but I have been hearing people occasionally mention tmux as a better alternative. Does it really offer an alternative to all the features Screen offers, such as activity monitoring in different windows, etc.? What are the pros and cons of each?

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