7
votes
3answers
5k views

Slow NFS, nfsstat -c: what is authrefrsh (aka newcreds?) field about in detail?

(net-fs/nfs-utils-1.2.3-r1, 2.6.38.5-zen+ Gentoo) Googling this seems to be a complete dead end. man nfsstat says a whole lot of nothing about the subject. The closest I could get was finding out ...
15
votes
5answers
5k views

Process Monitor equivalent for Linux?

Is there a Unix/Linux equivalent of Process Monitor, whether GUI or CUI? If it makes a difference, I'm looking at Ubuntu, but if there's an equivalent for other systems (Mac, other Linux variants ...
5
votes
2answers
715 views

How does the Unix file privilege system differ from that of Windows?

Related question: How does the Linux file system/organization differ from Windows? I am somewhat familiar with how privileges work when it comes to files and directories - each entry has an owner and ...
1
vote
2answers
510 views

DNSSEC in the root zone? How to use it?

I'm using Fedora for desktop use and I: yum -y install caching-nameserver service named restart chkconfig --level 5 named on on it, and set the nameserver to 127.0.0.1. If I: dig google.com | grep ...
2
votes
1answer
413 views

Why does 'apt-get install' suggest packages that I already have?

On Ubuntu Desktop 10.04.1, I have just run apt-get install to install a package. Amongst the list of suggested packages is ssh. I'm confused, because I am sure that I already have ssh installed: # ...
4
votes
2answers
5k views

ext4: How to account for the filesystem space?

I've recently formated a 1.5 TB drive with the intention of replacing ntfs with ext4. Then I noticed that the files I saved don't fit on the new partition. df: ext4 (ext3 & ext2 show the same ...
0
votes
1answer
109 views

Video archiving method?

I want to archive family videos, films, etc. I'm currently using: mencoder INPUT.avi -o OUTPUT.avi -ovc x264 -x264encopts bitrate=750 pass=1 nr=2000 -oac mp3lame -lameopts cbr:br=128 I want to ...
5
votes
4answers
4k views

Detect if a (NTFS) drive is mounted or not. If not then mount it

I want to sync an USB drive with a folder located on a NTFS partition which is not mounted at boot time. I have found a command to do that: rsync -axu /media/USB/folder /home/user/folder. But I have ...
2
votes
1answer
208 views

Virtualenv creation seems to do nothing

I have a problem setting up a Virtualenv on my web host server (to install python modules later on) So far I tried this (over SSH): wget ...
2
votes
5answers
3k views

tool or technique to get a diff of two different linux installations

Albert Einstein quote Insanity: doing the same thing over and over again and expecting different results Often-times, Linux drives me mad because I'm doing the same thing over and over again ...
2
votes
3answers
2k views

sed one-liner to delete any line that begins with a digit

Pretend I am working with this file. The beginning of the first visible line is obscured, so ignore that. 43 is the beginning of the next line, and that line would be deleted. The next line (which ...
3
votes
1answer
380 views

Installing KDE on Ubuntu Natty from cdrom

Currently I have Ubuntu 11.04 - Natty, with Unity as the default environment; but I just want to install KDE along-side it, and I don't have perfect bandwidth. So I took Kubuntu 11.04 cdrom from my ...
2
votes
2answers
2k views

Reducing packet loss in tc rate limiting

I use this tc command to limit upload speed on an interface: tc qdisc add dev eth1 root tbf rate 2mbit burst 10kb latency 70ms peakrate 2.4mbit minburst 1540 But it results in heavy packet loss. ...
8
votes
3answers
6k views

how do I prevent Xorg using my Linux laptop's display panel?

I have a laptop (~5 year old HP compaq nc6400 running Fedora Linux) that I use most of the time as a desktop machine. It is plugged into a docking station with its lid closed and connected through ...
12
votes
5answers
5k views

Alternative to find?

Is there an alternative find program with a more conventional CLI interface? find works and expects parameters in a painfully different way from most other utils. Clarification: I'm looking for a ...
3
votes
3answers
949 views

openSUSE Linux Kiosk Setup

Working on setting up a kiosk with openSUSE, where users can only view a single webpage. Obviously open to any Linux distro. Also would prefer to use Gnome. I'm wanting only Firefox to be available ...
0
votes
2answers
537 views

Better solutions for this: tail -200 /var/log/messages | head -100

Are there any better solution to this? tail -200 /var/log/messages | head -100 Are there other methods to achieve this output? (not more complex, I'm looking for simpler solutions!)
1
vote
1answer
661 views

how to Update QT 4.5.3 of OpenSuse 11.2 to QT 4.7.3?

I just installed QT 4.7.3 in OpenSuse 11.2 (which has 4.5.3). I ran configure, gmake, and gmake install, but when I check qmake's version, it's still returning 4.5.3. What should I do?
-1
votes
1answer
4k views

What are the most secure cryptsetup parameters to create an Encrypted filesystem? [closed]

According to http://16s.us/Linux/dm-crypt.txt, it's better to use only dm-crypt, because LUKS leaves a trace. That's OK. But, what are the most secure cryptsetup parameters to use? E.g.: ...
0
votes
4answers
301 views

Problem installing software in UNIX (Sun Solaris)

I am new to UNIX. I have some software which need to be installed in UNIX. I have below the list of OS provided by a third party software provider. Can anyone help me out: which OS Software will be ...
1
vote
2answers
3k views

postfix doesn't respond on 25 from external server

I am trying to set up postfix with dovecot. I can telnet to localhost 25 and send a message to accounts on the server. However, when I try to telnet to port 25 on this server from another server I ...
1
vote
2answers
180 views

Enforce site-wide SSL on Debian LAMP

I have a Debian/Linux Lenny LAMP server w/Plesk Panel 10.2. I have a PHP/MySQL webapp deployed in a Plesk "webspace". I want to enforce SSL on site-wide. Do I just forward port 80 to 443? For my ...
1
vote
1answer
754 views

What is supersede in a DHCP config?

E.g.: what does supersede domain-name "SOMETHING.COM FOO.ORG"; exactly mean?
7
votes
2answers
2k views

Difference between a Window Manager and a Desktop Environment?

What exactly is the difference between between a Window Manager and a Desktop Environment? E.g.: sawfish vs. gnome.
0
votes
1answer
4k views

how to Update gcc of OpenSuse 11.2?

I have OpenSuse 11.2 with gcc version 4.4.1. I would like to update my gcc version to 4.5.1. I have downloaded gcc-4.5-19.1.i586.rpm. When I rpm install it, it's asking for ...
4
votes
1answer
1k views

Trouble adding date to tcsh history

I'm trying to add the date to my tcsh history information and I can't seem to figure out how to make it work. The tcsh man page reads like this for the history setting: The first word indicates ...
2
votes
3answers
923 views

Why does the adduser command behave surprisingly?

I see various examples of how to add a user on Ubuntu server I have Ubuntu 10.04.2 LTS I was logged in as root and, when running adduser, my SSH command line asked me for both a 'new password' AND ...
46
votes
4answers
32k views

Can grep output only specified groupings that match?

Say I have a file: # file: 'test.txt' foobar bash 1 bash foobar happy foobar I only want to know what words appear after "foobar", so I can use this regex: "foobar \(\w\+\)" The parenthesis ...
7
votes
3answers
3k views

Is there a way to find a file in an inverse recursive search? [duplicate]

So say I'm in a directory that is deep within a file structure, such as /home/cory/projects/foo/bar/bash/baz I know that in either the current folder baz or one of the folders above me (such as ...
6
votes
2answers
4k views

Are there any Linux distros currently using Wayland? [closed]

I know that Ubuntu is planning to use it in 11.10, and Fedora has announced 'eventual' migration, but I'm curious if there is something using it already that I could load in a VM to help with ...
7
votes
2answers
1k views

Suggestions needed for udev, udisks, autofs, notification setup for a complete automounting solution on Linux

Continuing on Automounting plugged devices in linux, which left things a bit basic. Running Gentoo, I'm automounting a combination of local and network devices on my laptop with autofs-5.0.4-r5. Doing ...
10
votes
4answers
3k views

What is the “directory order” of files in a directory (used by `ls -U`)?

According to the man page for ls, ls -U means: do not sort; list entries in directory order. What does "directory order" mean, and how is it determined? The following test (executed on an ...
1
vote
2answers
1k views

Cannot find libgmp when compiling GCC 4.5.2

I'm attempting to compile GCC 4.5.2 as part of the Linux from Scratch book (http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html). My configure is as follows: ./configure \ ...
5
votes
3answers
4k views

How to check how long a process ran after it finished?

Currently I'm using the following to check how long a process is actually running: ps -eo uid,pid,etime | egrep '^ *MY_ID' | egrep 'PID_OF_PROCESS' And that outputs the following: MY_ID ...
3
votes
2answers
1k views

Find files with same name but different extensions, send to tgz

I have a large archive of edited images from my camera, each image is actually a pair of files - *.nef & *.xmp. I would like to go through all the folders and then zip these pairs into single tgz ...
5
votes
2answers
934 views

List unused module

Is it possible to list down unused modules? lsmod would only list down dependency by modules, right?
7
votes
1answer
9k views

rpcbind-“warning” on boot

On my debian testing system, I get these messages in my /var/log/boot file: Starting rpcbind daemon...rpcbind: Cannot open '/var/run/rpcbind/rpcbind.xdr' file for reading, errno 2 (No such file or ...
3
votes
1answer
133 views

Link a dependency in Synaptic to the one already installed from source

I want to install SVN version of Quantum GIS and already I have a SVN version of GRASS GIS. As instructed in QGIS Wiki here, I added the qgis repository to my sources.list file. Now I am able to see ...
2
votes
1answer
114 views

Script for opening corresponding pdfs for bibtex keys in Vim

Context I currently write research articles in LaTeX using Vim. I have bibtex keys in my articles like \cite{smith2000sometopic} and I have corresponding pdf versions of most articles in a subfolder ...
2
votes
2answers
8k views

How do I log out of all my active sessions?

For some reason, I have a few open sessions on an SSH server that I don't know about. I assume they're leftovers from when my pipe broke. $ users user1 user2 user3 me me me me Is there a way to log ...
4
votes
1answer
500 views

tell xfce to resize all windows when external monitor unplugged

I wrote a nice little script that changes my monitor outputs according to whether an external monitor is connected or not and whether the laptop lid is open or closed or not and so on. That works ...
0
votes
1answer
223 views

Where are Lenny ISOs now that Squeeze is out?

So the next stable version of Debian is out but I need to install the previous one (Lenny) because my VPS is running that version. I haven't been able to find an «official» download link for Lenny's ...
3
votes
3answers
7k views

Force telnet / ssh to use crtl-H for backspace

I have some devices connected to a Cisco serial term server; many work fine when I telnet directly to the port on the Cisco. However, I have a few stubborn devices that will not use Backspace as it ...
2
votes
1answer
2k views

How to block yum from upgrading obsoleted package?

Is there any way to prevent yum from upgrading a package obsoleted by another? I have created a custom repo containing some packages, among them openh323-devel. In current versions of CentOS, ...
5
votes
4answers
5k views

How to copy text to xterm

How to paste text in a xterm? Now I can copy text from xterm to an outside application, like Firefox, by highlighting the text there. But I can not copy text from firefox to xterm. I am just normal ...
4
votes
3answers
2k views

How do I kill 1 gnome-terminal window?

Why in the world do all my gnome terminals run under 1 process in Ubuntu? This is integrating things that should remain separated! I much prefer xterm's rational mode of running one process per ...
2
votes
1answer
409 views

Can't access HTTP contents, but HTTPS and SSH are fine

I'm having a weired issue wih my Fedora 14 recently. Many details involed. Let's start from this: I've been using Fedora 14 for months, and recent few days, offten I can't access Internet for hours. ...
4
votes
1answer
422 views

Disable /net ghosting for autofs5

I recently have been trying out Arch Linux. It seems that their autofs has a usability bug, although I confess that I'm new enough to Arch that I may be missing something horribly obvious. I want ...
1
vote
3answers
2k views

How to partition my hard-drive to be used for dual OS?

I'm using HP G42 laptop with 320GB hard-drive and 4 GB memory. I'm pretty sure that, it can be used for dual OS(Windows 7 & fedora) Currently, I'm using only Windows 7, but, I need to install ...
0
votes
1answer
2k views

Unix > overwrite command?

I'm doing a shell command (such as sh run.sh > log.txt). How do you overwrite the file each time (so each time I run it log.txt doesn't get appended) I'm doing this in a python script and I'm ...

15 30 50 per page