0
votes
3answers
854 views

Being kicked out upon logging in using ssh

Does anyone know why I am kicked out immediately after everytime I log in? Here is the output: $ ssh tim@xxxx.xxx.xxx.xxx Password: Linux xxxx 2.6.32-24-server #43-Ubuntu SMP Thu Sep ...
46
votes
6answers
19k views

How can I move files and view the progress (e.g. with a progress bar)?

When moving large directories using mv, is there a way to view the progress (%)? The cp command on gentoo had a -g switch that showed the progress.
4
votes
3answers
1k views

Where do X error messages go?

If I start an X application from a terminal, the error messages go to the terminal. If I start them from a GUI, where do the error messages go, or alternatively how are they dealt with?
6
votes
1answer
4k views

Execute Nohup command with input

In UNIX, I have a process that I want to run using nohup. However this process will at some point wait at a prompt where I have to enter yes or no for it to continue. So far, in UNIX I have been doing ...
8
votes
4answers
3k views

How to split and edit patches?

Sometimes I need to split a big patch into smaller (disjoint) ones, e.g. for every separate feature included. Usually I do it via standard vim yank/dd commands and split-window switching. But are ...
1
vote
1answer
2k views

Problems with RPM (JRE)

I'm trying to install a JRE on Ubuntu 10.04, but I failed: oneat@oneat-desktop:~/Downloads$ sudo rpm -i --force-debian jre-6u21-linux-i586.rpm error: Failed dependencies: /bin/basename is needed ...
12
votes
3answers
4k views

Sharing an X server (session) across computers

I have 2 computers (both running linux) and I'm currently using synergy to use them. This is great, but now I'm wondering, is there any way (is it possible? being worked on? tried and failed? ...
11
votes
5answers
2k views

How to copy a file that is still being written over ssh?

Here is the situation: I am uploading a large file from client A to a server using sftp. I also need to download this file from the server to client B over ssh. What I would like to do is start ...
11
votes
5answers
16k views

How do I set up dual monitor wallpaper (Ubuntu/NVIDIA)?

On Ubuntu 10.4 with NVIDIA drivers I have dual monitors setup with TwinView. How do I configure a single wallpaper to span both monitors? Right now the same wallpaper is replicated on both monitors. ...
6
votes
4answers
4k views

Debian: Which firewall for a newbie?

I have to install a firewall on my server (so without X Server). It's a debian lenny. If it is possible, I want to avoid the use of iptables. Is there a way to install/configure a firewall for a ...
5
votes
4answers
13k views

how to work around APT's “Release file expired” problem on a local mirror

I have a local mirror (created with debmirror), and when I try to do a cache update (apt-get update) after a few days, I get this: E: Release file expired, ignoring ...
5
votes
2answers
5k views

Get a list of the functions in a shared library?

How can I get a list of the functions defined in a shared object library, or find out if a particular function is defined in one?
2
votes
1answer
1k views

who loaded my kernel modules?

I have compiled a kernel with some modules, for example the ath9k for my wireless card. I don't have anything in the autoload configuration (i.e my file /etc/modules.autoload.d/kernel-2.6 is empty). ...
6
votes
3answers
2k views

Primary vs Logical partition

I know that you can only have 4 primary partitions on a hard drive. But if you're using less than 4, is there a benefit/penalty for using logical partitions?
4
votes
5answers
751 views

Small inexpensive *nix box?

I'd like to learn more about Unix & Linux and would like to set up a little home test server/ headless box. (I'm thinking of compiling from scratch, to learn how that works; either Gentoo Stage II ...
11
votes
3answers
15k views

Sync a local directory with a remote directory in Linux

I have a folder with a few files in it, and some space on a web server. I want to do a bi-directional sync between the local folder and the remote one in linux, just on modification time. How do I ...
54
votes
4answers
12k views

What are other ways to share a tmux session between two users?

I'm looking for a clean and easy way to share a tmux session with another user on the same machine. I've tried the -S socket-path option, but it requires opening up all permissions of the socket-path ...
8
votes
1answer
498 views

Can I convert an ext3 partition into ext4 without formatting?

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?
2
votes
4answers
6k views

What is “System Memory ” displayed in nmon in AIX?

I have a host with AIX 6.1 (6100-04-02-1007) upgraded from AIX 5.1 with Veritas Storage Foundation 5.1. Since the upgrade from AIX 5.3 to 6.1, Run vx services means a lots of memory consumed that I ...
3
votes
2answers
470 views

Will enabling Hyper-Threading create two virtual half-speed processors?

If I enable Hyper-Threading for my netbook which has an Intel Atom (1.6 GHz) will the kernel see two virtual 800 MHz processors?
4
votes
3answers
692 views

tunneling VNC/rdesktop over ssh

I'm having a friend behind a firewall, with a windows computer. I'm having a Linux machine at home which is not behind a firewall. I want to have an rdesktop connection to his machine, without using ...
3
votes
1answer
255 views

How to install OpenBSD/vax 4.7 on multiple disks?

I've got an old VAXstation 3100 Model 76, and I'd like to install OpenBSD/vax 4.7 on it. I've got two drives in it, an RZ23 (104MB) and a another 1.09GB. Now, since the 1.09GB is too large for an ...
1
vote
2answers
1k views

Installing Ubuntu, how do I get it to recognize the Crucial RealSSD C300?

I'm building a new rig and got the RealSSD C300 for its supposedly stellar performance, but it is not recognized when I try to install Ubuntu 10.4LTS 64-bit. Is there anything that I can do to get ...
7
votes
7answers
2k views

Which run dialog

I just switched from the standard Gnome window manager to Openbox (still running inside Gnome) and like it a lot. However, now I need a new run dialog, e.g. the thing popping up when hitting Alt+F2 in ...
15
votes
5answers
8k views

Using different versions of Python

Background: Since I develop python programs that must run on different python versions, I have installed different versions of python on my computer. I am using FC 13 so it came with python 2.6 ...
4
votes
3answers
1k views

Recompile Kernel to Change Stack Size

I need to recompile my kernel on RHEL WS5 with only two changes. Change stack size from 4k to 8k Limit usable memory to 4096. How do I recompile the kernel without changing anything else but ...
1
vote
3answers
354 views

Linux as virtualisation host and client performance under Core i7?

(to skip the details, jump to last paragraph) A few months ago I built what I thought was a beefed up box with an AMD Phenom II X4 955, 8 GB DDR3 1333 mHz RAM plus a nice motherboard (can't remember ...
3
votes
3answers
2k views

Substitute part of text file using bash script

I'm writing a shell script (bash) to fetch and build several bits of software. The script also writes several small config files and needs to alter a couple of pre-existing config files. What is the ...
9
votes
4answers
583 views

filesystem for archiving

I have some complex read-only data in my file system. It contains thousands of snapshots of certain revisions of a svn repository, and the output of regression tests. Identical files between snapshots ...
6
votes
3answers
1k views

Command line join of password protected wireless networks in Ubuntu, Arch Linux, or other distros?

Is there a way to join a password protected wireless network via the command line in installations of Ubuntu or Arch Linux with no desktop environment or any GUI installed? Also, could this be done ...
3
votes
1answer
2k views

Why is there a mismatch between size reported by LVM and the size reported by df -h?

I'm new to LVM and have been very confused by this: I am transfering a large file to a partition that I thought had about 1.5 terabytes of space on it. Near the end of the transfer, rsync exits with ...
2
votes
1answer
2k views

Connect to KVM instance using virsh when image launched through Eucalyptus?

I'm using Eucalyptus on Ubuntu 10.04 to set up a private cloud. Sometimes I'm not able to ssh into the VM instances, and I'd like to be able to connect directly to the console of the VM instance. ...
2
votes
3answers
202 views

archive files and directories before transfer

I was wondering what is the advantage of making all the files and directories into an archive file for transfer, such as by cpio, instead of transferring them directly, such as by cp, scp?
8
votes
5answers
6k views

Is it possible to put root in LVM without using initrd?

I have just set up a Gentoo base system (which means I can boot and log in and do stuff with it now). My root partition is in an LVM2 virtual group (with a separated /boot partition). In order to boot ...
27
votes
2answers
32k views

timestamp, modification time, and created time of a file

I just know that ls -t and ls -f give different sorting of files and subdirectories under a directory. What are the differences between timestamp, modification time, and created time of a file? How ...
9
votes
5answers
3k views

How to create a file even root user can't delete it

How to create a file even root user can't delete it ?
3
votes
1answer
2k views

Connect Windows printer to Linux machine via samba

How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
0
votes
3answers
153 views

Why does my mapping of <C-PageX> to :bY not work in gvim?

In my .vimrc file, I have the following two lines: noremap! <C-PageDown> :bnext <CR> noremap! <C-PageUp> :bprev <CR> but they do not work! In insert mode, typing ...
4
votes
2answers
2k views

Names for ATA and SATA disks in Linux

Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
18
votes
4answers
9k views

Resume transfer of a single file by rsync

In Ubuntu, I want to copy a big file from my hard drive to a removable drive by rsync. For some other reason, the operation cannot complete in a single run. So I am trying to figure out how to use ...
11
votes
2answers
1k views

How to rip scratched audio cds?

What is currently the best way to rip scratched audio cds under Linux? What I find complicated, is that there are several tools available but it is not clear if one tool has better error correction ...
6
votes
1answer
2k views

how to view a directory's permission

What is the command with which you can directly view the permission bits of a directory?
55
votes
7answers
16k views

Is there a basic tutorial for grep, awk and sed? [closed]

I've been a Linux user for a while, and I've a pretty decent understanding of most the common command line utilities. However, ones that come up and up again in relation to programming are grep, awk, ...
21
votes
3answers
11k views

How to remove “You have mail” welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought ...
1
vote
2answers
454 views

Can't map XF86AudioRaiseVolume key in QJoyPad

I wanted to map my PSone gamepad to do some basic KDE/keyboard/mouse functions and everything works well except one thing. I use logitech ultra-x keyboard which has a few multimedia buttons (play, ...
2
votes
5answers
5k views

How to install Linux on a Lenovo ThinkPad T400

I want to completely format my computer and replace my current OS with Linux. How should I go about doing this? Particularly, how do I handle finding all the device drivers I'll need? I'm using a ...
6
votes
2answers
3k views

Getting Ubuntu working with eSATA (Intel H57 chipset)

Does anyone know if there's kernel support for the eSATA controller in the Intel H57 chipset, or if there's a driver for it somewhere? (Full disclosure: Asked over on SuperUser.com, no luck, but as ...
4
votes
3answers
3k views

What RPMs do I need for timeconfig?

I've got setuptools set up and have read through the list of what's in /etc/setuptools.d I'm interested in installing timeconfig as well, but I only need the TUI version (no GUI). Which RPMs do I ...
13
votes
9answers
1k views

Favorite partitioning and mounting tricks

We all know that mounting a new partition as /home and maybe /boot is extremely useful. Or mounting a remote directory as /opt can be great for sharing system tools. Are there any other, maybe more ...
2
votes
2answers
893 views

Auto login for Ubuntu (or other Linux) without GUI?

I am thinking about doing an Ubuntu installation with their mini ISO, which comes only with the barebones system without a desktop environment/GUI. I remember being given the option to set up ...

15 30 50 per page