# All Questions

158,044 questions
176 views

### How to copy a long textfile to clipboard on gnome-terminal? [duplicate]

Possible Duplicate: How do I send stdin to the clipboard? What's the best way to copy a long text file to keyboard? I'm imagining something like: cat longTextFile | straightToClipboard
8k views

### How to run sh from sh file

I developed a Java application. I divided the application into 5 sub-applications, and created a service wrapper to each sub application using shell scripts: subaap1/bin/app.sh subaap2/bin/app.sh ... ...
350 views

2k views

### intel wireless 1000 bgn not working in debian/ubuntu

First, I'm not an expert in Linux but I can fairly move and play around with the OS. The problem in short is, I was able to find wireless networks, but when I try to authenticate it, network-manager ...
909 views

### Why is du giving me unexpected output?

I'm new to Linux, so sorry for my simple question. I'm on Ubuntu. I have this directory: \$ ls -al total 16 drwxr-xr-x 2 alberto alberto 4096 2011-04-03 16:02 . drwxr-xr-x 4 alberto alberto 4096 2011-...
2k views

### Firefox and Thunderbird cannot resolve host names - anything else can

One night my firefox just started showing "Server not found" for all websites (i.e. "Firefox can't find the server at www.mozilla.com."). I noticed that it can find websites if make an entry in the /...
174 views

### GRML will not boot automatically

I install GRML on my USB disk with the grml2usb tool. But when I boot from the USB, it first boots to a blank screen with boot: text on it. I must type the boot options myself to boot the system. I ...
5k views

### “internet connection checker one-liner”

With this I can check, that there is "internet connection". if there is no "internet connection" (succesfull pings to this 2 places), then it waits 600 sec, then it runs along: ping -W 1 -c 4 www....
8k views

### SSH slow at starting session

Starting an Interactive shell over SSH is slow to one of my servers. Everything leading up to it including negotiating encryption is fast, but then it hangs for 45 seconds. After that, it finishes ...
516 views

### Viewing a screencast encoded with camtasia

I have downloaded the screencast on this page, http://jaderholm.com/screencasts/org-mode/. I can watch in firefox but the viewer has limited controls. So I would rather watch it on a regular video ...
2k views

### How to block HTTPS site using RHEL Squid?

I want to block HTTPS sites using Linux Squid server. How can I do this?
2k views

### FreeBSD: Opening X applications after su to root?

Using FreeBSD 8.2. I'm accessing my machine over vnc using tightvnc. I log in as my normal user. This is okay. I can open X applications and they display fine. Then I su to root and they won't ...
826 views

### good unix troubleshooting book [closed]

I've been trying to learn *nix and I think I'm doing pretty good as far as basic commands, and I think I understand a lot of the "monitoring" type commands etc... in short, I think I'm doing okay with ...
703 views

### What does %F mean and how can I stop it meaning it?

On an rxvt-clone (I'm using rxvt-unicode but it seems to happen on plain, old rxvt as well), the sequence of characters %F seems to have some sort of special meaning (as do a few others, such as %S). ...
23k views

### How to use which on an aliased command?

Like most users, I have a bunch of aliases set up to give a default set of flags for frequently used programs. For instance, alias vim='vim -X' alias grep='grep -E' alias ls='ls -G' The problem is ...
17k views

### How to numerical sort by last column?

I have this input: sdkxyosl 1 safkls 2 asdf--asdfasxy_asd 5 dkd8k jasd 29 sdi44sw 43 asasd afsdfs 10 rklyasd 4 I need this output: sdi44sw 43 dkd8k jasd 29 asasd afsdfs 10 asdf--asdfasxy_asd 5 ...
2k views

### How do i execute a remote script with 'screens'?

I need to execute a script locally. The problem is, it needs to use screen and send the ctrl d command. How would i do this? The script will be on my local windows machine. i can use winscp, putty, ...
1k views

### linux distro that's lightweight & works in seamless mode for commandline use on VirtualBox

Currently, I'm doing web development on my windows machine. Some projects are just easier to run on Linux (like Node.js.) I only need the commandline, so I run Ubuntu in seamless mode. I don't need ...
233 views

### 'redirect' ssh path?

Instead of using... ssh://user@mysite.net:1234/mnt/thing/usr/prj I want to use ssh://user@mysite.net:1234/prj How would I do this? It would be good if users can't access /home, /var and such. I ...
339 views

### sed: insert something before subsequent lines that begin the same, but are not the same

I have a LaTeX file with one glossary entry per line: ... \newglossaryentry{ajahn}{name=Ajahn,description={\textit{(Thai)} From the Pali \textit{achariya}, a Buddhist monk's preceptor: `teacher'; ...
7k views

### How to detect memory type under Linux?

Which Linux utility can tell me if I have registered or unbuffered ECC memory in my server? Lshw and dmidecode do not work for me; dmidecode provides no information about registered vs. unbuffered: ...