0
votes
0answers
297 views

Is swapping the cause of high IO on my box?

I'm running a LAMP stack on an Amazon EC2 micro instance with 616 MB of memory. This seems sufficient to be able to run a few small websites with Apache, MySQL and PHP. I have one Wordpress site ...
0
votes
1answer
188 views

I need Control loop help -

this is what I figured out in sorting an Array that has already had it's elements declared type int #!/bin/bash #sorting an "predeclared" array typeset -i store BigNum let store=0 BigNum=0 ...
2
votes
1answer
843 views

pptpd dead but subsys locked? on cent os

i install point to point tunnel (PPTP) in my VPS. (Cent OS 6 64 Bit) everything fine after reboot the PPTP not worked client side. the pptpd status shows " pptpd dead but subsys locked ". how to ...
3
votes
0answers
716 views

Corosync/Pacemaker cluster loss of synchronization

I'm facing a problem with the corosync and pacemaker cluster software. I've two virtual nodes (Scientific Linux 6.4) and corosync/pacemaker installed on them: corosync-1.4.1-17.el6.x86_64 ...
11
votes
2answers
8k views

Add a path in $PATH globally for every user

Do we have anyway to add a path globally so that each user gets it in $PATH. I want to add path of ANT so that each user doesn't need to add it in his $PATH variable.
2
votes
1answer
372 views

Are double “if” statements allowed in shell scripts

In C language we can use if(a==b&&a==c) we can make a double and statement is that possible in unix, to be specific in a shell script?
2
votes
1answer
93 views

awk - streamline this script

I have a text file. On odd number lines, it gives new dimensions of key elements of a building that I'm constructing. On even number lines, the old dimensions are given. My aim is to process this ...
2
votes
2answers
4k views

Use SSH to connect to a Windows OS in Linux [closed]

In Windows machine, I installed Ubuntu in my Oracle VM VirtualBox. In Ubuntu, if I want to connect to another Linux machine: $ ssh username@ip But if I want to connect to my Windows machine, that ...
1
vote
2answers
6k views

What is the difference between Unix, Linux, BSD and GNU? [closed]

What is the very fundamental difference between Unix, Linux, BSD and GNU? Unix was the earliest OS, so the term 'Unix like' is understandable, since they have kernel, file system structure, most of ...
1
vote
2answers
240 views

How do I load modules at startup in a certain order?

I have a group of modules that I need to be loaded at startup. I've followed the documentation for loading a module however I need load these modules in a certain order. I've tried creating a bash ...
8
votes
2answers
345 views

How can my HDD swap without a swap partition?

I have no swap partition on my disk because I prefer having the OOM reaper kill anything it wants quickly rather than having to wait 10 minutes for my swap partition to get filled + 5 other minutes to ...
4
votes
4answers
986 views

How to tail a file over the network?

How can I tail -f a file that over the network, say at \\192.168.2.130\public\print.log? I have tried the variations of the following: tail -f //192.168.2.130/Southpaw/Tactic/print.log which erred ...
1
vote
1answer
333 views

Windows / Unix Share

I have a NFS + SMB share on my Win server called 'media' (same path). Both shares are read-only for guests - the Win server add files and both protcols can read them. Now things getting more ...
0
votes
2answers
2k views

Backintime Linux desktop backup to a Synology DiskStation

Backintime doesn't support plain SFTP backends so it does not seem to be easy to setup a remote backup to a Synology Diskstation (in my case a DS214 with DSM 4.3). Backintime supports SSH/rsync based ...
0
votes
2answers
93 views

How to migrate SVN to git [closed]

Can someone tell me the steps on how to migrate svn to git? I have repositories in svn and I want to move all them to git without the loss of data.
4
votes
1answer
1k views

missed X-Spam- headers for all messages in exim4 + spamassassin

I'm trying to configure spam filter on VPS Debian Squeeze, exim4-heavy + spamassassin and dovecot. Exim version 4.72, SpamAssassin version 3.3.1, Perl version 5.10.1 And I have an irritating problem ...
3
votes
1answer
134 views

zsh completion and unknow bzr commands

ZSH's Bazaar completion does not offer any expansion/completion when it does not know the bzr subcommand I am using. In my case, I use bzr qlog but ZSH's /usr/share/zsh/5.0.2/functions/_bzr does not ...
1
vote
2answers
908 views

When removing a Debian package, how can I also remove Python *.pyc files?

I have a Debian package say XYZ.deb which copies some file on installation. As per Debian package policy on package uninstallation only those files will be removed which were copied during ...
1
vote
1answer
9k views

Running bash script gives `No such file or directory` when run with path [closed]

I have bash script aaa.sh that runs fine when I run it from the current directory. But if I try to run using the full path /home/vik/Projects/updd/aaa.sh, my system tells me No such file or directory. ...
0
votes
1answer
196 views

Looking for economical ARM based board for learning Linux [closed]

I want to learn embedded linux and porting. I am planning to buy a Respberry PI which is based on 700 MHz Low Power ARM1176JZ-F Applications Processor, with 512MB SDRAM. this is the cheapest board ...
0
votes
2answers
277 views

Hard disk power management with image toggling in display

We have a system in which we almost toggle some display data in the screen 24 hours x 7 days a week. Since our application runs every day, we see some hard disk failures in the field. Unfortunately, ...
2
votes
0answers
154 views

SSH + Certificate Authority server?

Is it possible to setup SSH (via pam for instance) to check the public key of the connecting client against a CA server? I've tried with gnupg (via gpg-agent --daemon --enable-ssh-support) and also ...
2
votes
1answer
281 views

Why PowerVM LPAR CPU utilization is negative

For a specific case I compute an PowerVM LPAR CPU utilization to be a large number less than zero. I am fetching the lpar sample event using: lslparutil -r lpar -m P750 --filter "lpar_names=i5lp5" ...
1
vote
0answers
2k views

Cinnamon (Petra) crashed. Opens in fallback mode

I'm not an expert on linux. My cinnamon (petra) just started to chrash on logons and I have no opinion for what did I do wrong. I have found a set of errors on my .xsession-errors. The below one is ...
5
votes
3answers
3k views

Efficient todo / project / task manager application [closed]

I am looking at a todo / project / task management application for Linux that goes beyond making a simple list of tasks with check boxes. What I'm looking for is an application that will also help me ...
0
votes
1answer
90 views

Why do some open-source Linux software packages costs? [closed]

I've been researching on Internet that open-source are free, but I found a bit contradicting fact that there are some packages which are commercial like this. I too have used some tools like ...
4
votes
2answers
3k views

SSH connection refused from inside my LAN

I'm on Fedora 19 and I have a problem with ssh. Ssh is up and running and I can connect when I enter my lan ip. But when I try my server name (blahblah.no-ip.org) I get a connection refused. No-ip is ...
2
votes
1answer
125 views

“No such file” warning on terminal launch

I ran a source command on a file that was missing. I forgot about it but later noticed that every time I opened a new terminal, the first line would be a warning about the missing file bash: ...
1
vote
0answers
99 views

Able to connect to my dell printer but cannot print to it

PC: Dell Inspiron Mini 10, Processor: Intel Atom dual core 1.6 GHz, RAM: 1GB, OS: Ubuntu 12.04 LTS 32 bit, Printer: Dell P713W So I tried to add the printer driver for my ubuntu from the ...
0
votes
1answer
52 views

back-up command `cpio` isnt working?

I'm unable to back up files using cpio. root@ravbholua-Aspire-5315:/home/ravbholua/CCPP/HelloWorld/das/das1/book/backup# ls arg_check.h compute.h quit.h ...
1
vote
1answer
12k views

How to reassign new values to array elements?

I'm trying to figure out like three or four things at the same time.The most I need help with is how to get the greatest number in all the files that I have created on a prior run of my script, that ...
14
votes
4answers
26k views

How can I suppress output from grep, so that it only returns the exit status?

I have the grep command. I'm searching for a keyword from a file, but I don't want to display the match. I just want to know the exit status of the grep.
1
vote
1answer
41 views

How to ignore files if there is an similar file with the same size?

I want to list the files in a directory, using ls. Typically, the files in that directory have the same name (except for the extension - one has extension .rej, one has .failed) . If a pair of files ...
8
votes
3answers
2k views

Samsung Ultra book won't wake up after hibernate and suspend on Crunchbang

I've been struggling for a few hours to get suspend and hibernate working on my Samsung ATIV BOOK 9 Lite. When I try to resume the screen power led goes on, but screen stays black. The capslock led ...
0
votes
1answer
157 views

Missing usbserial driver

I am looking for the usbserial driver: “option” for Debian Jessie and armel architecture. Is there a package that contains this and other usbserial drivers? Where is the source-code for this driver ...
5
votes
2answers
3k views

How to get server's ssl certificate in a human readable form?

For example, I want to find out when the certificate for encrypted.google.com expires (i.e. Not After date), and what other domains may use it for authentication (Subject Alternative Names).
5
votes
1answer
306 views

How to stop `apt-get` complaining about unmet dependencies when I manually install the software from source? [duplicate]

I have been installing some applications onto my Debian system. Now there are some that have dependencies that I do not want installed with the applications at the moment. I have managed this by using ...
16
votes
8answers
17k views

How to rsync over ssh when directory names have spaces

I am new to Linux and am trying to rsync from one server to another. The servers have the same directory structure but I am having trouble getting the remotes server to properly recognize the path ...
2
votes
1answer
446 views

No internet even with iptables ACCEPT all

I was trying to setup the firewall settings, and probably did something wrong. I don't have internet now unless I stop iptables service I tried flushing,and accepting everything sudo iptables -F ...
0
votes
3answers
2k views

How to use VNC for gaming?

I was just wondering if it's possible to set up a windows 7 VPS/VNC server to be used for gaming on my local network. I have a macbook pro as my main computer, it doesn't quite have the horsepower ...
2
votes
4answers
189 views

Why would I use a rsync mirror?

Most Linux distributions offer mirrors that use rsync. I know that rsync is best used on mirrors because it only copies the delta between the local file and the remote one. What benefits do I get as ...
4
votes
1answer
6k views

mount to nfs server failed, system error: no route to host [closed]

I have fedora based linux machines in a closed network. In one of the lab machines, I am getting the below error. Mount to NFS server failed. System error: No route to host I restarted the nfs, ...
4
votes
1answer
6k views

Reloading Samba4's smb.conf without restarting the service

I want to tweak smb.conf without causing network hiccups for folks who rely on our samba4 fileshare. I made an obvious path change that should only affect my own private share, and ran smbcontrol ...
4
votes
1answer
71 views

track down executables installer

I have a freshly installed debian system It has vim installed using apt-get install vim Now I have the command xxd installed on the system. I know that this had to have come from the vim ...
5
votes
1answer
2k views

What is the difference between apt-get and dpkg?

I have several questions regarding apt-get vs. dpkg. Do they install to the same place? Is info from these tools 1 to 1 with each other? Is there any difference in the commands utility?
2
votes
2answers
316 views

Why do I see more processes in KVM than in OpenVZ?

I've got a 512mb Centos 6 VPS running on KVM. Now another VPS from a org. I manage is running on OVZ. When I type top on the KVM one, I get a whole list of all sort off processes. But when I do this ...
1
vote
1answer
765 views

How can I have Linux Mint 15 Olivia always startup in console mode

Several months ago, I installed Mint 15 on an old laptop with the intent to use it to run various game servers for the house. All of these are console apps, so I'd like to not have to bother booting ...
0
votes
3answers
201 views

bit-wise complement with dd?

When secure erasing a disk, how can I do a "bit-wise complement" with dd? (or with other UNIX tools?)
4
votes
3answers
481 views

Bash: handling “[[ statement ]] || echo problem found ; exit 1” logic

In the statement in the title, there is a problem that even if the statement is true, it will still exit with status 1 because, as I understand it: [[ statement ]] || echo problem found ; exit 1 ...
4
votes
3answers
3k views

Catch “command not found” from shell script

I have a shell script echo "Type your command" read command echo "You typed $command" $command so it's simple it runs a command.My question is if the input is wrong suppose lw the terminal says ...

15 30 50 per page