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
3answers
330 views

Do I need a computer science degree to have a successful career in Linux? [closed]

I recently got a bachelor's in hospitality management, for 4 years I basically lied to myself thinking thats what I want to study while neglecting my interest in computer science. I've been getting to ...
0
votes
1answer
12 views

Letting a device access internet trough ethernet port via a laptop [duplicate]

So i have internet access to my laptop, over wifi. I have connectd a device with an ethernet port (with an ethernet cable from my laptop to the device), and set up a local area network between the ...
-1
votes
2answers
23 views

how to protect the history of all users in linux without .bash_history file

We are in the process of setting up an environment where we should be able to trace who did what in a server. We generally concentrate on "last" command and bash_history file still it didn't help us ...
0
votes
0answers
9 views

How do I compile a custom Linux kernel to be optimized for Hadoop?

What can I do to configure a kernel to have resources that are optimized for Hadoop? I want to maximize the CPU and RAM availability for Hadoop. What can I remove from a traditional kernel if the ...
0
votes
0answers
16 views

Linux NFS server with two network connections to three systems

I am setting up two new VMWare hosts and will also be adding a Linux (Probably Ubuntu but maybe CentOS) NFS Storage server as the shared storage for these hosts. I would like to connect them directly ...
0
votes
0answers
7 views

upstart + telinit: is it really works?

I think about how to backup my ubuntu server, and I want try one possible solution using init levels. So I downloaded Ubuntu 14.04.2 LTS, install it on VirtualBox, and try: telinit 1 It warn about ...
1
vote
1answer
76 views

Changing the TCP RTO value in Linux

I will like to alter the TCP RTO (retransmission timeout) value for a connection, and some reading I have done suggests that I could do this, but I don’t where and how. I have looked at the ...
1
vote
1answer
33 views

Bash script to detect a file modified yesterday and check if its size is above a certain threshold

I'm writing a script to stat all files in a directory, and then find specific files that were created yesterday and tell me if they are larger than a certain size or not. So basically I need this to ...
2
votes
1answer
53 views

Password protecting Single User Mode and GRUB on a VPS

I have a VPS CentOS 6 Linux web server. It is run on KVM. Running a Lynis audit, it notes that single user mode and GRUB are not protected by any password/authentication: [16:00:28] Warning: No ...
0
votes
0answers
11 views

What themes are those under Controls in Cinnamon themes?

I have installed many Cinnamon themes but those listed under Desktop affect mostly the Panel, not the windows texture: The window frame is set under Windows Borders, but what I am interested in is ...
1
vote
0answers
8 views

Shrinking root partition on Debian

I'm using a headless Debian Wheezy server with 2x3TB disks. It was installed automatically with RAID1. This is the output of df -h: $ df -h Sys. fich. ...
1
vote
1answer
24 views

What are the other alternative to test a LDAP connection on linux machine

I have Linux machine, Redhat 5.8, that gets data via LDAP. For an unclear reason, I can’t get the data via LDAP. I see that from /var/log/messages and /var/log/secure the problem is that the ...
1
vote
2answers
14 views

what is the right ldapsearch version for my linux red-hat machine

I am little confuse about the following I want to install the binary ldapsearch tool on my linux machine In order to use this tool to test LDAP connection on my linux ( linux version 5.8 , i386 ) ...
-1
votes
0answers
28 views

bash script error - command not found

1 #!/bin/bash 2 #test integer2: evaluate the value of an integer 3 4 INT = 5 5 if [[ $INT =~ ^-?[0-9]+$ ]] ; then 6 if [$INT -eq 0 ]; then 7 echo "INT is zero" 8 ...
1
vote
2answers
30 views

How to add some characters to filename via 'rename'?

For example I have a file named 5.jpg. How can I rename it to aaaaa.jpg with char a 5 times. I tried rename -v 's/(\d{1,})/a{$1}/g' * but this renames 5.jpg to a{5}.jpg, which is not what I want. I ...
1
vote
1answer
13 views

ecasound mixing and compression?

I chose ecasound as a tool for mixing a set of files and applying a simple amplitude compression. The sequence of operations should be: combine inputs > apply compression > save to output ...
-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
29 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
68 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
39 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
123 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
44 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
34 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
77 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
25 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
16 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
35 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 ...