-1
votes
1answer
46 views

How to create a custom Linux distribution? [on hold]

Can any one tell me the easiest way to create a system with live cd with installing function. Which can install backtrack all tools?? I need to create a custom boot animation and everything!
1
vote
1answer
60 views

How to check for a folder inside a particular folder in shell script?

I am working on a shell script and python script as well. Python script is passing certain parameters to my shell script and then I am using those parameters in my shell script. Below is my shell ...
0
votes
0answers
14 views

How to use UPSTART feature of ubuntu to restart the python script but not as root?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
0
votes
1answer
29 views

Which Desktop Linux version can run decently on For P4 & 750MB Ram

I just installed Ubunta 13.10 on an old P4 with 750MB Ram, but the system is running too slow to be used for anything. I had XP running on it and worked fast enough to use, but I decided I wanted to ...
0
votes
0answers
19 views

Ubuntu + CISCO VPNC CLIENT for my new ubuntu version (32 bit )

I have newest Ubuntu Linux version 10.04.4 (32 bit ) I want to install Cisco VPNC client on this linux machines in order to connect to other customers I little confuse , which VPNC cisco version ...
1
vote
0answers
19 views

pdf viewer for text documents saved as images — bad rendering

The situation I have in mind is a .pdf document obtained from a scan, so that many readers view it as an image (as opposed to text) and render it badly (see the screenshot below) My personal user ...
-2
votes
0answers
13 views

Changed permissions on /usr/lib [duplicate]

I changed permission on /usr/lib by doing a recursive call to chown by using sudo. And after that, the system has just been weird. I don't have any network/audio interfaces working; pretty much the ...
0
votes
1answer
51 views

Recursively delete hidden directory & its files?

I want to delete all hidden directoris from a directory and its sub-directory. I also use rm -rf .directory_name this command is iterative command I want to a recursive command. Please anybody help ...
0
votes
1answer
26 views

Getting black controls when running linux on vmware on windows

I want to run ubuntu 12.04 LTS. I want to put the graphics in it, but when I open it, I get this. I used this command sudo apt-get install --no-install-recommends ubuntu-desktop to put the desktop ...
3
votes
1answer
26 views

Updating kernel versions when booting from rEFInd

I'm booting from EFI using the awesome rEFInd bootloader. I've so far had to configure boot myself by manually copying over my EFI-compatible linux boot image to my EFI partition and writing a ...
0
votes
0answers
32 views

Why does my USB device not get recognized by Ubuntu?

I seem to have a problem that no else appears to have encountered before (at least a couple of hours Googling has shown this to be the case). I am running Ubuntu 12.04. I plug in the device (Linksys ...
2
votes
2answers
31 views

git diff - listen for key press

I want to run the following commands: git diff git commit git commit will open the default editor to edit the commit message. But if the difference if not too long it will close immediately. How ...
0
votes
0answers
24 views

SSH into servers each with different subdomain over one IP [duplicate]

I have several Ubuntu VMs (bridged) behind a router that I want to access remotely. I've also got an nginx reverse proxy that handles the port 80 traffic like this: sub1.example.com -> server1 via ...
1
vote
1answer
55 views

Not able to copy multiple files using rsync 3.0.9 version?

I am trying to copy two files using rsync from a machineB but somehow it always copies only one file but not the second file - Here is the syntax I am using - rsync -avz ...
2
votes
3answers
148 views

How to use rsync or scp to efficiently copy the files from machineB and machineC to machineA?

I am running my shell script on machineA which copies the files from machineB and machineC to machineA. If the file is not there in machineB, then it should be there in machineC for sure. So I will ...
1
vote
1answer
36 views

“sudo service uwsgi restart” returns [fail] however uwsgi logs show processes have been created and python app is running

I'm running a local vagrant VM, Ubuntu 13.10 with nginx reverse proxying to uwsgi. Running sudo /etc/init.d/nginx status returns * nginx is running However running sudo /etc/init.d/uwsgi ...
1
vote
1answer
55 views

how to change partitioning?

I have a hdd with /, /home. I just got new SSD and I need to change my partitions without any reinstalling. I would like to create a separate /var partition (which is currently under /) and leave it ...
1
vote
1answer
90 views

syntax error in conditional expression while executing the shell script?

I am working on a project in which I need to make a url call to one of my server from the bash shell script.. http://hostname.domain.com:8080/beat After hitting the above url, I will be getting the ...
2
votes
1answer
62 views

Run 64 bit app on 32 bit system (Ubuntu)

All the questions I've seen refer to running a 32 bit app in a 64 bit system. I'm running Ubuntu 12.04 32 bit (actually elementary OS Luna, which is based on it) and I'm trying to run a 64 bit app ...
1
vote
1answer
15 views

Changing the PATH variable for a process running as a user on Linux

I have a server application which I start using an init.d script and run as a user: su $USER -c "${PLAY} start ${APPLICATION_PATH} --%prod-test >/dev/null" The application needs ffmpeg, which is ...
2
votes
0answers
159 views

Touchpad not recognized on linux (ASUS R751LB)

I have just bought a brand new laptop. Unfortunately, touchpad doesn't work on any linux distribution (tried mint Ubuntu 12.04, Ubuntu 14.04, Mint 14, Mint 16, also Mint 16 with recent 3.13.5 kernel). ...
1
vote
0answers
31 views

Ulimits and pam modules

Can you explain me the relation of ulimit setting on a proccess and line session required pam_limits.so in pam module. In wich modules i really require this line? I have this line in pam.d/su ...
2
votes
1answer
33 views

Load application with module load and specify a different name from the default [closed]

I am using my local workstation to run applications stored on our local cluster. To load and run an application, I normally use: module load xxx However, there is a an application on my computer ...
2
votes
0answers
46 views

Vagrant-lxc container not starting

Firstly I'd like to say that I'm new to LXC and I may have some problems getting the right idea of how the things should work. The thing is I'm trying to start a previously download vagrant-lxc box ...
1
vote
1answer
42 views

Ubuntu load and hang on live USB [closed]

I seem to have run into some difficulties trying to install Linux alongside my USB. I made a bootable USB stick and done all the UEFI firmware settings from which I disabled fast boot. Now when I run ...
0
votes
3answers
158 views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
2
votes
1answer
37 views

chmod 600 fails silently

Here is what happens: $ chmod 600 foobar.txt $ ls -l total 1 -rwx------ 0 sampablokuper sampablokuper 13 Feb 19 21:00 foobar.txt Why is the last line not reading as follows? -rw------- 0 ...
1
vote
1answer
56 views

Debian/Ubuntu:How to compile a Linux kernel on one machine and use on other machines (same architecture)

Debian/Ubuntu: How to compile a Linux kernel on one machine and use on other machines (same architecture)? I know how to do it on the same machine. But to use a compiled kernel other machines, is ...
0
votes
0answers
51 views

Error when installing Oracle VirtualBox on Ubuntu 12.04

I got the following error and couldn't find any solution on Google: apt-get -f install VirtualBox-4.3 dpkg: error processing /var/cache/apt/archives/virtualbo ...
0
votes
1answer
118 views

Playing or converting .dv4 files in Linux

I need to find a way to playback a number of .dv4 files on Ubuntu 12.04 and Fedora 20, possibly after having converted them to a more conventional format. So far I have managed to convert the files ...
3
votes
3answers
114 views

How to parallelize the for loop while scp the files?

I am running my below shell script from machineA which is copying the files machineB and machineC into machineA. If the files are not there in machineB, then it should be there in machineC. The below ...
4
votes
1answer
52 views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...
1
vote
1answer
197 views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
0
votes
1answer
54 views

Questions about behaviour of running LiveCD Linux after unmounting a CD-ROM

Could anyone explain what happens in system after unplugging CD-ROM during working with LiveCD session? Suppose that I'm using Ubuntu LiveCD and suddenly by accident the CD-ROM disconnect for a ...
0
votes
2answers
25 views

Tool to create a bad physical location report on disk

I am in need of a tool that would run on an Ubuntu system that would be able to report the following: Bad physical locations on a disk (cylinders, sectors) Files that are affected by these bad ...
1
vote
1answer
212 views

Log from oom killer

I'm running a virtual machine at a provider where you pay for everything you use (CPU, memory, disk IO, bandwidth, etc). Currently my machine has 512MB ram and 1GB swap area. The kernel version is ...
0
votes
0answers
34 views

MBR to GPT Conversion of existing RHEL 6 system

I have got RHEL 6 running on MBR (Master Boot Record), management is done using fdisk and parted commands. I would like to know the steps or procedure to convert existing system to GPT (GUID Partition ...
0
votes
1answer
19 views

Zenity refuses to work in background

I'm trying to create a background bash script which creates a popup in certain circumstances, however, my code only works when run manually in a terminal (e.g. not in the background). I've tried ...
0
votes
1answer
45 views

Similar to solaries prstart -t command in linux

What is a similar command in Linux for the command from Solaris: prstat -t I am interested to get user vice resource consumption (i.e. memory and processor). It gives NPROC UserName SWAP RSS ...
1
vote
2answers
57 views

Download the file from either of two machines using SCP?

I have a below bash shell script which I am running from machineA and that shell script will try to download a tar file from either of these two machines machineB and machineC and put it in ...
1
vote
1answer
48 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
0
votes
0answers
177 views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
2
votes
1answer
101 views

Send command to detached screen and get the output

I've been searching to find a way to send a command to a detached screen session. So far, so good. This is what I've come up with: $ screen -S test -p 0 -X stuff 'command\n' This command works as ...
-3
votes
3answers
105 views

Configure eth1 to stop using dhcp [closed]

How do I configure eth1 (via terminal commands) to stop using DHCP. That is, if I had the ability to use the GUI, I would select the MANUAL setting.
0
votes
0answers
23 views

How to restore desktop configs after an intallation

I have recently installed PgAdminIII and Geany via Ubuntu Software Center, but this changed my desktop configurations. It no longer looks like it did. I am using Pinguy OS 12.10 based on Ubuntu ...
1
vote
0answers
43 views

Linux Source Routing with one gateway

I've a Linux box which have IP 10.1.1.100/24 on eth0 with gateway 10.1.1.1 and as well as 20.1.1.1 on eth0:1 and 20.1.1.2 on eth0:2 . Is there any way that I could communicate to a remote machine ...
0
votes
2answers
105 views

Battery full notification

I am using a Linux distribution, I didn't get any notification even after the battery is full. Is there any custom script to run battery charge status and output a sound notification when the ...
2
votes
2answers
80 views

Reasons for rsync NOT transfering all files?

Does anyone know common reasons for such a large deficit difference in the number of files transfered when backing up my LARGE home directory using rsync on a ubuntu 10.04 LTS setup.. machine is ...
3
votes
2answers
115 views

How to control the time that users spend on

I need a solution that allows me to control the time that each user spend on the computer, excluding idle time (some kind of parental control). I've tried timekpr, but it doesn't work on Ubuntu 13.10. ...
0
votes
1answer
60 views

Install Arch Linux alongside Ubuntu 12.04

I have a windows 8.1 on which I installed Ubuntu 12.04 (dual OS). Now I also want to install Arch Linux alongside windows and ubuntu. Please tell me the how to do this on Ubuntu. I have a gparted ...