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

1
vote
0answers
14 views

sudo --set-home decide based on command

I was wondering if there is a way to make sudo set the --set-home flag based on the command being executed. e.g. in most cases I do not want the --set-home flag to be set, but for npm, I want it to ...
0
votes
0answers
25 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
0
votes
2answers
18 views

Unable to install PosgreSQL on Ubuntu 14.04

I have been trying to install PostgreSQL on my Ubuntu machine. I end up getting this error. postgresql : Depends: postgresql-9.3 but it is not going to be installed postgresql-contrib : Depends: ...
1
vote
1answer
24 views

how do I copy large datasets between two VirtualBox virtual machines?

I have two separate CentOS 7 virtual machines running in VirtualBox that is installed in a Windows 8.1 host. How do I transfer large amounts of data from one of the CentOS 7 virtual machines to the ...
0
votes
2answers
28 views

How can I track internet upload/download on linux while ignoring local traffic?

I have two Linux boxes connected to a router and the router is connected to a modem. The Linux computers share file systems via NFS. I want to track internet usage upload and download values, ...
0
votes
0answers
14 views

how do I clone an external drive to import into VirtualBox?

In a Wondows 8.1 installation, I can type the following to create a SATA controller which will pull the contents of a detached hard drive into a VirtualBox Virtual Machine: cd ...
1
vote
0answers
6 views

Realm on Oracle Linux

I am trying to integrate a Linux server with an Active Directory. I am using https://fedorahosted.org/sssd/wiki/Configuring_sssd_with_ad_server#JoiningtheLinuxclienttotheADdomainmanually The article ...
0
votes
0answers
8 views

Making multiple DHCP IP permanent in Ubuntu 12.04.5

I followed the instructions here Getting 2 IP addresses on one network card, using DHCP and this worked for me but how do I make it permanent in Ubuntu 12.04? Should I put it in some sort of cron job ...
-1
votes
0answers
25 views

Installing two different linux distros in the same hard drive

I have installed windows 7 and ubuntu 15.04 in my computer and I want to install kali linux in the remaining free space. That's what I have: Partition 1: Windows 7 (primary) Partition 2: Another ...
0
votes
1answer
7 views

strace reports incorrect relative path?

I am using strace to report open and chdir system calls, and a fragment of its output is: 6791 chdir("//etc") = 0 6791 open("etc/fstab", O_RDONLY) = 3 This doesn't make ...
1
vote
3answers
50 views

To whom do environment variables belong?

From several websites I read that getenv is a system call. However I cannot find any reference to sys_getenv. I am trying to understand what "environment variables" are, exactly. Are they part of ...
5
votes
3answers
57 views

Is sendmail a smtp server? Is there any difference between MTA and mail server?

I am new to mail and do not exactly know how it works. I have seen administrators use sendmail to send out email. Is sendmail a smtp server or is it a client that need to relies on smtp server to ...
0
votes
1answer
20 views

How does isatty() get the information from the terminal?

I noticed that if I type: ls --color=auto or ls --color=auto | cat ls --color=auto > >(cat) I don't see the same output. Therefore I assume a program has an hability to know whether its ...
0
votes
0answers
12 views

Java server started from putty with screen cmd gets unresponsive over night

I have a java server that I start on a centos box via putty. I use the screen command like this: screen -S name java -cp desktop-1.0.jar com.aperico.game.skellitown.desktop.DataServer & Ctrl + A ...
0
votes
0answers
20 views

OpenVPN --up script - “could not execute external program”

After a few days on Google, i'm not able to find the right answer to my question. After reading a lot of scripting possibilities, then OpenVPN is up. I have a client running Debian 7.8, with OpenVPN ...
0
votes
1answer
14 views

Debian launches Skype when root terminal is opened

I installed Skype on Debian "Jessie". Now every time I launch the root terminal (or type "su" in normal terminal), Skype will open and often my system will eventually freeze, such that I can only move ...
0
votes
2answers
20 views

How do I suspend Arch Linux

What command suspends an appropriately configured Arch Linux system? User story: It's now or never. I'm on the run. I don't have time to read ArchWiki/Power_management/Suspend_and_hibernate but I ...
1
vote
2answers
9 views

Nessus on Linux detected SSL version 2 and 3 because of Samba. How to fix it?

We are using Nessus to confirm that our server does not have SSL 2 and 3 supported via any of the ports. We came down to the last product - samba (3.6.25.) This samba version does not support turning ...
0
votes
1answer
38 views

Symlinks over SSH: Why am I unable to access files/directories in parent directory if traversal to current directory was through a symlink?

NOTE: This behaviour is observed via remote access using SSH. I noticed that if I have moved into a directory using a symlink that I cannot use the .. entry in the directory listing to move back into ...
0
votes
1answer
15 views

What would cause a high `%wa` value when there is nothing performing heavy io?

I have a 92.3%wa value on top right now under linux and when I run iotop -a, I see nothing causing heavy io. What might be the cause of the large %wa value and how can I go about diagnosing this? The ...
0
votes
0answers
17 views

one of the disks are raw in disk management on dual boot linux

I dual booted my windows 8 laptop with linux mint long time ago.Now the boot menu doesn't appear on starting the laptop.when i opened disk management i saw that i)there were four partitions without ...
0
votes
4answers
40 views

How much hard drive space would I need for a Linux installation? [closed]

New to Linux. Interested in learning more about it. I currently have an SSD with Windows and a 1 TB RAID 1 setup. I'd like to add another SSD with Linux so I can dual boot but I'm not sure how large ...
2
votes
3answers
71 views

I'm hoping to turn a USB stick into a multi-partition (4+), multi-boot tool. How do I properly set it up?

There are a lot of links about multi-boot, multi-OS USB drives and various tools to create them. What they don't explain in detail is how to, or whether or not it's possible to, properly partition and ...
0
votes
0answers
5 views

Unable to initialize libusb: -99 und Microzed-Board running Linux

I have a microzed ARM-Board running a custom Image based on Debian Jessie with a 3.17 kernel. I need to use a wifi-stick with the board (I currently have an EDIMAX EW-7711UAn, but I guess i could use ...
0
votes
0answers
6 views

Ubuntu RAID1 with HP server

I have a server HP ProLiant ML310e Gen8V2 with 2 disks, and I want to install ubuntu 12.04 with RAID1. However, I have read some posts that say "This model of HP didn't support RAID1 with Ubuntu or ...
0
votes
1answer
48 views

Is it possible to mount a ntfs drive by name?

So I am currently using ntfs-3g /dev/sdb1 /home/mountpoint/ to mount an external usb drive. But what I want to be able to do is mount it using its volume name, in my head it would look something like ...
0
votes
0answers
9 views

Routing between ap clients

I have two linux boxes with 2 wlan cards in them. Box A is connected via wifi to Box B using wlan0. Box A has a camera client connected to it wirelessly via wlan1. I want to be able to see the camera ...
0
votes
0answers
12 views

xmonad: rotate one screen on dual monitor setup

On Fedora 22 I want to use XMonad as Window-Manager on a dual monitor setup. I want to rotate one of the monitors but I'm trying to not configure xorg.conf manually like described here. (because in my ...
0
votes
1answer
9 views

Use a specific subdomain with ZNC

I recently installed ZNC on a Fedora 22 VPS I'm renting for educational purposes to try to strengthen my Linux skills and knowledge. One thing I am trying to do is set up a small IRC bouncer on this ...
0
votes
0answers
16 views

How to integrate NPlot in MonoDevelop

NPlot is a charting library which could be used in GTK#. I've downloaded its tarball here. The README file contains this: The first version of NPlot-Gtk was made by Miguel de Icaza, and was a ...
0
votes
1answer
10 views

Cannot add user to group properly on Linux

I`m trying to install boinc and therefore have to add my user fabian to the group boinc so I can read the file /var/lib/boinc/gui_rpc_auth.cfg . I ran sudo usermod -a -G boinc $(whoami) but after ...
-1
votes
0answers
28 views

On OSX how can I get normal function of the control key without making control the command key?

I have no intention of learning the Mac way. It may sound stubborn but I refuse to learn a unique way of doing something and to adjust my ways when Linux and Windows have been working fine for 25+ ...
0
votes
1answer
23 views

Git Installation Returns Error 404 On RHEL

I am trying to install Git in my REHL but failed. I have also clean up metadata and everything else by running sudo yum clean metadata and sudo yum clean all but still, the error persists again and ...
0
votes
0answers
12 views

why would openat() use file descriptor decremented by 1

I am tracing open() and openat() Linux system calls using a library that I load with LD_PRELOAD=.... I have a process that descends down a directory path. It does open() on a directory, which ...
-2
votes
0answers
21 views

CPU governor ondemand is lagging my system [closed]

When I change my cpu governor from userspace to ondemand my system starts lagging. I read that ondemand is better than userspace. But, it not happens on my system. What should be my problem? Thanks.
0
votes
1answer
35 views

How do I configure VirtualBox to launch a VM from an external drive?

What steps do I need to take in order to use VirtualBox to access a CentOS 7 installation that is on a detached hard drive? Here is the situation: 1.) CentOS 7 and Windows 7 were installed on a ...
0
votes
0answers
10 views

Cannot mount CentOS 7 partition from external drive using Paragon ExtFS

I downloaded Paragon ExtFS to a Windows 8.1 computer and connected a detached hard drive using an Apricorn SATA Wire USB 3.0. But the Paragon ExtFS gui will not let me mount any of the components of ...
0
votes
0answers
10 views

Nautilus corrupts if directory has .jp2 extension

I am using Ubuntu 15.04 and my portable hdd has errors so I tried to recover data via Photorec which is testdisk's tool. I have a LOTS of recup.dir* so I have to look for my important data but ...
0
votes
0answers
13 views

Installing OKI ML 3320 on linux

I have an old 9-pin OKI ML 3320 dot-matrix printer and i can't get it to work properly with cups. When i send any document, the printer prints one line every ~13 seconds, often adding some random ...
0
votes
0answers
34 views

Use Wayland on Ubuntu 15.04

Trying to use Wayland on Ubuntu 15.04, I followed the instructions I can find on google. I can see the gdm login screen and choose GNOME on Wayland shown as below. But after I type in my password it ...
0
votes
0answers
5 views

Move existing linux flash image to new board and maintain interface indexing

I wrote a small php application on a SBC. I created a disk image from the CF card. When I write the image to a new CF and install on a new SBC the interface index numbers (I hope I am stating that ...
0
votes
1answer
14 views

why do i keep getting the same $SHELL even i am on a different shell already

[oracle@SJOAM ~]$ echo $SHELL /bin/bash [oracle@SJOAM ~]$ sh sh-4.1$ echo $SHELL /bin/bash sh-4.1$ csh [oracle@SJOAM ~]$ echo $SHELL /bin/bash Why am i always in bash !? but the prompt are already ...
0
votes
1answer
29 views

Cannot boot ISO on only one machine

I have a version of Ubuntu 14 on DVD and USB to boot from. This ISO boots from other machines via both DVD and USB, but it will not boot on the particular Dell I need it to. Initialization crashes ...
0
votes
1answer
4 views

Using a apt repository to install packages but not auto-update them

I had some problems with Linux, probably caused by a bug in the kernel or some drivers. Old distriutions such as Ubuntu 12.10 work, and that's what I use. However this release is old and isn't ...
1
vote
2answers
34 views

How do I know when a command run over ssh has finished?

I'm making deployment scripts for my project, and I'm making a function that should be able to run a command both locally and remotely (on a server through ssh) and return the text output. When ...
0
votes
0answers
24 views

Zabbix 403 Forbidden using httpd24-httpd

Using latest version of Zabbix. Running RHEL 6.6 and needed to use a different repo to get newer versions of Apache and PHP. The new httpd directory is /opt/rh/httpd24-httpd/root/etc/httpd When I ...
0
votes
2answers
22 views

High VIRT memory used by file manager

I'm using elementary OS and it's default file manager Files. I've noticed that after a while of usage, htop shows that pantheon-files (how the app is named) consumes over 10Gb of VIRT memory. This ...
0
votes
0answers
26 views

Internet Connection Sharing (laptop to dektop) questions

I've installed Kali Linux on my laptop and was trying to use aircrack-ng. My desktop is much faster in terms of compute power(so I can use oclHashcat on it. Yes, I could copy the .cap onto my ...
0
votes
4answers
80 views

How to open tar gz file created using tar piped to gzip

I wanted to generate a tar gz file with the highest compression level, and I followed the solution from http://superuser.com/a/546509/461740: tar cv /path/to/directory | gzip -9 > file.tar.gz ...
1
vote
1answer
18 views

using rpm -i in Linux as a normal user

I'm trying to run rpm -i to install an rpm but it fails. I must always use root to do the installation. why ? [alankoh@sjoam2 Downloads]$ rpm -i sqldeveloper-4.0.3.16.84-1.noarch.rpm error: ...