0
votes
0answers
3 views

Xorg.bin 100% CPU usage after switching TTY

I'm on Arch Linux. After I switch between TTYs, Xorg goes berserk and consumes all CPU (actually just two cores, but it says 99%). It's entirely frozen and I have to kill it via SysRq. Here's my ...
0
votes
1answer
4 views

LXDM resolution too small on laptop when started with external screen

I have a laptop with small screen resolution, and when I connect external monitor before boot, it keeps resolution of the laptop screen, until I log in. I'm using LXDM. How to fix it?
1
vote
1answer
17 views

No connection after plugging in ethernet cable (WiFi works fine)

I've read all that came up on Google, but to no avail so far. I have Arch Linux on my laptop, Thinkpad X201. Wireless works perfectly, I have wpa_supplicant and dhcpcd in rc.local and it connects ...
0
votes
0answers
17 views

Bash script class path issue with java

jvm.script.sh /opt/scripts/jvm/jvm.script.sh #!/bin/bash JAVA_HOME='/java' PATH="$PATH:/$JAVA_HOME/bin" java -cp ./classes:./lib com.mystuff.bar.foo.myclass & init.script.sh ...
1
vote
1answer
9 views

Running ubuntu binary on CentOS with all shared libs installed results in ld SIGSEGV

I'm trying to get a binary compiled on Ubuntu to run on CentOS 7 (both 64bit, one host, the other vm). So far I've copied the binary with all the shared libs. I no longer get the missing library ...
0
votes
0answers
34 views

How do I know if I'm in a jail, container, snapshot, etc. environment?

I received a machine (Ubuntu 12.04 server) from a coworker when he left the company. I created my own user as sudo/admin and used the machine for months. After rebooting for the first time since I was ...
0
votes
0answers
9 views

Xserver is working but not actually drawing on the screen

I'm currently going through configuration hell with my xserver. I'm using nvidia's proprietary drivers and I believe I have everything set up properly: The Nouveau open source driver is blacklisted, ...
-1
votes
2answers
41 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 ...
-2
votes
0answers
16 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 ...
6
votes
3answers
206 views

Why is coreutils sort slower than Python?

I wrote the following script to test the speed of Python's sort functionality: from sys import stdin, stdout lines = list(stdin) lines.sort() stdout.writelines(lines) I then compared this to the ...
0
votes
1answer
13 views

Trying to debug /etc/init.d/named, no output, replace > /dev/null with /var/log/named.log?

I'm trying to debug named, when I try: [root@test master]# service named start Starting named: [FAILED] it fails silently, so I tried: sed -i ...
1
vote
0answers
10 views

Problem installing Radeon Driver

I have a Dell Inspiron 15 model 5547 with a AMD Radeon HD R7 M265. With a clean installation of Arch Linux (I've tried installing Debian too, without success.) I tried installing the open-source ...
-2
votes
0answers
42 views

How do I exit a shell and then continue running scripts?

I have a program that when started through the terminal, I'm not able to run anything. In my script it looks if the process already exists with pgrep. If the process does not exist then it will start ...
0
votes
1answer
13 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
6 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
3answers
28 views

Find the parent of a process

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

Is there a difference between “a=b” & “a=$b”?

I came across two Unix scripts in my textbook. In one of them they implemented a=$b (in the form of max=$a) and in the other a=b (in the form of number=num). Question Are these the same thing or is ...
0
votes
1answer
41 views

Help in starting learning bash script

I have just started analyzing sequencing data using Linux I have created a pipeline for variant calling that includes eight commands or may be more. I need to paste every command one by one and wait ...
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 ...
11
votes
2answers
357 views

Why is using a shell loop to process text considered bad practice?

Is using a while loop to process text generally bad practice in POSIX shells? As Stéphane Chazelas pointed out, some of the reasons for not using shell loops are conceptual, reliability, legibility, ...
0
votes
1answer
37 views

System wide symbolic link

I'm trying to create a symbolic link which would be system-wide usable. The $PATH output is the follow: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games So I don't understand ...
0
votes
1answer
35 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 ...
0
votes
2answers
29 views

Forward port 22 out a particular interface

The situation I'm in is where we have three separate interfaces on a particular machine. Each connected network only allows servers (by network-based routing/firewalling) to only offer particular ...
2
votes
0answers
13 views

Can I attach a GUI process to a “surrogate X server”?

I have been in a situation where my desktop has crashed and become unresponsive. (In my case it was the Cinnamon DE, and I have yet to try cinnamon --replace from the commandline, BTW) I was using a ...
-4
votes
1answer
42 views

What does PIP stand for? [on hold]

What does pip stand for? Does it stands for Python Package Installer? No, I don't think so, it is PPI
0
votes
0answers
10 views

Ubuntu remote desktop user without password

I have an Ubuntu 14.04 LTS set up and I use a user without a password to connect via PuTTY. Is it possible to use remote desktop from windows 7 (xrdp) with a user that has no password?
0
votes
0answers
12 views

Strange behaviour of application running from NFS

I have two VMs running, one with Fedora 20 and the other with CentOS 6.6. I have a remove home directory mounted under /home1/user with autofs. /etc/auto.home1: user -fstype=nfs ...
3
votes
1answer
16 views

RAID-1 doesn't Assemble, elements listed as SPARE, how to recover?

I recently moved my Kubuntu 12.04 workstation to a new location. It was shutdown normally but when I rebooted it in its new home the RAID-1 array /dev/md0 was GONE! The Elements of the array are ...
0
votes
1answer
23 views

How to keep running a process in Android when disconnecting adb terminal?

I'm trying to analyze the reason for random reboots of my phone (see here). Therefore I wanted to record the logcat and kernel messages till the restart to see the logs even after the usb disconnects, ...
1
vote
0answers
9 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
1answer
18 views

Debian Dual Boot. Wheezy, and Jessy

Is there a way I could have a Dual Boot OS with the same OS? I want Debian, but I want Jessie, and Wheezy. Are they the same OS or are they different?
1
vote
0answers
13 views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
0
votes
0answers
7 views

sco openserver rm cobol 85 old program [on hold]

I'm having an accounting program that was running with rmcobol 85 under sco openserver 5 and I want to run it under ubuntu how to do so
2
votes
0answers
8 views

Why doesn “clpasswd” knows the “-R”?

There is a symbolic link: 2:root@SERVER:/root # ls -la /usr/bin/passwd lrwxrwxrwx 1 root system 39 Feb 3 2014 /usr/bin/passwd -> /usr/es/sbin/cluster/utilities/clpasswd ...
0
votes
2answers
24 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
41 views

How to find a file in Unix using find command?

I have been trying to search for a file which contains a specific pattern. The pattern is itself in a variable tmpfl echo $tmpfl --> ack_2* Now to find for the file in the current working ...
0
votes
0answers
20 views

How to connect SFTP server using command line [on hold]

I wan to connect sftp server using command prompt.I tried following methods but its not working ssh username@remote_hostname_or_IP AND sftp username@remote_hostname_or_IP Its giving me following ...
1
vote
1answer
17 views

Remotely use SSH key authentication (3

I have a VM using ubuntu 14.04. running on a windows. If I use the terminal on the VM desktop, I can connect to my servers without passwords using registered SSH Keys. When I connect to the VM from ...
1
vote
0answers
7 views

Error compiling buildroot

i updated my buildroot for the version "2014.08" (stable version) and i updated the Kernel version (3.12.26) of my project, when the buildroot try to build the "linux-headers-3.12.26" package, occurs ...
0
votes
1answer
25 views

sed command to print all line starting from and end to specific words present in a file

Suppose I have one file File1 consist two Words File1 : PAPER TEAM Now i need to print all the lines of a file M starting from word PAPER end to word Team sed command to print between two words ...
6
votes
1answer
125 views

Converting sparse file to non-sparse in place

On Linux, given a sparse file, how to make it non-sparse, in place? It could be copied with cp --sparse=never ..., but if the file is say 10G and the hole is 2G (that is the allocated space is 8G), ...
1
vote
2answers
25 views

/init can't find /bin/mount, but find / can?

I have trouble, while booting up a linux machine of mine. During the boot phase, while running the /init script it complains about not being able to find mount. My PATH variable is set to /sbin and ...
1
vote
0answers
28 views

Unable to add eth0 in Rhel 7

I am unable to find eth0 in RHEL 7 after just installation. Even I created the eth0 inside the /etc/sysconfig/network-scripts/ directory. After created eth0 inside the network-scripts, I am unable to ...
2
votes
0answers
5 views

Why libpam-systemd run interactively on apt upgrade, even when specified force-confdef/force-confold

I upgrade my packages using aptitude, specifying the apt options --force-confdef and --force-confold. This generally works, but the package libpam-systemd (204-5ubuntu20.8, on Ubuntu 14.04) still ...
0
votes
0answers
17 views

what happens if route row in the routing tables is empty

I have routing records which have empty values in 'iface' column (SunOS5.10): Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- ...
0
votes
0answers
14 views

Parabola GNU Linux-Libre doesn't boot

OK, I wanted to migrate from Arch Linux to Parabola, so I followed this instructions and after reboot my system just didn't boot anymore. I got into GRUB, after selecting 'Parabola' menu entry I saw: ...
0
votes
0answers
9 views

Kwin with xfce one of two monitors is black

I've installed kwin on my version of Xubuntu by replacing xfwm4 in xfce4-session.xml with kwin, and it's giving me the problem that my primary monitor (as far as I know or have configured) is entirely ...
0
votes
1answer
15 views

Keep PHP's output with tee -a

Normally when running PHP script in web server mode, this would show up: $ php -S 0.0.0.0:12345 PHP 5.6.1 Development Server started at Mon Nov 24 14:09:22 2014 Listening on http://0.0.0.0:12345 ...
3
votes
1answer
33 views

How to search all text files in Ack? (with --text option being now removed)

Manual says that "The --text option has been removed.". It was setting the --type to text, i.e. ack was searching all text files regardless of their semantic category. How to obtain this behavior in ...
0
votes
0answers
16 views

Find out the cause of “Hard Block”

I have a Beaglebone Black I managed to install wifi drivers, find networks to connect to, but I always fail to do so. Apparently rfkill is setting Hard Block which is ( correct me if I'm wrong) ...

15 30 50 per page