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

0
votes
0answers
4 views

Is there a way to install Arch Linux on a separate drive via Windows?

I want to install Arch Linux on a new SSD I've bought however I don't have any discs or external drives to install it from. Is it possible to install Arch Linux via Windows 7 which is running on a ...
2
votes
1answer
7 views

why doesn't strace work on gcc -c

>echo > foobar.c >strace gcc -c foobar.c 2>&1 | grep foobar.o > (nothing) - foobar.o is being written obviously, but I don't see it on strace. Why?
1
vote
0answers
8 views

ubuntu 14.04 cannot “apt-get update” ok

I am running ubuntu 14.04. Recently I am not able to update the apt source. When I typed "sudo apt-get update", the process is very very slow, in hours that not proceed. And the result is all "Ign" or ...
0
votes
1answer
27 views

Why have a single partition on an external hard drive?

I have several external hard drives that I've formatted (in ext4) without creating a partition table and a partition first. I formatted the raw block devices, and they work fine. I only want one ...
1
vote
1answer
19 views

Unable to view contents of directory on Linux server via FTP, or using “dir” via shell, able to find files within directory nonetheless

I have a directory on my Linux (CentOS) server which serves as a repository for uploaded files from a webpage. I noticed I was not able to open the file using Filezilla via FTP (was formerly able ...
0
votes
0answers
9 views

Ubuntu Boot (Panic) Error

![enter image description here][1]I recently did a update on my machine and ever since Ubuntu will not boot properly. I get an error message and I have to go into recovery mode in order to start the ...
3
votes
0answers
15 views

Cordova reports ANDROID_HOME is not set even though it is

I am trying to build the hello world app that comes with Cordova. I created the project and have added the following to my .bashrc: export ANDROID_HOME=~/Android/Sdk export ...
1
vote
0answers
16 views

Advantages and disadvantages of turning off secure boot when installing an OS [on hold]

So I've read Debian testing (codename 'stretch') supports secure boot, but what about Debian 8 (codename 'jessie')? Besides, do you normally turn secureboot off when installing your OS? Can you list ...
-1
votes
0answers
12 views

Screen session freezes, output stops, but process continues running. Reclaiming screen possible?

On a remote server, I have one screen session running. Inside the screen session, I have 10 windows, each of which runs a separate process (issued via the cron). We have this setup since we want to be ...
0
votes
2answers
12 views

Automatically fit document on smaller paper size (LibreOffice Writer)

The whole point of the system of European paper sizes is that all have exactly the same ratio. So, theoretically, you can print an A3 document on an A4 sheet and it will not be distorted — it will ...
0
votes
0answers
10 views

input/output error while copying PNG files from linux server to desktop using scp in cygwin

I am trying to copy some png files from linux server onto my local desktop running windows 7. I am trying to copy the files with cygwin using the scp command. I do not get any syntax errors but all my ...
1
vote
2answers
17 views

Get rid of null character in vim variable?

I'm trying to fix vim's Backspace behavior on one of the platforms I use. I got the name of this platform (call it bad_platform) from the system's get_platform command. Following the advice in :help ...
-1
votes
0answers
22 views

Credit Card Number, security code and expiration date validator [on hold]

I have a website that sells products online, some people are able to buy products with invalid credit cards, I ship the product and do not receive the money. How can I validate the credit card number, ...
0
votes
0answers
11 views

Unmet dependencies for OpenGL

I recently tried out the xorg-edgers ppa for Nvidia-352 driver and it kind of screwed things up, so I removed it. Now, I can't make or install things I used to be able to. I am trying to make the ...
0
votes
1answer
9 views

opening NERDTree to point to my file but with full directory tree

I'm using vim, cscope and NERDTree and I cannot find how to open NERDTree to be pointing to specific file (one that is an active buffer) but to have root directory equal to directory from which I ...
1
vote
1answer
16 views

Error with command cut: the delimiter must be a single character

I am trying to run this command from console: # HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` But got this error: Try `cut ...
0
votes
1answer
11 views

Crontab command cannot be executed. Error PAM configurations

Here's the command that I would like to execute but it seems not to work. [mdubois@veloce ~]$ crontab -l Autorisation refusée You (mdubois) are not allowed to access to (crontab) because of pam ...
0
votes
0answers
17 views

Tracking rogue memory consumption in Linux [duplicate]

Recently, I found my machine running out of memory when my existing ssh session said it could not fork because the machine was out of memory. Upon restarting, I verified that the free memory ...
0
votes
2answers
36 views

Remove one of multiple Operating System

I have two operating systems, ubuntu and backtrack 5. I no longer need BT5. How do I remove/uninstall BT5 without losing any data of Ubuntu ? Edit 1: After I delete the BT5 partition how do I extend ...
1
vote
1answer
18 views

FTP server “Transfer Complete” not received by Client

Using vsftpd 3.0.2 on ubuntu 14.04. Clients connecting via JavaApplet typically from Win7 using standard FTP. Issue occurs on both IE and FireFox. On small transfers clients do not have problems. On ...
-1
votes
0answers
9 views

Clone and boot an pre-existent HD with windows 8 to an HD with Linux installed

I have one SSD drive. On that drive Linux Mint is installed. So far so good. I have an old HD with Windows installed upon (formerly this HD was the main drive in place of the SSD). I would put aside ...
0
votes
0answers
9 views

How do I download an entire folder with aria2?

Aria2 is a great wget replacement, having a lot of features like multi-threading, split download,download resume, etc But having all this features and option can make it hard to do some specific ...
0
votes
0answers
7 views

What rpm packages for Edimax EW-7811Un on Fedora

I'm trying to get the Edimax EW-7811Un drivers to install on my Fedora 22 Linux box. I have no connection to the internet (and cannot connect it to the network via Ethernet cable) although I can ...
1
vote
3answers
38 views

difference between ${} and $() in shell script

$ echo $(date) Thu Jul 2 16:33:11 SGT 2015 $ echo ${date} $ name=foo $ echo $(name) ksh: name: not found $ echo ${name} foo Seems like ${variable} is the same as $variable. while $() is to ...
-1
votes
0answers
13 views

osTicket user, what themes are you using (screen) ? [on hold]

I'm currently testing osTicket, and I want to implement a skin for the tool, but I can't find what I want so I'm asking you :)
0
votes
0answers
5 views

in i3wm how can I set the default layout for all works spaces

By default when you start i3wm all work spaces start as vertical/horizontal split splith/splitv layout. Is there a way to set the a different default like stacking or tabbed as the default for all ...
1
vote
0answers
18 views

Win XP, Win 8 and Linux in Grub2

For the following setup: kellogs@kellogs-PC:~ > sudo fdisk -l [sudo] password for kellogs: omitting empty partition (5) Disk /dev/sda: 160.0 GB, 160040803840 bytes 255 heads, 63 sectors/track, ...
0
votes
0answers
17 views

Ubuntu Software Center .deb installation

I created a .deb package and it can be installed via 'dpkg -i' perfectly or using GDebi but I don't want to ask users to install additional tools. The package is intended to be for low level users so ...
0
votes
0answers
8 views

Unhappy mixture: linux, tuntap, namespace,pppoe

I have created three namespace(ip netns), x, y z and a ip bridge called brig0. I am trying to route packets to the pppoe connection in namespace y. I want to know why tun0 says "no-carrier"? How can ...
0
votes
1answer
24 views

IP address appears instead of hostname on LAN to network router

In the CentOS 6 servers the hostname command displays the name, but in the "PC NAME" field in the Actiontech router it displays the IP address. How can I make sure the CentOS servers are communicating ...
0
votes
0answers
6 views

pacemaker: Restart clone resource when a regular resource moves

I have a resource A that needs to run on both cluster nodes, so it's set up as a clone set. I also have a resource B that should only run on one node. It's set up as a master/slave set. But A runs ...
-1
votes
0answers
20 views

shell script finish but doesn't exit

I have 2 shell script a.sh and b.sh which is running under ksh. a.sh does the following action #!/bin/ksh some action check condition and send email if fail or success call b.sh b.sh does the ...
1
vote
1answer
26 views

How to save two IPS in single network card

I am using centos 6.6 and going to configure single network card with two IP address. My configuration look like this /etc/sysconfig/network-scripts ifcfg-eth0 DEVICE="eth0" BOOTPROTO="dhcp" ...
0
votes
0answers
11 views

Linux Redhat account claims locked even after unlocking

The local linux account won't allow the user to login even after unlocking it. The following command provides the following output: [userBar@host]$ sudo usermod -U userFoo [sudo] password for ...
1
vote
0answers
22 views

Bypassing router's DNS settings not working

From researching around the web, I found out how you are able to bypass the DNS settings that are configured on the router by naming the DNS servers you want to use on your PC. Supposedly, the PC DNS ...
0
votes
0answers
12 views

Trying to install PFsense on Proxmox…lost

So I've been bashing my head against my desk for the last couple of hours trying to figure out how to properly set the network interfaces for proxmox. I'm looking to do something really simple where ...
0
votes
0answers
18 views

Prevent KDE from swapping

I've realized that my laptop was overheating as a result of lots of I/O, so I searched for the programs who used swap, and I found the following: $ pgrep kwin 13387 $ pgrep plasma-desktop 13424 $ cat ...
0
votes
0answers
8 views

Compiling & installing tar.bz2 files failing again amd again

I got a new usb wifi device with a driver CD which contains four .tar.bz2 files which are: MT760U_LinuxAP...... RT5572_RT5372........ DPA_MT601U...... DPA_RT5572...... When I'm trying to install ...
1
vote
2answers
58 views

Why are Fedora partitions not listed under the extended partition?

I recently installed Fedora 22 on a desktop PC. I wanted to install it on a logical partition. During installation, in the Anaconda installation wizard, I chose to create a 16 GiB logical partition as ...
0
votes
0answers
13 views

How can I limit internet bandwidth for a daemon in linux?

I can successfully throttle a process using trickle. But how can I limit a daemon, that autostarts on boot?
0
votes
0answers
2 views

What is the default login for Red Hat Enterprise 7.1 KVM guest?

I cannot find this in any Red Hat documentation, but before I call for tech support perhaps someone here knows the answer. Having just installed an evaluation image for RH 7.1, I have my guest VM to ...
0
votes
0answers
10 views

What are the -DPOSIX and -DXWINDOWS flags for in Makefiles?

I see -DPOSIX has something to do with POSIX compliancy...which I can kinda get my head around because my program uses a posix library (pthreads) but I can't dig up anything relevant on what ...
0
votes
0answers
7 views

dns forwarding for specific zone not working - bind

In bind we created specific zone and got set a forward options, but it fails to resolve. Details as follow, For mydomain.com dns working fine. but we use developer site called mydomain.com.dev we ...
0
votes
0answers
5 views

Application icon in Gnome 2 panel

I am using a closed source application on CentOS 6.6. The application comes with a wrapper bash script, that sets some environment variables and then executes the actual binary. I have created a Gnome ...
0
votes
1answer
13 views

Remove version information from maven generated war file

I am trying to automate the deployment of war files that are generated by our build server using maven. I need to be able to extract the project name from the war filename so I can rename the file ...
0
votes
1answer
40 views

Erase hard drive while booted [on hold]

So there is this machine which I want to erase, but I can't boot a live environment. It is a physical machine, not a virtual machine. I though about stopping all services and remounting / read-only ...
1
vote
1answer
19 views

Is there any limit on number of file name we can pass in tar

I am creating a tar and untar it at other location using: $ tar -C sourcedir -cf - . | tar -C targetdir -xpf - but it fails like thisError I am getting is :Argument list too long - tar, when I am ...
0
votes
0answers
9 views

What is the page replacement policy in KVM?

I found this picture explaining how Disk I/O is done in KVM. A the image is on http://i.stack.imgur.com/ijd8m.png So, does it use shadow page table or makes two copies of the page when a page ...
0
votes
1answer
22 views

Accessing shell variables inside 'sudo' block : export doesn't work

I am writing a script to fix a missing 'F' letter in a mail log file. The mail log file is continuously updating. I am getting a file name, after that I am doing 'sudo su' to get superuser access. ...
3
votes
1answer
26 views

How does systemctl schedule system shutdown?

When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...