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

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
3 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
30 views

Erase hard drive while booted

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
10 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
8 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
0answers
17 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
22 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 ...
0
votes
0answers
8 views

How can I install upwork time tracker in CentOS release 6.6 (Final)

I didn't find good docs about how I can install upwork on Centos6.6 Is it possible ? I didn't find yum-plugin-copr for centos (I have find only documentation for Fedora)
-1
votes
1answer
18 views

Can we install Other Linux softwares in Kali Linux

I am a networking Student and just moved to Kali Linux. For my University work I need some software like ns2/ns3. I know we can install them in Ubuntu. My Question is Can we install ns3 and ns2 in ...
0
votes
2answers
16 views

DNS with OpenVPN on a linux server with routing enabled

I am running a Ubuntu 14.04.1 LTS headless server. Before I enabled routing, my AirPort Extreme was the router. At that point, DNS was not an issue. Ever since I stopped using the AirPort Extreme, and ...
1
vote
2answers
23 views

Controlling output in a Linux shell script

When I run a shell script in bash, I push everything to a file as follows: ./script.sh >results.txt Some of the commands in my script output to the terminal, rather than the text file. For example, ...
1
vote
1answer
48 views

How to find what is pegging CPU in linux kernel

The node of our hadoop cluster is running redhat5.3 2.6.18-194.17.4. (a old kernel version). We found some hosts are under 100% CPU utilization and specially all the CPU cores are on 100% sy% top ...
3
votes
4answers
33 views

fdisk - do i need it or can i make a filesystem directly?

i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions. If i intend to utilize the whole disk as a whole, is it still necessary ...
0
votes
0answers
17 views

How to bring a process to background and foreground programatically? [migrated]

I am working on a project which involves creating two processes using fork. And the task was to put the child process in background on demand basis. I handled signal handler (CTRL+Z) in parent. And I ...
0
votes
0answers
24 views

Can not write to serial port on boot

I am writing a script that sends a configuration message over serial port. It is supposed to configure an external device and runs on boot. Main part of the script is the echo command that sends a ...
-2
votes
0answers
27 views

How to develop a software for folder locking in both Windows and Linux? [on hold]

I know for folder locking we can ecrypt a folder using winzip or winrar and it will work for both windows and linux. It is slightly tedious task. I want to make a software which will work for both ...
0
votes
0answers
7 views

How to make use of mschapv2 authentication in freeradius setup?

Can anyone suggest, what are all the configuration changes, i need to do to make use of mschapv2 authentication for password?
1
vote
3answers
57 views

Why is router IP not listed in ifconfig?

I am looking for the address that I type into my browser to get to the router configuration file. It ended up being 192.168.1.1, as usual. But when I enter ifconfig into the command line, this IP ...
0
votes
2answers
33 views

Symbolic link on a USB stick automatically adding extra characters upon opening

I'm trying to create a relative symbolic link to an html file. Both the symbolic link and the file are to be stored on a USB stick (i want it to open on any computer). I successfully created the ...
0
votes
0answers
19 views

Why tcmalloc don't print function name, which provided via dlopen

I have next some project: main.cpp #include <iostream> #include <cstddef> #include <dlfcn.h> int main() { void* handle = dlopen("./shared_libs/libshared.so", RTLD_LAZY); if ...
1
vote
0answers
21 views

PCI passthrough KVM

I am trying to passthrough my Tesla K40m GPU accelerator to a qemu-kvm virtual machine via the VFIO driver on Ubuntu 14.04.2. I downloaded all drivers and CUDA libraries, and I compiled all sample ...
0
votes
0answers
8 views

LenovoT440 Debian f1-f12 keys not functioning LXDE

Hello I am running Debian 8.1 Jessie on a LenovoT440 Thinkpad, everything seems to be working fine except the f1-f12 keys, which serve functions like mute, adjust volume, mic off, dim screen wifi off, ...
2
votes
1answer
18 views

How to debug old init.d script under systemd?

I can't get any output from the script. systemd just prints: sinopia.service: control process exited, code=exited status=203 Failed to start LSB: starts the sinopia web server. I can't even launch ...
0
votes
2answers
16 views

Accessing file in home directory from apache

After searching a lot I am asking my question here. I have an image file in my /home/uploads/images/filename.jpg which I am tryin to access in browser like ...
0
votes
1answer
25 views

In CentOS 6.6 yum update show some dependency error

When I update centos package it (sudo yum update). It shows following error like. Error: Package: 1:control-center-2.28.1-39.el6.x86_64 (@server1) Requires: libgnome-desktop-2.so.11()(64bit) ...
0
votes
0answers
7 views

How to apply a snapshot of root filesystem which is BTRFS?

I have a snapshot of the root filesystem. The following is the output of my btrfs subvolume list / command : ID 257 gen 90 top level 5 path root ID 258 gen 91 top level 5 path home ID 263 gen 44 top ...
0
votes
0answers
15 views

how to make Samba Windows client cache file contents?

I am using a Samba server on a recent Red Hat, and a client from Windows 7 Pro. The oplocks = yes options is turned on by default from the server. I want the Windows client to cache its file ...
0
votes
0answers
11 views

hdparm and wrong serial number for disk drive

On my Ubuntu 12 system when I execute: sudo hdparm -I /dev/sdc | grep Serial I get: Serial Number: W4J04797 But the actual drive serial number is different. Using this command: sudo ...
1
vote
1answer
58 views

How to redirect LAN traffic to a L2TP/IPsec client connection on a gateway?

I established a L2TP/IPsec client connection on the gateway, and I'm trying to redirect my host on LAN to use this connection when accessing the Internet. Here is the network topology. This is my ...
0
votes
1answer
29 views

Making Org-Mode to remember folding?

I am a recent convert to Org-Mode. I like it a lot but I am having an issue with reopening files. When I open a org file, Org-Mode does not remember the folding which sux, because I have to resetup ...
0
votes
0answers
6 views

Dual boot Win8/Linux on Asus Zenbook UX301 keeping intel imsm RAID0

I have Asus Zenbook UX301 with Win8 preinstalled. I would like to have a Linux installed in dual-boot configuration. However, Windows is using the notebook 2 SSDs as intel RAID0 (rom-based RAID, ...
1
vote
2answers
65 views

How to passthrough Wifi DNS and interenet access to DHCP client

I have a laptop that connects to wifi for internet access. This computer is running Linux (Fedora), and it is acting as a DHCP server for another (ubuntu linaro) computer that does not have a wifi ...
1
vote
0answers
23 views

Bluetooth over IP?

It seems to be possible to run USB over IP, e.g. using usbip which is part of some Linux distros e.g. https://www.archlinux.org/packages/?q=usbip Is there something similar for Bluetooth over IP? ...
0
votes
1answer
38 views

What does this bash script?

In theory, this snippet from pentoo-installer finds all partitions on the selected disc, but it doesn't find my sda1 partition, so I would love to understand it and modify so it does. ...
0
votes
1answer
23 views

How to use linux to not get crazy with root privileges

I've got a question for you today my dear Linux friends. I'm a windows user primarily. I use it for my work, watching movies, listening to music, playing games, browsing the net and everything else ...
0
votes
0answers
19 views

Mirror with backup of changed files

we have some largeish storage requirements (genomic data) for which we need to buy some archival space (write once, read rarely, files remain easily accessible, each user should have access to their ...
0
votes
1answer
39 views

“/bin/bash: bad interpreter: Text file busy” even though the file editor closed the file

I have a script on Linux that I edit under Windows (through Samba), that starts with the shebang line #!/bin/bash. Even though: I finish editing, save, and close the file in the editor make sure ...
0
votes
0answers
12 views

How can multiple Linux distros be run simultaneously & equally resourced on screen in a VM?

What is the easiest and/or best way to run several lightweight Linux OS's simultaneously in separate display windows, in a reconfigurable virtual hardware environment, while (and this is important) ...
0
votes
0answers
11 views

Ubuntu: have different passwords for user and for encryption

On the install routine of most linux distros, if you elect to encrypt your files you are asked for seperate Passwords for a. the user's account and b. the encryption on the files. Ubuntu doesn't seem ...
0
votes
1answer
40 views

How to recover the Linux VM after accidentally deleting all root folders?

I have a CentOS Linux VM running in VirtualBox. I wrote a bash script to do some automated tasks. But I accidentally deleted all root folders because I put a line in the script rm -r $my_dir/* ...
1
vote
0answers
17 views

Can't install linux on Dell XPS 15z

I'm trying to install a linux destro on my Dell XPS 15z laptop but have had no success. In this lets say I'm using Ubuntu 15. The cd works, I can see the live versions of Ubuntu, and Ubuntu can see ...
0
votes
0answers
26 views

Info: how to get a list of all articles programmatically?

I'm contemplating an improved indexing of Info pages with Sphinx. But in order to do this, I'd need some way of programmatically extracting all nodes (in order to then insert the contents of each node ...
0
votes
1answer
31 views

Connecting to my SSID force opening a browser window. How?

I'm aiming my clients to get a popup/browser display once they connect my Wifi. Currently it s running with HostAPD. You see my SSID in available wifi, no password. Access only to my local web. No ...
0
votes
1answer
17 views

Secure dnsmasq dns daemon with whitelist

I'm using dnsmasq on a server (bound to wan IP) and would like to add an acl/whitelist for ip ranges/ip address allowed to resolve dns using my server. I can't seem to find anything from Google, is ...
0
votes
1answer
39 views

CR versus LF: which should I recognize as “end of line” in terminal program? [on hold]

I understand the use of line feed and/or carriage return as line separators in Windows, Macintosh and Linux. But now I'm writing a program that will accept text user input over a TCP socket, and I ...
0
votes
1answer
24 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
-1
votes
0answers
14 views

Logs extracting, limiting cpulimit

I have the following script for extraction of logs. Need to make work it with cpulimit, to not overload the server. Can anyone help? nice -20 zcat /var/detail-20150418.gz | sed ...
2
votes
1answer
17 views

Real-time option in ulimit

Calling ulimit -a returns the following: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, ...
0
votes
0answers
11 views

USB not working with a 3D printer

I got an Ultimaker Original+ 3D printer, which works fine when connected to my Windows 7 PC. But when I connect it to my Mint Linux PC, it isn't detected at all: Cura (the 3D printing software) is not ...
1
vote
0answers
10 views

Port configuration for USB 3.0 Camera setup

I'm building a setup with 10 USB 3.0 5MP color cameras and need to connect all of it to a single desktop computer running latest Linux kernel. By trial and error, I've found out that 3-4 cameras per ...