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
6 views

Why doesn't this pipe command work at this special bash script?

That script test.sh doesn't work after used pipe command. The result shows nothing. Why? #!/bin/bash fun=$( echo $1 ) echo "$fun" commands are as follows, $ echo 1 | ./test.sh
0
votes
0answers
3 views

Httrack doesn't copy links and is not found in applications in Debian Wheezy. It normally copies links

I'm trying to copy this webpage with httrack. It only copies the first page(index) and does not follow the links. Also in my Operating System, I can't find an GUI in applications, I'm using Debian ...
-10
votes
0answers
43 views

Why do people insist on keeping Linux in the 80s? [on hold]

This is a rant, but one I feel is totally justified and deserves somebody from the Linux community to answer. In short, what exactly is the purpose of an OS which requires years of memorising commands ...
1
vote
0answers
15 views

How to diagnose CPU performance problems?

Recently I bought a new netbook based on AMD A4-1200 CPU and installed Linux Mint 17 with XFCE. RAM is 4GB So, testing some of my programs, I found very strange behavior. On random intervals, the ...
-1
votes
0answers
18 views

Program deleting file of other user - permission denied [on hold]

I have two users. User1 is running a program which tries to delete a file from user2. But my program always return me "permission denied". When I try to delete the file myself as user1 with the rm ...
0
votes
0answers
10 views

Problem installing Linux mint in VirtualBox [on hold]

I am trying to install Linux Mint 17 in my virtual box and windows xp as host but it only says "Automatic boot in 10 seconds" then after that it keeps on showing "Linux Mint (from freedom to ...
0
votes
1answer
29 views

script - recursively iterate over newline delimited list using a given depth range [on hold]

Years ago I encrypted a disk back-up image with an extremely long passphrase which I can no longer recall. However the passphrase is comprised of a number of smaller phrases which I do recall. ...
9
votes
3answers
862 views

How can I shutdown a RHEL server at 06:45 tomorrow morning?

I just received notification that our site has a power outage tomorrow morning. I am a Windows admin but I have to cover for our Linux admin who's not around until tomorrow evening. I need to ...
-3
votes
0answers
52 views

Does anyone know how to make a text based game in Unix [on hold]

please help me I don't know what I'm doing send a link from a video or code I only know Unix code
-2
votes
0answers
33 views

making a delete script and a restore script

I'm looking to create two scripts; one to "delete" a script, and one to "restore" I need "del " where this will move the file located at to the dustbin directory in a way that will allow it to be ...
1
vote
1answer
11 views

read UUID of partitioned Image-Disk

i know i can read the GUID of a Partition like this: blkid /dev/sdx Problem: i have created a 4GB-Image dd if=/dev/zero of=./myImage.img bs=1M count=4000 which is partitioned to 3 different ...
0
votes
0answers
25 views

Lenovo thinkpad E531 multi gesture touchpad

I tried a lot of distributions and I'm looking for a distro which supports more than 2 fingers. I don't know in Windows on my Thinkpad, there is 3 or 4 finger swipe for changing windows for example. I ...
-2
votes
0answers
25 views

Need a shell script to check when a process start and when its ends? [on hold]

I have two processes, P1 and P2. I need a shell script where i can know when P1 starts and ends I will get a notification and then same for P2. Please help with answers. Thanks in advance.
2
votes
1answer
24 views

How to count the number of interfaces in a bridge

I want to bring a bridge down only when the last port is removed and so I have this somewhat hokey check to do it brctl show looks awkward to parse to get the information out and doesn't feel much ...
1
vote
0answers
76 views

Get System Serial Number in Linux Machines [on hold]

How Can I get System Serial Numbers in Linux Machines ? i prefer to get this through a non root account and dont want to use external commands such as dmidecode or lhal Update I am working on a ...
0
votes
0answers
27 views

System CPU Time and User CPU Time Calculation for a Process in Linux

I want to calculate CPU time consumption of a particular process in system mode and user mode using statistics present in /proc/<PID>. There are two fields utime and stime in ...
0
votes
0answers
55 views

Disable certain keystrokes for SSH users [on hold]

I wrote a script to disable some keyboard keys while a user is logged in from a terminal, but when a user connects to server via ssh with software like putty, commands like showkeys, loadkeys doesn't ...
0
votes
1answer
16 views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure ...
0
votes
0answers
3 views

How “-fstack-protector” and “FORTIFY” option are different? [migrated]

These days I'm searching for the secure coding guide, and there is an option to prevent the buffer overflow. one, $gcc -fstack-protector -S test.c $cat test.s two, $gcc -O -D_FORTIFY_SOURCE=1 ...
0
votes
0answers
14 views

Trouble writing a C shell command that will customize the “who” utility to display both the “date” and “who” [on hold]

I can write a command to customize one command to 'who' but I can't figure out how to do more than one command. I need to be able to in the c-shell assign a command to who using the 'alias' command. ...
1
vote
1answer
17 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
1
vote
1answer
29 views

Dual boot windows and linux

I have Windows 7 installed, and I have just installed Linux Mint 17. The PC automatically boots into Linux now. How can I get a dual boot startup screen with Windows 7 and Linux? Are there any UI ...
-3
votes
0answers
25 views

where could i find a quick explanation to network bridging? [on hold]

I would like to use haproxy as a load balancer for 2 backend servers. To keep the source ip addresses i have to use it with tproxy which means i have to make the haproxy load balancer into a ...
0
votes
1answer
26 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 ...
1
vote
1answer
26 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
53 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
21 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
38 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
44 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
26 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
23 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
19 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
29 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
17 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
28 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
14 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
8 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 [closed]

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
27 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
17 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
28 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
16 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
2answers
11 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
36 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
93 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
16 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
31 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
39 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
37 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 ...