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

0
votes
2answers
25 views

Content cached in RAM while writing to disk - Linux

I'm facing this issue since ever I started using Linux Distros. While copying/moving either graphically or with cp one/many big content(anything like big text file, tar.gz archive, iso file, movies) ...
11
votes
8answers
2k views

What to use when the “ls” command doesn't work?

I tried to use the ls command and got an error: bash: /bin/ls: cannot execute binary file What can I use instead of this command?
0
votes
0answers
16 views

Running a DE in chroot?

I'm looking to run a desktop environment inside of chroot using Xnest. So far I've gotten Xfce to work but everything else not so much. Both cinnamon and gnome fail to run. Cinnamon gives me this ...
1
vote
0answers
17 views

Get window name on Red Hat Gnome

Is is possible to get the title of a window (Eg. gnome-terminal) via a terminal command, without installing any outside packages like xdotool, xprop or wmctrl? Much appreciated.
0
votes
0answers
14 views

Ext3 Journaling Question on inode and disk layout

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: 1.Why Journal Inode number comes as 8 when we do ./dumpe2fs? 2.So far my ...
0
votes
2answers
44 views

Grep for regex in basename but return wholename

So say I have a list of files in a text file: ... /foo/barfoo /bar/foo/foobar /foobar/bar/foo ... I have a script that will search through this text file and, much like the locate command, I want ...
1
vote
1answer
23 views

any option to ignore a dns server ip from /etc/resolv.conf when doing nslookup?

We have a list of dns server IPs in /etc/resolv.conf. When doing nslookup for a particular scenario we would like to ingore the second entry below, so that naming resolution occurs via other 3 DNS ...
0
votes
0answers
18 views

How to access boot: invite?

I'd like to simply try a root pawd reset, by entering linux single whan systems display boot: when booting. But my Mint system goes directly to user home prompt. Tks
0
votes
0answers
10 views

Suggested server for Tomboy synchronization

I'm using Tomboy on my desktop and Conboy on my phone (N900). I'd like to synchronize them with a remote server (I don't want to set up my own server for the time being) Now with Snowy discontinued, ...
2
votes
2answers
46 views

High IO wait - How to determine the root cause?

I have a MySQL instance on two dedicated servers. One for the production, the other for the test platform. The 2 servers are pretty the same, the only difference is the RAID controller and the ...
1
vote
0answers
24 views

How can I modify a netinst.iso image to run a bash script on boot?

Background Using Fedora 21 with LVM on a Toshiba C50-B-021 laptop with UEFI (which from what I understand doesn't actually turn off), every time the computer runs out of battery it will hang on boot. ...
0
votes
3answers
22 views

how to show port numbers that are listening for the incoming connections under TCPv4?

I want to use command line to show only the port numbers after ":" only This is what I'm trying to do sudo netstat -ant |grep LISTEN|grep :|sort -n|cut -c 45- It shouldn't list any tcp6 info
1
vote
1answer
74 views

How do I resize the active partition (in Ubuntu 15.04)?

When I first created this virtual server with VMWare it was 16G, but that has proven to be insufficient space. So I recently resized it with GParted to 32G using the Live CD. Judging by the results ...
1
vote
0answers
19 views

Find amount of IO occurring over various NFS mounts

When I run netstat | grep nfs, I get the currently mounted nfs connections for a given host in a cluster. If there is massive io happening over 1 (or 2) of the connections, how can I monitor this? Is ...
0
votes
0answers
29 views

DSCP to p bit mapping in Linux

I have the following setup Linux1--------------------------------------------Linux2 eth0 10.10.10.30 eth0 10.10.10.10 eth0.50 20.20.20.30 ...
1
vote
2answers
27 views

What user runs the commands defined in /etc/rc.local?

Are commands ran by /etc/rc.local ran by su by default? Do I need to specific sudo before each command or will they be ran by su regardless?
3
votes
0answers
13 views

Cocoa API implementation for Linux?

Is there any Wine-like project for running OS X apps on Linux? I mean an implementation of Cocoa API for standard Linux machine, as it is done with Wine.
0
votes
0answers
22 views

Transparently Relay TCP Socket to Serial Port (and vice versa)?

I would like to create a psuedo serial device (such as /dev/ttyXXX0) that I can use to make transparent serial connections to an arduino that's on my wifi (via an esp8266 serial bridge). I would like ...
2
votes
1answer
52 views

Who is the -bash executing user on my server?

On one of my servers I noticed there where 2 active users. Who is that second user? USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty1 10Feb15 ...
0
votes
0answers
16 views

Grub-legacy specification: what does “only kernels loaded at 1 megabyte or above are presently supported” mean?

The GNU GRUB Manual 0.97 in section 1.3 (GRUB features) says: Only kernels loaded at 1 megabyte or above are presently supported. Any attempt to load below that boundary will simply result in ...
1
vote
1answer
45 views

Is there a tool that automatically inserts and updates a script header block for e.g. shell or Python scripts?

I found scripts by a former admin who scripted quite nice things with Bash or Python. All his scripts are well formatted and equipped with a always similar looking "script header" or "code header", I ...
1
vote
1answer
22 views

how to verified LDAP on Linux machine

I want to test the LDAP connectivity between my linux machine to the windows domain controler , so I installed successfully the tool- ldapsearch The Linux machine do authentication of users agaisnt ...
0
votes
0answers
5 views

Is the functionality of libipset covered by CAP_NET_ADMIN?

The capabilities(7) states (excerpt): CAP_NET_ADMIN Perform various network-related operations: * interface configuration; * administration of IP firewall, masquerading, and accounting; ...
1
vote
2answers
53 views

ldd says not found but .so file is in /usr/lib

When I type ldd with my executable file there is one not found warning. libCmp.so => not found libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6ed7000) libm.so.6 => ...
1
vote
0answers
18 views

How verify server's hardware before install it into data center? [closed]

could anybody help to understand me how is it possible verify and validate server's hardware configuration that I'm going to install into datacenter? The problem is that the customer bought noname ...
1
vote
0answers
36 views

Detailed history of all commands/actions (also in GUI)

The famous history command shows us a list of recently executed commands. If we set the HISTTIMEFORMAT variable we can also see when the commands where executed. I would like a more general version of ...
2
votes
3answers
332 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
13 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
24 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
86 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
34 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
55 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
13 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
10 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
29 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
16 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
29 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
14 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
34 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
9 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
20 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 ...
0
votes
0answers
10 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 ...