Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

-2
votes
0answers
28 views

Chmod 777 in Windows 7 [migrated]

I use Window 7 and i need to create a new .dat file in the principale partition C:. But i can't do that because i don't have all the permissions. I run the cmd as administrator and i try again but ...
1
vote
0answers
26 views

ssd caching in loop device on btrfs

I have an ssd and 2TB hard disk. The ssd is used for the root filesystem which uses only around 20G of the 120G available. Is there a way to use an image/loop on the root filesystem (btrfs) as a cache ...
0
votes
1answer
28 views

LUKS encryption full disk, how many RAM?

If I encrypt (dm crypt, LUKS) my whole system, how many RAM should I provide ? I've understood that LUKS volume is mounted RAM, ... If my system is 10 Gb, should I have something like RAM 12 Go ?
0
votes
0answers
8 views

Linux PGP : load key from pendrive at Boot

A Linux Mint machine owns some** encrypted files (pgp). The machine cannot run if not electrically plugged (a physical theft shuts it down immeditately). **I d like to avoid storing decryption key on ...
0
votes
0answers
20 views

Linux counter-theft encryption : PGP or DM-Crypt?

I am brainstorming about the best strategy for my project. I have a machine (Linux Mint) with sensitive files on it. This machine is a prototype and I'll clone the disk on some others. Each machine ...
0
votes
0answers
8 views

Linux LUSK encrypt and cloning machines

I'm working a prototype based on Mint. Mint installed + installed and configured packages (openVpn, hostApd, etc). This proprotype is built on a rasp-like computer. I plan : 1. to clone disk on ...
0
votes
1answer
19 views

Set the active tmux tab color

Is it possible to change the background of the active (current) tmux tab? I'm using tmux 1.9 on Ubuntu 15.04. $ tmux -V tmux 1.9 I tried to do: set-option -g pane-active-border-fg red But the ...
-5
votes
1answer
66 views

reading xml file through linux shell script [closed]

<DocumentMetaData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <sequence> ...
0
votes
0answers
7 views

.xml OR .img file copy from server to client and boot OS on server using client's hardware

I'm using virtual manager in rhel6. made two virtual machines . one server and other client(both running rhel6 OS) I want to copy .xml file from server's /etc/libvirt/qemu to client's system to use ...
0
votes
0answers
31 views

How must (Not how can) a program be available from everywhere in CentOS/Fedora

I was reading this link from MySQL: https://dev.mysql.com/doc/refman/5.6/en/mysql-cluster-install-linux-binary.html shell> cp support-files/mysql.server /etc/rc.d/init.d/ shell> chmod +x ...
0
votes
0answers
19 views

linux terminal refuses to take input after showing login prompt through getty using busybox from initramfs

i have a terminal which does not respond to keyboard input after displaying login prompt through a Getty on that terminal. i created the device files in initramfs. how can i go past this login ...
3
votes
0answers
38 views

Linux Routing Question

I was wondering how it would be possible to have multiple IPv6 default gateways on CentOS linux. I currently have two interfaces with IPv6 (venet0 and tb0), both with different blocks routed to them. ...
1
vote
0answers
30 views

Why is my UDP bandwidth significantly lower than TCP bandwidth in iperf

I am running a simple bandwidth test between two VMs using iperf. I am getting very different bandwidth reading for TCP and UDP where the UDP bandwidth is terribly lower than TCP. TCP: ...
1
vote
1answer
21 views

install already built Linux environment

I have configured aMint-based environment : openVpn, hostapd, and a bunch of other configured package. This is done on a rasp-like computer (OEM). I planned to clone my disk on other machines. I dont ...
1
vote
0answers
23 views

check the current backlog queue size

The sysctl netdev_max_backlog sets a limit to the maximum number of packets allowed in the kernel's backlog queue. Is there a way to check the current queue size (i.e., how many packets are currently ...
1
vote
1answer
19 views

List of group id actually used on Debian

How can I get a list of group id which are currently used for Debian OS. I know that e.g. 0-99 are reservered for Debian "intern" things, but I'm wondering which ID is used for which group inside this ...
-1
votes
1answer
43 views

How to recover the deleted file from linux system? [duplicate]

I am using centos7 locally. Mistaken I deleted text file(keystone.conf.disabled) using rm, from /etc/httpd/conf.d directory, How to recover this file. This file is very important to me. Please help ...
0
votes
0answers
5 views

How to install airtel 3g dongle in redhat linux 5?

I have an Airtel 3g dongle, that I am not able to install in RedHat 5 Linux. I am getting the error : chmod +x install_linux "read only file system"
0
votes
0answers
34 views

Encryption Linux system after installation

Is it possible to encrypt a Linux system (Mint, Debian based) after installation? For an "on the fly" usage. My system is both : a client (www, ethernet), a local server (wifi). I am working on a ...
0
votes
0answers
55 views

How to determine the memory usage of a single process?

There a few helpful scripts out there, which give some useful information. But I would like to calculate those values myself. I am interested in values like USS and PSS. I already had my first attempt ...
-2
votes
1answer
33 views

Exam question about Partitions [closed]

Which Partition is required in Linux? a. /dev-partition b. /home-partition c. /swap-partition My answer was .a (/dev )
0
votes
1answer
36 views

What is the impact on system performance when kernel debug info is enabled?

In order to debug kernel or use tools like stap (https://en.wikipedia.org/wiki/SystemTap) kernel must be compiled with full debugging information included - namely option CONFIG_DEBUG_INFO has to be ...
0
votes
1answer
118 views

Running program on startup (Fedora 22/ 2015)

I tried really hard to avoid posting a new question for something so basic and already answered in a hundred places, but after spending two hours on this and trying every solution out there I'm ...
1
vote
2answers
43 views

about executing a python program in a shell script which is scheduled on crontab

i have a problem with regards on crontab. I have a script named checker.sh and i want to schedule it that would run every minute: * * * * * sh /home/pi/checker.sh so i have the script here: the ...
1
vote
2answers
33 views

sudo / su to user in a specific group

I am looking to setup a generic user that has the ability to su/sudo to any user in a specific group. Either that or to any user that has a specific naming scheme. Is this possible on linux? I ...
1
vote
1answer
37 views

Version Magic in Linux?

Recently , i have encountered with a new words "Version magic" & "Partition magic" in linux . Can anyone breif me what does they mean?
7
votes
1answer
86 views

Cannot cd into a directory, no visible problem

I've tried searching and couldn't find a similar scenario. I have a directory into which I cannot cd: # cd /var/log # cd apache2 bash: cd: apache2: No such file or directory # ll -d apache2 ...
0
votes
1answer
75 views

Redirect proxy traffic through another IPv4 address

I have a CentOS 6 box running Squid and Privoxy to create a custom proxy setup. The server has several public IPv4 addresses configured on virtual eth0 interfaces. My Goal: I want to send all proxy ...
0
votes
0answers
22 views

Wifi keep on disconnecting on Ubuntu

I am using ubuntu. wifi works great on my laptop. I am facing problem with one particular wifi router (I think Airtel Binatone) installed in my company premises, Here are some logs 1) sudo iwlist ...
0
votes
0answers
15 views

Restarting dhcpd.conf failing

I am trying to setup a Kickstart server and when I am trying to restart the dhcpd server after having updated dhcpd.conf it is throwing a "failed" error. I am installing the Kickstart server on a ...
0
votes
2answers
22 views

“Syntax error:unexpected end of file ” upon bash script execution [closed]

Running Fedora 21 on my VM. I am receiving "Syntax error:unexpected end of file " upon bash script execution. There is no line 35 in my script. why am I getting the error?
0
votes
0answers
34 views

Why cancelled_write_bytes is different size than created/removed file?

I was wondering how field cancelled_write_bytes from /proc/[pid]/io works, so I've created a file (dd) and then deleted it (rm). I was expecting to see cancelled_write_bytes ~equal to file size while ...
0
votes
0answers
26 views

How to boot Linux Mint from a CD

I want to boot Linux Mint from a CD but when I boot from the CD, all i get is a GRUB window where i can select to boot Linux Mint. I clicked to boot Linux and i get a screen with error cant read ...
2
votes
1answer
54 views

Why is one file listed sereval times in /proc/pid/smaps?

When I cat /proc/1/smaps file I found that libs have often up to 4 mappings with different sizes and different Rss/Pss etc: 7f1a09696000-7f1a0982f000 r-xp 00000000 fe:04 1313975 ...
0
votes
0answers
10 views

Share Oracle Database Connection from one system to another in same network

I have installed Oracle 11g XE in one machine, which has cent os 6.5 installed in it. Now i want to connect to this machine's oracle database from an another machine. Both are connected to the same ...
2
votes
1answer
22 views

Does sharing SID by processes *always* imply their shared PGID?

If not, then when does it diverge? (I couldn't make them diverge.) And what other traits do SID-sharing processes always share?
1
vote
2answers
44 views

Print log lines excluding previously-repetitive lines?

If I had a log file looking like this: A A B C C C A B B I would like to output (remove the immediately-successive duplicates): A B C A B How do I do this?
1
vote
0answers
14 views

shared memory performance and protection from other processes [migrated]

I am trying to implement a JIT compiler (I have very geeky hobbies). I would like to have one main process that keeps some persistent variables, and a second process (that has been compiled ...
1
vote
1answer
21 views

How to unlink a symbolic link CentOS?

I am still fairly new to CentOS 6.5 and linux in general. In my haste to remedy a solution, I created a link from a suggestion online without thinking much about it. However I need to remove the link, ...
0
votes
1answer
54 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
3
votes
2answers
36 views

How to locally install .deb without apt-get, dpkg or root access?

I'm using python on a Linux cluster (without root access) and want to use the numpy module. After downloading numpy from Numerical Python, extracting and trying to install it with: python setup.py ...
2
votes
0answers
9 views

How are the reserved GDT blocks used after online resizing in ext3 file system

I am working on Ext3 and after looking at FS layout - ext3 reserves ~1024 blocks as Reserved Group Descriptor Table (reserved GDT blocks are between Group Descriptor blocks and Bitmap blocks). These ...
0
votes
0answers
21 views

Black screen trying to install CentOS 6

I've got a windows 8.1 Acer Laptop and I'm trying to put CentOS 6 on it as a dual boot set up. The laptop doesn't have a CD drive. I've already partitioned my hard drive. I've used Unetbootin to put ...
0
votes
1answer
15 views

Launching GUI on BeagleBone via putty

How to launch a GUI application on a BeagleBone that is running Linux (Debian 7.4) remotely? Notes: 1- putty is being used for the remote access. 2- The task is to have the GUI launched and displayed ...
2
votes
2answers
18 views

AppArmor: Are multiple profiles per application (Firefox, Thunderbird) possible? Syntax?

Is there a way to create an AppArmor profile for each Firefox profile, when running multiple profiles off a single installation of Firefox? Or more generally for any application supporting multiple ...
1
vote
1answer
42 views

Kernel memory leak detection [closed]

How are memory leaks identified in Kernel. Not sure if Valgrind can be used in this case.
0
votes
0answers
7 views

I wish to move SBC flash image to new board and maintain network 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
46 views

How to Disable Transparent Huge Pages in CentOS6.6 [duplicate]

I am trying to disable Transparent Huge Pages in my CentOS for HDP2.2 installation. I am using this link for the reference but I am still getting the issue. I tried to add this also: Adding the ...
0
votes
1answer
22 views

High on %wa from top command, is there any way to constrain it?

Here's my last top info before it stucks: top - 18:26:10 up 238 days, 5:43, 3 users, load average: 1782.01, 1824.47, 1680.36 Tasks: 1938 total, 1 running, 1937 sleeping, 0 stopped, 0 zombie ...
3
votes
0answers
43 views

Linux Angstrom can't start without serial cable plugged

I'm using the Altera Cyclone V Soc dev Kit and Linux Angstrom provides by rocketboards (http://rocketboards.org/foswiki/Documentation/GSRD141) Kernel is : 3.10 LTSI Linux can't start if any serial ...