1
vote
1answer
405 views

Need help processing a text file with awk to conform to CSV flat file format

I have the following problem. I collected data on reaction time from over 100 participants for an experiment I am running. Unfortunately, the separators between fields were not consistent, but after a ...
2
votes
1answer
996 views

Monitoring the OpenSSH sFTP process?

Is there a way to monitor the current status of my sFTP process from my Debian server? I'm looking from something similar to top or netstat that will give me the status/progress of activities ...
2
votes
2answers
1k views

Install mandriva in USB HDD

I want to install Mandriva 2010.2 in my external USB HDD using the image file. The laptop's cd/dvd drive doesn't work, so I don't have the option of making a Live CD and starting the installation from ...
2
votes
1answer
221 views

Qt application gray on OpenBox when launched from autostart.sh

I have a Qt application, I have added it to ~/.config/openbox/autostart.sh like this: (sleep 5 && /home/user/UI/UI) & When I start Openbox from terminal, the Qt application opens as a ...
0
votes
1answer
664 views

Force wget to download only from HTTPS?

wget https://skype.com -O - > /dev/null isn't good. I just want to create a short bash script to check that an HTTPS cert is valid or no. i think wget doesn't connects if the cert is invalid. i ...
1
vote
2answers
129 views

Terminal command (called not from SU) that would restrict process from writting to all directories but one?

We have an app testApp. We have a folder called notRestricted in the directory where we run app from. We want to limit access of the app to file system so that app could write only to that folder (we ...
5
votes
1answer
1k views

Not able to set password in ArchLinux

I logged in as root and created a new account: # useradd -d /home/onie -m onie # su onie Now I try to set the password for onie myself using the passwd command, but it's asking for my current ...
4
votes
2answers
3k views

only display df lines that has more fs usage then 80%

root@SERVER ~$ df Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/YXCV 655360 365632 45% 6322 13% / /dev/ASDF 3801088 670648 83% 41759 32% /usr /dev/ASR ...
2
votes
1answer
1k views

/etc/hosts in debian resets itself on reboot

I've been having a problem where when our vps provider decides to restart the server (running Debian 5.0.8), the server fails to remember changes to /etc/hosts. All I need is an database alias that ...
3
votes
3answers
1k views

FIrefox/Thunderbird storage locations

By default, Firefox and Thunderbird save their files to ~/.mozilla and ~/.thunderbird. I am wondering if there's an environment variable I can set, to have either of them save their data to a ...
2
votes
1answer
336 views

Apache mail sending flowchart / workflow?

I am currently trying to get my head into learning how Linux systems send mail, starting from Apache, to Sendmail and finally out the door. Specifically I'm using CentOS 5 which is using Sendmail, ...
3
votes
1answer
173 views

unresolved dependencies of bz* files for rpm make from source

I am trying to do a build of rpm from source. I got through the ./configure and ran through a good chunk of make. Unfortunately I keeping getting stopped up on undefined references to bzerror, ...
18
votes
9answers
787 views

Why do Linux applications often put the language it was written with in the summary?

When showcasing applications, Windows and Mac mostly talk about features. Linux applications, on the other hand, have more details about what language was used to write it (and accompanying libraries) ...
3
votes
1answer
219 views

iptables infographic

Is there an infographic somewhere that describes the logical flow of iptables? Specifically, I'm looking for something that diagrams which point in the process ip_conntrack applies.
2
votes
1answer
2k views

Grub2 Error Loading Kernel

I have been trying to start a small home server, using Ubuntu 10.04 Server edition. The installation process finished, and I got an error from Grub saying that it was "out of disk". After a bit of ...
3
votes
1answer
889 views

What are the advantages of swap on a raid-1 (mirror) device?

What are the advantages of swap on a raid-1 (mirror) device? (in a server environment running linux) I mean, you can just use multiple disk devices in linux for swap. And with swap devices that have ...
11
votes
6answers
367 views

Why are libraries shipped separately instead of bundled with every program?

I know why this is good in general: faster security fixes, easier packaging, more features. However, I'm trying to persuade some co-workers that we don't need to bundle a library with our program. It ...
1
vote
1answer
2k views

reading cifs share fails with permission denied - cifs samba directory permission denied

I'm trying to setup a samba server to share data among clients via cifs. As a test, I mounted the samba share on the same machine and tried to access the contents of the directory. The mount command ...
2
votes
2answers
657 views

I can create a file but I can't read from it

I've been using linux for a while, but I always had root access, so permission problems were no big deal. But now I don't have root access and it's driving me mad. I have a ssh access to a web ...
3
votes
1answer
1k views

Keyboard (mostly) doesn't work in Wine

When I run any program in wine (e.g. notepad), I can use the keyboard just fine until I click the mouse. As soon as I click the mouse for any reason, the keyboard stops working entirely. I'm using ...
0
votes
1answer
141 views

Debugging system-related application errors in Linux

I am now faced with trying to debug some odd crashes for a commercial application, the dreaded SAS, and I am looking for some clues that might help to diagnose the issue. Of course I check the SAS ...
1
vote
3answers
3k views

Get line numbers for empty lines

I have a large pipe-delimited file where I need to find the line number of all lines where a certain field is empty. I can use cut -d \| -f 6 filename.txt to output just that column. What is a ...
4
votes
2answers
154 views

How can I give a very stripped down login for viewing logs?

I have various log files in folders on an RHEL 5 system: /var/log/syslog-ng/A/ /var/log/syslog-ng/B/ /var/log/syslog-ng/C/ I would like to be able to give certain users the rights to view/tail (but ...
2
votes
1answer
273 views

Can I bypass crontab command by putting the file?

I need to create and put my cron file with cat cronfile1 cronfile2 > cronfile crontab cronfile -u myuser This works for me, but I want to know if I can do directly cat cronfile1 cronfile2 > ...
16
votes
1answer
2k views

What's the difference between sudo su - and sudo su --

When I am working on our RHEL machines, I use sudo su - to switch to being root. One day, a typo meant I typed sudo su -- instead - it seems to me that everything was the same as with a single hyphen, ...
75
votes
8answers
153k views

umount: device is busy. Why?

When running umount /path I get: umount: /path: device is busy. The filesystem is huge, so lsof +D /path is not a realistic option. lsof /path, lsof +f -- /path, and fuser /path all return ...
2
votes
2answers
264 views

Replace all files with identical hash

I want to replace all files in a target path with the same name as original.file AND the same hash as orignal.file with new.file. What's the command to do this? Say I have updated the contents of a ...
6
votes
4answers
2k views

In UNIX, how to find the most commonly used commands in history of unix?

In UNIX, how to find the most commonly used commands in history?
1
vote
3answers
593 views

Redirection of output from the terminal to a file in unix/linux

I am facing a slight problem in my project. I have a menu driven program and one of my options is Display all, which displays all the entries from a map using a loop. The display is on the terminal ...
5
votes
2answers
2k views

How to boot from iso with Grub2/Burg boot loader

I'm using Ubuntu as my primary OS and alternative is Windows 7 for gaming, and another stuffs. I want to have menu to boot some live CD ISO. Is there anyway to make menu entry in Grub2/Burg to boot ...
9
votes
2answers
667 views

Overheating results in system shutdown

I have been having an overheating issue which makes my laptop shutdown immediately. Is there anyway to monitor the temperature from the sensor and scale down the CPU frequency to avoid that problem? ...
2
votes
1answer
112 views

How to display my data (molecules)?

In my code I generate a .dat file which is of the format: x \t y \t z \t charge \t type \t ID There are about 3000 lines in the file and I want to display sphere (of radius 1 in my units). I ...
1
vote
2answers
1k views

How can I update existing .crt file with new encrypted rsa .key file?

Suppose I have 2 files: an RSA key file client.key and a certification file client.crt. I have created them without pass-phrase and now I have encrypted client.key file with pass-phrase by command: ...
2
votes
1answer
751 views

Can rpm handle an install of another OS into another Logical Volume?

I am trying to install fedora as a domU under a CentOS dom0 using the method outlined in The Book of Xen. I have asked another question regarding a consistent error message of cpio: Bad magic when I ...
3
votes
2answers
3k views

Setup WLAN interface on Debian

I am trying to configure wlan on my dockstar. I installed wireless-tools, zd1211-firmware and wpasupplicant. My /etc/network/interfaces file looks like this: auto lo eth0 iface lo inet loopback ...
2
votes
0answers
216 views

NVIDIA card fan spins faster when not in use

In my system I have an NVIDIA video card (GeForce 450 GTS) as an extra card (video output via motherboard ATI) for bitcoin mining. If I start mining, the fan speeds up a little, but the weird thing ...
1
vote
1answer
388 views

Different Desktop for Different Users

How do I (if possible) set different default desktop environments for different users in linux? e.g. when user X login, Gnome Shell starts, when user Y login, Gnome starts. (I'm using ubuntu if it ...
6
votes
2answers
816 views

How do I start my service at boot-time?

I'm trying to run a CherryPy app on my NetBSD 5.1 box. To have it start automatically, I've added this line to my /etc/rc.local: /bin/httpd & When I boot the machine, some of the output of the ...
1
vote
4answers
527 views

Fast incremental searching of files from shell

I like the command-t script in vim editor that is able to intelligently and incrementally search for files. Is there some similar program that is able to search from shell? It would be great if it ...
9
votes
2answers
5k views

User can't touch -t

When SCP'ing to my Fedora server, a user keeps getting errors about not being able to modify file timestamps ("set time: operation not permitted"). The user is not the owner of the file, but we cannot ...
6
votes
2answers
2k views

Stable H323 Clients?

Are there any H323 clients that are stable (don't crash all the time)? I only found Ekiga, but people in my work group are telling me that it is unusable, because it is crashing all the time. Is ...
2
votes
1answer
2k views

CentOS: Alert all desktop users from comand-line

Can someone tell me if there is an way to notify all online (Desktop) users from command-line. I know that if I want that I get notifyed when something is done, I just do like this: sudo apt-get ...
0
votes
3answers
2k views

Why can't I run this script?

$ sh bashtrrrrrr # whats my pub. ip? bashtrrrrrr: line 19: unexpected EOF while looking for matching `'' bashtrrrrrr: line 20: szintaktikai hiba: váratlan fájl vég $ cat bashtrrrrrr #!/bin/bash ...
11
votes
2answers
4k views

How to record my full screen with audio?

If I want to record my desktop, I use: ffmpeg -f x11grab -s `xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//'` -r 25 -i :0.0 -sameq valami.avi But it doesn't ...
4
votes
2answers
587 views

Searching for string in files

Is there an easy way to search inside 1000s of files in a complex directory structure to find files which contain a specific string within the file?
-2
votes
2answers
2k views

How to set conkys window width?

I use the following .conkyrc: The key Question: How can I set the window width, so that I could have a wider "window" for my stuff? background yes use_xft yes xftfont Terminus:size=8 xftalpha 0.8 ...
3
votes
2answers
563 views

Heirloom-mailx and Saving to IMAP Folder with Spaces

If I try to save to a message to an IMAP folder with the command save 1 +FOLDER/"Folder withSpaces" in heirloom-mailx, instead of saving, mailx spits out No applicable messages from {Folder/"Folder, ...
2
votes
1answer
721 views

How to config Vino to let vncviewer show the hostname of server instead of “LibVNCServer ”?

When vncviewer connected a vncserver which is on Windows, the title of vncviewer will be the hostname of windows server. But when vncviewer connected to vino vnc server on Linux, the title of ...
11
votes
4answers
9k views

How to find out which interface am I using for connecting to the internet?

I have eth0 and wlan0 according to ifconfig and I can ping google.com. How can I find out (with a normal user, not root) what interface is active, as in, what interface did the ping (or whatever, ping ...
3
votes
4answers
16k views

iptables drop all incoming ICMP requests except from one IP

Currently, I have something like: iptables -A INPUT -p ICMP --icmp-type 8 -j DROP iptables -A INPUT -s x.x.x.x -p ICMP --icmp-type 8 -j ACCEPT However, when I run the second command, it ...

15 30 50 per page