All Questions

3
votes
0answers
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
2
votes
1answer
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 ... ...
0
votes
1answer
350 views

Error installing gmrun via apt-get

$ sudo apt-get install gmrun Reading package lists... Done Building dependency tree Reading state information... Done gmrun is already the newest version. 0 upgraded, 0 newly installed, 0 to ...
3
votes
2answers
3k views

A tee >( process ) is truncating its stdout when writing a file

When I use tee to pipe stdout directly to a "specific block of code" (which then writes the modified data to a file), I always get the full complement of exptected output lines in the file. ...
3
votes
1answer
1k views

Compiled a Kernel (2.6.39-rc1), where is the corresponding initramfs?

as I've already wrote in the topic, I compiled a new Kernel with make defconfig, the bzImage is where it there, so is vmlinux.bin. I've installed modules with make modules_install. Now, what is the ...
6
votes
2answers
15k views

Arch Linux not booting after system update

After running a system update pacman -Syu with the testing repo not commented, my computer no longer boots. It shows the udev loading, then shows a black screen with a cursor blinking in upper left. I ...
8
votes
2answers
4k views

Adding Ctrl-L as “clear” hotkey in OpenBSD's ksh

I've been looking for a way to use Ctrl-L to clear the monitor instead of typing clear in each time. I found nothing except a patch which didn't work for me. How do I add hotkeys/shortcuts to my ...
3
votes
2answers
153 views

Hiding a zsh completion

I just switched to zsh (from tcsh) and have only run into one serious frustration: There are multiple completions for push — pushd and pushln. I’d really like to only have pushd available, since ...
4
votes
3answers
6k views

'd' Key on VNC Viewer Minimises All Windows

I'm running vnc4server on an Ubuntu 10.10 box, and connecting to it from an Ubuntu 8.04 machine using TightVNC Viewer 1.3.9. I'm unable to type anything with the character d within the VNC session, as ...
4
votes
2answers
16k views

My awk program to change spaces into tabs doesn't work [closed]

How to write a shell script which uses awk to read in the data file students.txt and output the data in the tabbed format as shown: Surname Forename MSc Stream Date of Birth Smith John IT 15.01.1986 ...
26
votes
3answers
18k views

Reattach to lost X11 session

I'm using X11 forwarding over ssh to run Linux apps on my Windows box, and when the network drops it loses everything that was running. Is there anything similar to screen for X11?
5
votes
1answer
1k views

Connecting fetchmail (or another MRA) to Exchange

I currently use fetchmail as my MRA, using IMAP to connect to my office's Exchange 2007 server. Unfortunately, IT is disabling POP3 and IMAP access soon. Does fetchmail support connecting to Exchange ...
1
vote
1answer
689 views

How to access flash site that is rejecting my plugin (64-bit)?

I am trying to buy tickets on stubhub.com but the site is telling that I need to install the flash plugin. I already have a 64-bit flash plugin (Adobe) installed on my Fedora 14 64-bit system. youtube ...
17
votes
3answers
23k views

How can I swap my two screens, left to right?

I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back? Edit - Specifically, I'm using Gnome, ...
0
votes
0answers
126 views

What's a quick Launcher app which will do auto-complete? [duplicate]

Possible Duplicate: Which run dialog I'm a unix noob, looking for a good replacement to Windows 7's start menu (pressing Windows key and typing "Ch" will bring up Chrome). I was told I can just ...
9
votes
5answers
19k views

Running multiple commands with su in Bash

I would like to use su -c to run as root multiple commands altogether. I don't want to use an extra script for this. I tried the following: su root -c "tcpdump -i wlan0 -s 1500 -w CCCCCC & " -c "...
2
votes
1answer
165 views

Where are the program calls of the boot process stored

I just wrote a little program which logs all calls of bash during the boot process. This is a part of the output produced: (root) '/bin/bash-' '-c' 'gzip -d -c /usr/share/kbd/keymaps/i386/qwerty/us....
8
votes
3answers
2k views

Is it possible to make thunar sort by ASCII order?

I'm currently using Debian 6 with Xfce desktop, and I can't find any setting to make Thunar sort files properly; i.e., by ASCII order. I haven't been able to turn up anything via search engines either....
1
vote
1answer
270 views

How to store packages on a separate drive to save disk space in Linux Mint?

I'm running Linux Mint 9 from an 8G USB stick and it's nearly full with installed packages. How can I move some (but not all) packages to my internal drive?
0
votes
2answers
3k views

How to call a kuu from a shell script

I want to kuu to an account which requires a password, but I want to do this inside a shell script. How can I provide the password from the shell script?
11
votes
2answers
5k views

How to set a video mode in linux with kms/drm?

How can I set the video mode in Linux the low level way? As far as I know the lowest layer in userspace would be to request KMS via DRM. Is this correct? And if so, how could I achieve a mode switch ...
1
vote
1answer
411 views

/dev mounted as readonly

i am trying to write a device driver for my gps module. somehow the linux os when loaded to my arm board have /dev directory read only. when i try to do a "vi /dev/gps" it says file is read only. due ...
2
votes
3answers
7k views

Need to execute javascript as a cron job… possible?

I need to load a page once per hour and execute the javascript on that page. I currently load the page manually with Firefox, but I would like to automate this by running a cron job on the server, ...
4
votes
1answer
3k views

Can't add user to sudoers file [duplicate]

I'm installing Globus Toolkit . When i try to setup Certificate , this error comes : ERROR: could not run build command: /usr/local/globus-5.0.3/sbin/gpt-build -force /home/globus/.globus/simpleCA/...
2
votes
2answers
2k views

FreeBSD: Getting pkg_add to use stable packages rather than release packages?

Using FreeBSD 8.2-RELEASE. I want to use the latest binary packages rather than the packages at the time of the 8.2 release. That is, I want to use packages in ftp://ftp2.freebsd.org/pub/FreeBSD/...
5
votes
2answers
2k views

Encoding changed after running cat

After running cat on some files I get the infamous 'bushes': ␌⎺└⎻⎼␊⎽⎽␊␍ ├▒⎼ °␋┌␊. B␊├├␊⎼ ┤⎽␊ ├▒⎼'⎽ ≥ which I believe are result of encoding being changed. Is there any way to recover the terminal ...
1
vote
0answers
728 views

Gnome trouble on a DisplayLink device in a Linux virtual machine

I have a virtual machine running Ubuntu 10.04 32-bit. Using the tools provided with VirtualBox, I have added a DisplayLink device to the VM and created the following xorg.conf file: Section "...
3
votes
2answers
1k views

File permissions when transferring to another server

If I was to chmod 777 blah.sh on server A and then move it to server B, would it retain the permissions, or would it default to some other permissions once it hit server B?
1
vote
1answer
2k views

Where can I find which packages are on each Debian Squeeze CD?

I just installed Debian Squeeze on my E1505. In order to get my wireless card working, I'm trying to install network-manager-gnome (I already installed firmware-iwlwifi) My current question is, how ...
2
votes
1answer
479 views

Colors wrong in wine with new x server with 8 bit color

I have an old pc game (win95) that I'm trying to play through wine on my ubuntu box. I got it running and all that pretty jazz using this code; $ xinit /usr/bin/xterm -- :1 -ac -depth 8 Then in the ...
1
vote
2answers
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 ...
3
votes
1answer
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-...
4
votes
3answers
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 /...
1
vote
1answer
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 ...
5
votes
4answers
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....
8
votes
4answers
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 ...
4
votes
2answers
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 ...
-1
votes
1answer
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?
2
votes
1answer
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 ...
3
votes
1answer
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 ...
3
votes
1answer
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). ...
74
votes
6answers
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 ...
17
votes
1answer
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 ...
1
vote
3answers
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, ...
2
votes
3answers
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 ...
0
votes
2answers
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 ...
4
votes
1answer
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'; ...
16
votes
3answers
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: ...
2
votes
0answers
159 views

Execute command when file changes [duplicate]

Possible Duplicate: Can a bash script be hooked to a file? Hi there, I am trying to execute a command every time a file changes. Is this possible? I think there is some way to watch for a file, ...
4
votes
2answers
756 views

minimal graphic requirements linux distribution

Which modern distribuition of linux has minimal graphic requirements? My graphic card has only 64MB of memory.

15 30 50 per page