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
0answers
9 views

How to print only certain characters?

I have to translate the permissions of a file this way: r -> c, w -> s, x -> e Then, I must extract the group of characters which are related to owner group. Last step is to print that group of ...
-1
votes
0answers
9 views

where could i find a quick explanation to network bridging?

I would like to make my ubuntu 14 into a bridge / gateway for a few other servers. This is in the cloud. The machine has 2 ip addresses, one local and one public. I want to create a bridge so that ...
0
votes
1answer
10 views

linux boot stick being ignored on windows 7

I am trying to install CentOS server on a machine that also runs Windows 7. Towards this end: 1.) I created a 100GB "Unallocated" partition using the Disk Management tool in windows 7. 2.) I ...
0
votes
0answers
4 views

How can I debug SIP traffic on my network directly to an IP phone in a DMZ?

I have an IP phone on my home network that I am trying to call using SIP from outside of my home network. Ideally I want to only forward certain ports to it - 5060 (signaling) , 10000-20000 (RTP ...
1
vote
2answers
19 views

How to view the calling script on Linux

I am trying to write a script to help with computer security. I am trying to look for open ports, find the PID, and find what called it. I have it working, where my output looks something like this: ...
0
votes
0answers
8 views

How do I get the old procps-ng top(1) layout back (pre-3.3.10)?

Since updating to procps-ng 3.3.10 my top(1) looks like this: Instead of: Not only are these colours annoying & offensive, I can't get it to sort as the "old" top(1) (O no longer works, and ...
0
votes
1answer
33 views

Editing lines in a file using a bash script?

I am creating a bash script that installed VSFTPD / FTP. After the installation some configuration is required in the "/etc/vsftpd/vsftpd.conf" file. This includes making sure the following lines are ...
1
vote
0answers
8 views

How to return Uptime of successful OpenVPN connection

I'm trying to figure out how to return the UP Time of a successful OpenVPN connection. I've tried different variants of the following code: #!/bin/bash TMP=$(grep 'tun0: link up' /var/log/syslog* | ...
0
votes
2answers
20 views

Linux user not being able to login (/bin/nologin)

I work on a shared linux enviroment (CentOS), but for some reason one of my logins has been locked. When I do a cat /etc/passwd | grep "/home", I can find my user: ...
0
votes
2answers
30 views

Starting a Linux desktop from CLI [on hold]

I can login to a lab Linux CLI, but have no further info on the install. Is there a generic command for starting a default DE/WM; I seem to recall "startx" would run a default X11 setup, but am ...
1
vote
1answer
38 views

How to use ARM as LTSP server? [on hold]

Arm has a limited support for server packages on Linux but is it possible to use ARM board i.e Raspberry Pi or Banana Pi(it uses Armhf instruction set rather than dated Armv6 used by raspberry pi) as ...
0
votes
1answer
23 views

Issues executing program

Ultimately I'm trying to get a program to run at start up and work correctly. I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is ...
1
vote
1answer
21 views

arch linux recognizes the partitions and hard disks wrongly

My arch Linux system does not recognize neither the partition nor the hard disk in which it is installed. it is installed on /dev/sdb1 but it recognizes that as /dev/sdc1 and the initialization goes ...
0
votes
0answers
18 views

Desktop Fork designed around usability [on hold]

I am trying to get a project started to fork a Linux distro and design it around usability. This will probably have to be a team project as it would be very difficult to achieve all of the ideas I ...
1
vote
2answers
26 views

Applying mouse settings on startup

linux learner here. (Running on a Debian-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made /etc/init.d/mouse When I ...
1
vote
1answer
11 views

Permission denied on aio-max-nr file

I would like to edit the file aio-max-nr: root@node:~# echo 65536 > /proc/sys/fs/aio-max-nr -su: /proc/sys/fs/aio-max-nr: Permission denied Knowing that : root@node:~# ls -lrth ...
1
vote
1answer
27 views

How to disable my touch screen

My screen is cracked, and the touchscreen makes the courser spasm every once and a while. Is there any way i can fully disable it? As requested: Module Size Used by ctr ...
0
votes
0answers
13 views

what Linux distro for OMAP3 (DevKit 8000)

I'm struggling with install Linux on SD Card on DevKit8000. Is there any distro, which require only install *.img on SD Card and plug into board?
0
votes
0answers
6 views

Use Broadway on debian 7 server, how to install?

I search on the web, but I could not found anwser (except for Ubuntu with PPA, but it seems to be buggy with debian, or I can't use it). How can I install broadwayd on my Debian 7 server ?
1
vote
0answers
6 views

Dual booting Kali Linux and Windows

I need to dual boot my pc. Kali & Windows. I have Windows installed. I just created a 50 gb partition for the linux install and when I get to the partitioning section of the Kali installation, it ...
0
votes
0answers
13 views

Linux terminal hangs when started [on hold]

Each time I open a new instance of console or tty on my arch linux install (I use either 'konsole' or 'yakuake') it hangs for a couple of minutes before it's finally ready. During this time the ...
0
votes
0answers
24 views

Cannot type in login credentials in Red Hat

Got stuck at the login window (Red Hat 6.5) as I cannot type in the login ID. No characters are accepted in the box. MouseOK. Any ideas?
0
votes
0answers
14 views

Problem while installing LibreOffice on Elementary OS

I'm having the following message when I try to install LibreOffice on Elementary OS 32 bits. I'm doing it on a ASUS Eee PC 900. Lendo listas de pacotes... Pronto Construindo árvore de dependências ...
2
votes
1answer
27 views

iwlist scanning without root privileges

I'm writing application where I need to scan one of wireless interfaces. In the past, my program was run with sudo and I used (in code): iwlist wlanX scan But now I want to allow to run program ...
0
votes
0answers
13 views

rsyslog does not stream data to flume

I have a problem with Flume as it is not recognizing the events on console. My configuration file is this: ### Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 ### ...
0
votes
1answer
8 views

xfs maintenance mode in redhat 7

In my desktop I installed redhat 7 and after reboot it went to maintenance mode, After entering the password it is not allowing to do a file system scan for root and every time it boots enters to ...
1
vote
0answers
26 views

Why are USB partitions & disk capacity not coherent between fdisk, parted, dmesg & /dev/sdXy

Disclaimer: I initially posted this on SF : http://serverfault.com/q/645670, but I think it better fits here First, a word of context: I'm trying to burn an ISO on a 16 Gb USB key, but I'm having ...
1
vote
1answer
44 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
1
vote
0answers
15 views

Login kickout every time in Ubuntu Server 14.04 LTS

We have installed Ubuntu 14.04 LTS in our production servers. Our dedicated server disk was filled, due to that issue, one of the production servers stopped. While troubleshooting I found that disk ...
3
votes
2answers
28 views

How to print a range of IP addresses with Linux seq command

How can I print a range of ip addresses on linux command line using the "seq" command? For eg: I need seq to print a range of ip from 10.0.0.1 to 10.0.0.23 . Seems like the period in between the ...
1
vote
1answer
35 views

GRUB: Adding entry for OS on different hard drive

I've got two hard drives in my computer after I replaced one for windows. Since I love linux so much, I put a copy of Xubuntu on the one that I had initially replaced, and I now have two separate ...
0
votes
1answer
33 views

Where can I download the software RPM for Redhat?

I try to download some software RPMs(such as gcc, gdb, etc.) for Redhat enterprise version. But after googling, I only find this website:https://access.redhat.com/downloads. This site doesn't seem to ...
2
votes
0answers
24 views

VPN tunnel to two services on two servers?

I've got 2 CentOS 6.5 servers, each running one service: server A: 10.140.54.1/27 running service MySQL port 3306 server B: 10.140.54.2/27 running service httpd port 443 Server B's httpd service ...
0
votes
0answers
38 views

unfound characters [closed]

All, In this string: 14.10,and apt-get,it option。 ... on my machine (Debian Testing), there are three little 'boxes', one after "14.10", one after "apt-get" and one after "option". These boxes ...
2
votes
1answer
36 views

No EOF, when a program reads its own executable file on cifs mount

My java-based installer couldn't copy itself to target dir eating all disk space and I thought it was a java bug, but then I reproduced it with plain dd. When I try to read my own executable using a ...
-4
votes
0answers
26 views

script to get login details of employess [closed]

a company owner wants to check which of his employees are on time and are late. WASS for getting the login details of the employees.
4
votes
2answers
82 views

Why is compatibility with Android not a common feature in Linux distributions?

Since Android is based on Linux (and I understand is only a Java layer on top of Linux), I wonder why Linux does not generally run Android applications. Why is an Android compatibility layer, either ...
2
votes
1answer
17 views

Enable numlock only for external keyboard

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
1
vote
2answers
49 views

Mount zip file as a read-only filesystem

I am looking for a way to mount a ZIP archive as a filesystem so that I can transparently access files within the archive. I only need read access -- the ZIP will not be modified. RAM consumption is ...
0
votes
0answers
27 views

unlimited tmpfs

How to have the advantages of tmpfs and not be limited to its small size? I'm thinking of a shell script that runs as a daemon, monitors RAM and adds more swap files in specified folder, when memory ...
2
votes
0answers
17 views

How do I get ata-style IDs in /dev/disk/by-id to work for USB disks?

I have USB drive dock that I'm plugging SATA drives into. The way they show up in /dev/disk/by-id seems to be dependent on whether the drive has a partition table (usb if not, ata if yes). This makes ...
2
votes
0answers
38 views

Can no longer start Chrom{ium|e} as normal user

I am no longer able to run Chromium or Chrome as a normal user (though I can run as root). I have tried rebooting, reinstalling both applications, moving .config files, changing gtk themes, and ...
1
vote
2answers
26 views

data recovery from form an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
0
votes
1answer
28 views

Understanding NAT concepts

I began learning networking on Linux, and I am looking for a way to associate a particular IP to a particular MAC address (i.e. a way to edit the NAT table?). Actually I am trying to assign some IPs ...
1
vote
1answer
22 views

Cluster Lock Manager without TCP/IP

I have 2 linux sharing same SAN disk LUN. There are many cluster files systems to manage lock/unlock. But all of them are using a seperate TCP/IP comminication. But I need a cluster lock manager ...
0
votes
0answers
35 views

As a root user I cannot make any operation on files that I am owning [closed]

I have this interesting situation: [root@server home]# id root uid=0(root) gid=0(root) groupes=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) So far my root user seems to be ok to me. ...
0
votes
1answer
40 views

How can I write an alias for cd such that it will fire ls after going into the directory to which I just cd'ed into? [duplicate]

Lets say I want to do cd home and then ls -lrth. I want these two things combined into a single command. I tried writing an alias, but it didnt work. Can you help me ?
-2
votes
0answers
28 views

Good *NIX Books [closed]

I'm a fairly competent Linux system administrator. I can easily get by on what I know without having to reference online sources too often. I'd like to push my understanding much further. What books ...
0
votes
0answers
23 views

Can I share a Virtual Machine between Ubuntu and Windows 7?

I have a Ubuntu Server virtual machine configured on Windows 7 which has a NAT and Host-Only network adapter configured. I have ports forwarded on the NAT connection in order for my host (W7) to ...
-2
votes
1answer
106 views

`ls ..` and `cd ..;ls` command shows different output [closed]

I use the command ls in the same position, but it shows different output. From /usr/local/services/video_sphinx-1.0. ls -a and ls -a ../video_sphinx-1.0/ command shows different files. Why? ...