0
votes
1answer
1k views

rsync with absolute paths and excluding subpaths

Say I have the following structure on path origin_path origin_path/X=1/A/... origin_path/X=1/B/... origin_path/X=1/C/... ... origin_path/X=2/A/... origin_path/X=2/B/... origin_path/X=2/C/... ... ... ...
0
votes
0answers
62 views

Is it possible to download a file locally when I've already ssh'ed into a remote computer? [duplicate]

Possible Duplicate: SSH easily copy file to local system Most of the remote download commands seem to involve commands like scp, which are usually used without ssh'ing first (if I recall ...
4
votes
4answers
6k views

Backup of LVM2 logical volume

I'd like to make backup on external drive of LVM2 logical volume in dd manner. Approach I consider is to make lv on extranl drive with identical size copy with dd (Please let me know if you see ...
5
votes
2answers
2k views

Mount ubuntu one or similar web storage services without their clients

I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general ...
2
votes
0answers
571 views

To what does the byte sequence in this kerneloops (syslogd@hostname) message refer?

Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.165672] Oops: 0000 [#1] SMP Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.169607] Stack: Message from ...
5
votes
1answer
1k views

playing a sound/notification in finch over ssh on my local machine

So I have finch, a command line chat client (think pidgin) running on a remote machine that I ssh into. finch has notification sounds and can run a command when certain events occur, letting you pass ...
1
vote
1answer
2k views

Run expect inside a bash script as another user

I am writing a bash script to install some small software I'm developing. That script is run with sudo (as root), but some of the commands that are executed by the script need (or should be) run with ...
4
votes
2answers
518 views

LVM2: lvcreate -L - What does 's', 'S' suffix stand for?

man lvcreate - Am I blind or there is no description for "sS" ? (I can't find on redhat manual pages as well) -L, --size LogicalVolumeSize[bBsSkKmMgGtTpPeE] Gives the size to ...
3
votes
1answer
8k views

SSH asking for passphrase on public key with no passphrase set

I have been using public key authentication on my servers for a while now, but I am experiencing issues on a new 'client' trying to connect to github. I have read many threads to verify that my ...
5
votes
1answer
860 views

Adding files to initrd makes linux not be able to read it

I'm using clonezilla-1.2.12 and need to add the Broadcom firmware to the initrd so it can netboot. (clonezilla is debian-based and debian no longer includes the firmware blobs as they're non-free. ...
0
votes
1answer
413 views

SSH, FTP, HTTP stopped working

I'm facing a problem with a Linux webserver of mine. It's a VM Ubuntu 10.4 LTS which runs a Wordpress network site. Out of the blue with no changes being made on the back end, ftp has stopped as has ...
1
vote
3answers
2k views

Qemu terminating on signal x from pid xxxx

I've been all over google and back and I cannot locate any information on this particular error. qemu: terminating on signal 15 from pid 3111 I'm using Virtualizor to launch new KVM VPS on my ...
0
votes
1answer
208 views

How does one properly use the nautilus & command in a graphical SSH into debian 6.0.4?

Last login: Wed Mar 21 20:10:33 2012 from astrolab17.astro.washington.edu 1 td% nautilus & [1] 9847 2 td% Initializing nautilus-gdu extension And then I quit nautilus. The thing is, though, ...
10
votes
2answers
3k views

How to find out the file offset of an opened file?

My problem is that with lsof -p pid I can find out the list of opened file of a process whose process id is pid. But is there a way to find out the file offset of each accessed file ? Please give me ...
1
vote
2answers
5k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...
4
votes
2answers
612 views

is it possible to send the remote connector ip via netcat?

Actually I want to make something like ifconfig.me functionality but only for my internal network. I see it the way smth on server listens some port and send ip of connected remote machine. Seems nc ...
15
votes
3answers
37k views

CIFS vs SAMBA, What are the differences

What are the differences between CIFS and SAMBA? When would you use one over the other? Are there any performance differences between the two?
8
votes
1answer
589 views

Deduplication on partition level

What are available solutions for block level or more detailed deduplication ? There are file-based ones - with "Copy-On-Write" approach. I'm looking for block level "copy-on-write", so I could ...
1
vote
1answer
957 views

iPod Nano 6G on Linux

I see that Apple no longer supports libgpod for the iPhone4/iPod Touch 4 and Nano 6G. I see also that the system of databases for those new device has to be the same. I found many videos where you ...
2
votes
5answers
666 views

Is it possible to reference the most recently modified file in a command line argument?

I frequently download PDF files with heinous numeric file names from my browser. These automatically go into ~/Downloads. Ideally I would like to just be able to open these files with: evince "the ...
4
votes
4answers
625 views

Get input from editor (vim/nano/emacs/textmate?)

I was just curious if there's a way to get input not from StdIn but from $EDITOR - be it vim, nano, emacs or even a non-command-line-editor (MacVim/TextMate). What are the ...
2
votes
1answer
213 views

What is the smallest LVM2 logical volume unit?

Could you ensure me that minimal LVM2 size Unit is one extent to which all sizes are rounded up ? Is 4MiB the default size of extent for LVM2 ? Can it be configurable or is it the only size ? Small ...
4
votes
2answers
677 views

How to check if `wget` supports a certain feature programatically?

Is there a way to programatically detect if the currently installed wget supports a given feature, for example, IRI support? I’m asking because I’d like to add these lines to my .wgetrc: # Use UTF-8 ...
8
votes
3answers
746 views

Escape sequences in output of script called from ncurses application

I'm currently running mcabber as my Jabber client (which uses ncurses) in a tmux session on my homeserver. Locally i run iTerm2 as a terminal emulator, which supports the triggering of growl ...
3
votes
1answer
655 views

Using vim/gvim as editor for Thunderbird

Is there a way to use vim/gvim as an editor for thunderbird? There was an add-on for it but it is now very out of date.
1
vote
1answer
205 views

rpm and deb fileformat are blocked by my ISP. How to install software?

I have a very peculiar problem, Just be patient with what I am saying and then see what all suggestion you can give me. I have situation where my ISP has blocked .rpm and .deb files to be downloaded. ...
1
vote
1answer
393 views

merge txt files with similar name

I have thousands of .txt files in directory. Their names are: ch14.ta_20452_206652_15-84.txt ch14.ta_20452_206652_786-14.txt ch14.ta_20452_206652_77-85.txt ch14.ta_20452_206652_81-78.txt ...
2
votes
3answers
737 views

Recovery of data on raid5+lvm reiserfs partition, after raid5 problems

I've got a server with 3 sata hard drives. Each has 2 partitions: one small is part of /dev/md0, a raid1 array (/boot), rest is part of a raid5 array (/dev/md1), which is an lvm physical volume. ...
7
votes
3answers
5k views

Is there a command to see where a disk is mounted?

Is there a simple command that takes a disk's device node as input, and tells me where (and whether) that disk is mounted? Is it possible to get the mount point by itself, so I can pass it to another ...
0
votes
1answer
123 views

Is it possible to run ganglias gmetad and ganglia-monitor not demonized on debian?

I wonder is it possible to run ganglias gmetad and ganglia-monitor not demonized, under my own user (me, sudo) on debian? Because while gmond.conf contains something like demonize option I see no such ...
2
votes
2answers
399 views

Swap alt and windows key except when using an external keyboard

On my laptop the Alt and Windows keys are in the opposite positions that I'd prefer them in. Swapping them is fairly easy. However, my external (USB) keyboard has the Alt and Windows keys in the order ...
1
vote
1answer
3k views

How to configurate ganglia-monitor on a single debian machine?

Here is what I currently have online, as you can see there is no information about my debian server. (While was installing I tried to follow next instructions) What I have changed in default ...
2
votes
1answer
284 views

Bash Script Detects Key Down At Boot

I want to customize my run level scripts based upon a key combo pressed at boot. How to I test for key presses as early as possible from boot? Do I need to do something special, like for example: ...
1
vote
0answers
70 views

Strange problem with synchronized clipboards

I'm using Parcellite with synchronized clipboards and I ran into a funny problem: I can't use clipboard for renaming a file with Nautilus. Anytime I press F2 the basename of the file gets selected ...
6
votes
2answers
2k views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
8
votes
3answers
8k views

64-bit Linux doesn't recognize my RAM between 3 and 32 GB

My problems were caused by a faulty memory module and quite possibly a broken kernel binary. I just now booted my PC with basically brand new hardware. I've been running Debian 6.0 AMD64 before, ...
5
votes
1answer
1k views

How does GNOME Shell Extensions work?

I have switched over to GNOME Shell, and use GNOME Shell Extensions to tweak the looks and functionality of my distribution. However, I have not yet found out what technology is used to install, ...
0
votes
1answer
301 views

Automount cdrom when accessed via NFS

I am currently running CentOS 5 on a server that has a built-in CDROM drive. I currently have a setup where /media/cdrom is automatically mounted by autofs as needed and I am exporting /media/cdrom ...
2
votes
2answers
2k views

Recursively replace string in files

I want to replace the backslash in the string page_path\example_filename.txt with a forward slash. I also want to be able to run this on a large file system and have it recursively search all ...
11
votes
2answers
731 views

What is the difference between : and true?

In bash: $ type : : is a shell builtin $ type true true is a shell builtin Looks like they are the same, but they don't give the same system trace: $ strace : strace: :: command not found $ strace ...
0
votes
2answers
4k views

Cheap thin client setup with Puppy linux?

Looking through the Puppylinux pages today, I wondered if it could be used to setup a low-cost thin client, that booted from a USB flashdrive or something. Considering these points: Low speed CPU ...
-4
votes
2answers
281 views

What is the difference between root and chroot?

Is there any different between root and chroot in Linux? Can anyone please explain them?
0
votes
4answers
15k views

Is there a difference between sudo su - root and sudo -u root -H /bin/bash?

Like title says, is there a difference between these two commands : sudo su - root sudo -u root -H /bin/bash I'm using GNU/Linux, if that makes a difference.
1
vote
2answers
297 views

Which Linux distribution is suitable for serverside development and somewhat easy to use?

I need to setup a Linux-based server which is going to be the backend for our web services. This is what I need: (In order of importance) A GUI to manage applications and files It would be running ...
2
votes
1answer
271 views

dm-crypt and LUKS password rotation

How do you protect the master key, and distribute multiple passwords for admin access? Is there a 3rd party user management tool or is this native?
1
vote
3answers
843 views

How to disable password prompting for automatic updates on Red Hat

Basically, I have the opposite problem of this guy. I would like my updates to be installed in a transparent way : I'm tired of entering my password every time. I'm running on Red Hat (6.2 to be ...
2
votes
2answers
11k views

Clearing DNS Cache in Linux

I work on Linux on my laptop, I could not access a particular website using the URL, so I used sudo /etc/init.d/nscd restart in order to clear the DNS cache, but the URL is still throws 'Server Not ...
1
vote
3answers
1k views

Join, filling in missing key values

I have two files having a primary key value as a first field, and a corresponding value(s) as the remaining fields, and some primary key values are missing in one of them but are present in another, ...
2
votes
1answer
7k views

C++ compile in Arch Linux with no g++ package in repositories

I wanna compile a C++ program in Arch Linux, but there's no "g++" package as there is in Ubuntu repositories for example. Using -x too won't work. like this: gcc -x c++ -o myprog myprog.cpp
5
votes
3answers
3k views

Is the Solaris libc based on the GNU libc?

On Solaris: basename.c #include <stdio.h> #include <libgen.h> int main(int argc, char* argv[]) { int len = strlen(argv[0]); char *bsname = basename(argv[0]); printf("%s\n", ...

15 30 50 per page