Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

4
votes
7answers
24k views

How to unzip files via an FTP connection?

I have connected to my remote server via FTP and I got a directory listing. I have few zip files in the list. Is it possible to unzip the file (Ex: test.zip)?. If yes, what is the command?
1
vote
0answers
106 views

Extend Volume Group for PE

I'm trying to extend a volume group in CentOS and it's being mean. I've tried for about two hours... no luck. Anyway, I need to extend VolGroup00 so it's not reporting 0 free PE. There's definitely ...
4
votes
1answer
462 views

How do I set up a virtual host?

My router redirects port 80 to port 8080. My router works fine and my domain name is routed properly. This is my virtual hosts file: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot ...
0
votes
1answer
380 views

How do I save log files to another partition?

I have the following : uname -a : 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
0
votes
3answers
4k views

I configured openvpn with elevated rights but now I am an ordinary user. How can I correct this issue?

checking tap-windows.h presence... no checking for tap-windows.h... no checking whether TUNSETPERSIST is declared... yes checking for setcon in -lselinux... yes checking for pam_start in -lpam... no ...
1
vote
2answers
4k views

How to find PID's user name in linux

Can you help me to find the PID's user name, Some time my server got high load. When i top -c, I cannot even find the PID's user name who / which is causing load on the server.
2
votes
1answer
3k views

removing symbol link with too many levels of symbolic links

I created a link by the command sudo ln -s /etc/Sublime\ Text/ /usr/bin/subl Now I am trying to remove it with sudo rm -r /usr/bin/subl/ But it is telling me rm: cannot remove ...
1
vote
1answer
210 views

Limit CPU usage KSH script

I have a KSH crawler script that crawls filesystems on my network, and i would like to limit it to 25% cpu usage, so it does not impact running systems. I am currently using nice but when i run SED, ...
0
votes
1answer
231 views

How can I find two words in /dev/random?

How can I find two words in /dev/random using terminal? I tried dd if=/dev/random bs=2 && ( grep 'foo' || grep 'woo' ) but did not work: what is wrong?
0
votes
1answer
574 views

Ubuntu, User Accounts messed up

I need to fix Ubuntu Accounts somehow but I don't really see how it could be done. The problem is: files /etc/passwd and /etc/hostname and /etc/hosts where changed. /etc/passwd Before ...
1
vote
1answer
68 views

Linux RHEL : Making disk image efficiently

I have a linux box having RHEL. Its disk (hda1) is having free space of about 25GB. I have an another disk (hda2) which is of 250GB having another RHEL instance, it's partitioned for 200GB. Data on ...
1
vote
1answer
517 views

How to automaticaly mount luks-partition only when disk is plugged in

I have the following scenario: I want to automatically backup some data from my Laptop(Fedora Core 17) to a external encrypted(luks) hard disk. The disk can be opened by a key file, which lies on the ...
3
votes
1answer
3k views

How do I make crontab generate a unique log each time it runs a job?

Here is the crontab job /usr/local/bin/python2.7 /home/scripts/script.py >> /home/scripts/logs/log.log 2>&1 How do I generate a new log every time the job is run? I am cool with ...
4
votes
2answers
4k views

Cut (smart edit) .mts (AVCHD Progressive) files un Ubuntu Lucid

I have a bunch of .mts files containing AVCHD Progressive video recorded by a Panasonic camera, and I need software on Ubuntu Lucid with which I can remove the boring parts, and concatenate the ...
0
votes
1answer
95 views

How to switch to another window when Ctrl + B does not work for tmux?

As we all know tmux is quite nice tool, but there are some scenarios that Ctrl+B cannot be used. For example, when I sshd to server A and now I connect to A's tmux pty. So Ctrl+B is captured by ...
23
votes
5answers
2k views

Why doesn't Gzip compression eliminate duplicate chunks of data?

I just did a little experiment where I created a tar archive with duplicate files to see if it would be compressed, to my awe, it was not! Details follow (results indented for reading pleasure): $ dd ...
1
vote
1answer
122 views

NAS Drive Not Correctly Reporting Files, Directories from a DOS/Command prompt in WIN7

I have an NAS drive on my network, and it works just fine. I can access every file on it with WIN7. However, when I go to a command prompt and perform a directory command, the command reports 0 ...
0
votes
1answer
69 views

Get the memory usage of the actual terminal

I'm trying to get the proceses of the actual terminal which are blocked, running, or ready for execution. I cant figure out to use ps or top... Can someone tell where to get that info from?
1
vote
1answer
971 views

Linux - stopping kernel module from automatically loading

I am using Angstrom distribution on my Overo board, and I have a little problem. Sometimes kernel modules that are used to handle my camera are loaded at boot time, sometimes not. I am wondering, is ...
6
votes
3answers
2k views

From GRUB2, boot an ISO in an LVM2 logical volume

tl;dr - Is it possible to boot from a .iso file that is located in an unencrypted lmv2 logical volume? How? I'm trying to set this up in a VirtualBox VM before I do it for real with my laptop. I have ...
3
votes
3answers
3k views

eth0 not starting on boot after Virtualbox clone

After cloning my CentOS VM in Virtualbox (I used the Reinitialize the MAC address of all network cards option), the original and the clone VM both now has 127.0.0.1 as their IP. Anyone knows how to ...
3
votes
3answers
483 views

Linux Filesystem which must not be unmounted

I've got a raspberry pi where I want to connect an external HDD. Now I'm thinking which filesystem I will use. The problem is that the raspberry pi will be shut down from time to time without ...
1
vote
1answer
6k views

Is there no SMB/CIFS client component in Windows?

I know that Windows acts as an SMB/CIFS server by default. So one can easily access Windows files from another machine in the network with a proper SMB client. But what if I want to do the opposite ...
1
vote
1answer
90 views

What directories should i backup on a Linux server?

This is related to this question; however different as this is a server. I use crashplan and grabbed /home, /root, and /etc; however upon an audit I determined that a lot of my configuration files ...
1
vote
2answers
376 views

Add path from remote ssh server

I have a remote SSH server that holds the exe file (at /usr/bin/linux). I want to run the exe files from the server on images on my local hosts, i.e. add me@remote:usr/bin/linux to my local path. How ...
15
votes
4answers
18k views

I want to change DPI with Imagemagick without changing the actual byte-size of the image data

I feel so horribly sorry that I have to ask this question here, but after hours of researching how to do an actually very simple task I'm still failing... In Gimp there is a very simple way to do ...
1
vote
2answers
106 views

FIND operands and order of arguments

I have a find command that I am unsure if I am placing my arguments correctly. find / -xdev -size -size -262144000c -o -type d \( -name .snapshot -o -name man -o -name Man -o -fstype mvfs \) -prune ...
1
vote
2answers
3k views

Fast way to check disk usage in linux?

I want to find out the disk usage of /home however it's too slow, I get timeout sometimes (SSH) because it has lots of files. I am using du -sh /home and I was wondering if there's a faster way?
0
votes
0answers
117 views

Is download speed in linux greater than in windows, even in a vm? really?

Weird! Any explanation? Is it due to some QoS related bandwidth reservation?
0
votes
1answer
1k views

Multiple connection attempts per minute on udp port 1024 - What might be the cause?

Here's a small sample from my firewall log: Sep 24 14:51:04 server Shorewall:net2fw:DROP: IN=eth0 OUT= MAC=44:87:fc:8a:f2:c3:00:04:ed:dd:e6:4a:08:00 SRC=213.5.110.105 DST=10.1.1.3 LEN=131 TOS=00 ...
2
votes
2answers
7k views

How do I get my Nvidia monitor position settings (in Linux) to persist after a restart?

I have two monitors, and I run them both in Linux using the proprietary Nvidia drivers with "TwinView". I just installed Linux Mint 13, and since the install after every reboot my monitors come up in ...
3
votes
3answers
7k views

Package temperature above threshold, cpu clock throttled

I am running 64 bit Ubuntu 11.10 on an i7 with 8gigs of ram. I thought of putting this on askubuntu.com but decided that maybe the question has a much broader appeal. I have the following error ...
4
votes
1answer
462 views

Increasing Screen Resolution to more than limit and scaling to origional

I have a laptop, with Screen Resolution - 1366x768 (most common) - I want to increase it further to 1600x900 (or higher), in the same ratio. I want to scale the higher resolution on my current screen ...
0
votes
1answer
254 views

How much can less utility buffer?

I'm curious. You can use less to read through a 100 GB file with no problem. But if you cat a 100 GB file into less, I'm thinking that less must buffer the whole file because there is a pipe (was it ...
1
vote
1answer
679 views

Links cookie location

Where does the Linux command line web browser links store its cookies? I'm writing a program that waits for a cookie from one of my websites to be saved before continuing with its execution. I believe ...
3
votes
1answer
567 views

Crop display size in linux [duplicate]

Possible Duplicate: Limit video output to a section of a display and leave the rest blank My laptop has a slightly damaged lcd - it has a black strip on the right that reduces the working ...
0
votes
1answer
290 views

Use outgoing port 80 to connect to another remote port, without root privileges

If all outgoing ports are blocked except 80, is there a way to use port 80 to connect to a remote machine's port other than 80? I do not have root privileges on the system.
0
votes
0answers
803 views

How to disable write cache for all external drives on Linux?

I want to disable it on external drives to ensure that the data is really copied/written to the drive, write cache makes it difficult for me to decide whether the data is already copied/written or ...
0
votes
1answer
411 views

Copy a single file from main directory recursively across all directories within

I'm on a dedicated server using CentOS, and on this server I have 5000+ directories in one main directory. In the main directory I have an index.php. I would like to copy this index.php into all ...
6
votes
1answer
729 views

How to automount ntfs partation on raid0 in arch linux with systemd

Recently, I switched from initscript to systemd followed this wiki, and I got error like this during boot: Job dev-md126p5.device/start timed out This is my fstab: /dev/mapper/VGLinux-lvroot / ...
1
vote
1answer
657 views

Bash script: Find a file inside specific folder in linux

I want to write a script to find all executable files under a specific directory which I want to pass in parameter. I am able to find all executable files using a predefined directory but I want to be ...
0
votes
1answer
709 views

Important data lost in Gnote

Gnote just crashed and erased a good part of a note which wasn't oppened when the crash occured. I can't undo this change so it seems to be a permanent loss... How can I recover it and make sure it ...
2
votes
2answers
2k views

Creating a symbolic link not in the working directory

the command usually works like a charm but this one ln -si GIT/Settings/session ./.mozilla/firefox/foo.default/ just creates some kind of broken link shown as a file. Why is that? Even sudo ln -fs ...
5
votes
2answers
121 views

Install Ubuntu and run in Windows or through normal boot [duplicate]

Possible Duplicate: Booting into a Virtual Machine from a physical installation I like and use Windows 7 more than anything. But there is times when I want to run Ubuntu or some other ...
2
votes
1answer
102 views

ATL + '.' like shortcut to get previous command parameter

I use ALT. very frequently on bash. But some time I go one past the parameter I want . So I was looking for a way to call the next parameter from the history.
4
votes
2answers
153 views

What can I do to give some more love and disk space to my database on Ubuntu?

I'm new to linux. I've deployed a db to ubuntu server on amazon and found out I'm low on disk space. did df (see below) - and found out that I'm 89% capacity on one file system, but less on others. ...
1
vote
3answers
612 views

Why did I fail to build ctags for vim?

I got the latest, unreleased version of the ctags source code from the svn repository using svn co https://ctags.svn.sourceforge.net/svnroot/ctags I ran ./configure, which failed with the following ...
0
votes
0answers
296 views

How to automount ntfs partation on raid0 in arch linux with systemd

Recently, I switched from initscript to systemd followed this wiki, and I got error like this during boot: Job dev-md126p5.device/start timed out This is my fstab: /dev/mapper/VGLinux-lvroot / ...
0
votes
1answer
2k views

Can i have a splash screen while loading linux mint

My Linux Mint loads with a black screen. Can I replace this with a splash screen?
0
votes
1answer
97 views

How can I delete a specific file from a set of results using the find command in Linux?

I have the following command that lists all files with the extension doc, docx, etc. find . -maxdepth 1 -iname \*.doc\* The command returns numerous files some of which I would like to delete. So ...