These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
30 views

Creating a specific chrome window and use it as drop-down search window

I am using a simple script runs as "toggle.sh process1" which toggles visibility of process1 if it exists and if it doesn't exist then it launches process1. It is really simple but useful. I use it ...
0
votes
0answers
28 views

Boot Linux with sysVinit and systemd hybrid

I have a firmware loading tool that uses a two-step boot process modeled after a live disk, running on an embedded device. First, Linux boots using SysVinit and inittab runs the tool. Next, the ...
0
votes
0answers
7 views

Deploying application in Tomcat using Manager app

We have Tomcat installed in our landscape on SLES 11 and it is being run using the ID "tomcat". We were provided the access to deploy apps using Tomcat "Manager GUI" app. Whenever we do that, it will ...
-2
votes
0answers
12 views

Why are these printfs behaving differently? [migrated]

I'm practicing threaded programing and found this. When I printf("1"), the output will comes after a few seconds, but when I printf("\n"), the output comes step-by-step. Why? #include<stdio.h>//...
0
votes
1answer
23 views

Compiling PHP with apache mod_php on Linux

I need to compile PHP with apache module on Kubuntu. I have installed both apache2 and apache2-dev. But I am unable to locate apxs2 nor apxs. $ uname -a Linux hppavilion 4.4.0-21-generic #37-Ubuntu ...
0
votes
0answers
25 views

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
1
vote
0answers
20 views

Issue with resume after suspend to disk

I am having an issue with the suspend to disk feature for ARM Linux Kernel version: Linux 4.2.0-rc3-00115-gc5dfd65-dirty #4 SMP PREEMPT Fri Jul 24 12:15:54 CEST 2015 armv7l GNU/Linux I can suspend ...
1
vote
0answers
45 views

Install torrent CLI on montaVista 6

I have been trying to figure this out for a while now but I have never made any progress with it. How can I install a torrent client on my NAS (Seagate Central) box which runs MontaVista 6. I have ...
3
votes
1answer
28 views

What program to use to open files? (gnome-open, gvfs-open, xdg-open, etc.)

I have a Java program that runs on Linux, and from within the program, I want to open files (e.g. PDF files) with the system's native viewer. There are various programs available for this purpose: ...
1
vote
1answer
48 views

is it possbile to add comma in this SQL?

I have a statement like this UPDATE `test`.`scores` SET id=1 name='kobe' score=99 WHERE id=1 name='kobe' score=100 UPDATE `test`.`scores` SET id=2 name='tmac' score=70 ...
0
votes
0answers
4 views

Does updating the firmware as required by a Linux distbution alter the machine for use with a different OS? (i.e., Windows) [migrated]

I'm trying Lubuntu and seeing the same error as here in version 16.04 (Ask Ubuntu question): *starting configure network device [ 110.081458] b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found [ ...
0
votes
1answer
22 views

centos6.4 fetchmail not downloading mail more than 5MB?

i just configured fetchmail in CentOS 6.4. by the help of this tutorial everything is working mail is downloading well. But it's not downloading mails with attachments more than 5MB(approx.). ...
0
votes
1answer
15 views

FTP server setting with sharing directory

I'm setting FTP server Let say we create the CLASS A and CLASS B making class A and class B not allowed to go other directories chroot_local_user = yes and I want to make a sharing folder ...
2
votes
1answer
30 views

How to restart ngnix server on CentOS

I recent buy a VPS on DigitalOcean and installed CentOS and follow the tutorial to install Ngnix Server, then I follow the tutorial to create a Virtual Host, but when I put this command to restart: ...
0
votes
0answers
22 views

Using an SD card's in-built protection mechanisms

Some SD cards support the following: Toggling temporary write protection. Activating permanent write protection. Setting and clearing a password that is required for reading and writing data. How ...
1
vote
1answer
61 views

What does “cpu MHz” field mean in the /proc/cpuinfo of a hyper-threading cpu?

The CPU is a i7-3770@3.40GHz. It has 4 cores and each core has 2 threads. Here is the dmidecode output: # dmidecode -t 4 # dmidecode 2.9 SMBIOS 2.7 present. Handle 0x0042, DMI type 4, 42 bytes ...
0
votes
1answer
27 views

Ping through a specific Ethernet port

I am using RHEL 6.4, I have teamed two Ethernet ports (eth2 and eth3). I am trying to test the connectivity, I mean I want to test whether the eth2 and eth3 are working or not? One way is to disable ...
1
vote
1answer
64 views

How to connect to device via SSH over direct ethernet connection

I have a device that I need to connect to over SSH. The device is connected to my workstation via a direct ethernet connection. I'm attempting to assign the connected device an IP address somehow that ...
0
votes
0answers
34 views

Installing Anaconda

I'm having trouble installing Anaconda for Python 2.7 on Elementary Freya 64 bit. I downloaded the sh file but when I type bash Anaconda2-4.1.1-Linux-x86_64.sh it keeps giving me the message "no such ...
0
votes
1answer
22 views

disable second mouse click, that clicked immediately.

My mouse is corrupt. So that sometimes when I click one time, it is clicked two times itself. Double-click happen when I just clicked once. How can I disable mouse click, for 0.5 second, that after ...
0
votes
0answers
11 views

Debian 8.5.0 + Django: Module 'typing' not found

I'm using Django on Debian 8.5.0 with python3.4. I keep getting an Import Error on the line 'import typing': importerror: module 'typing' not found. I already installed module typing with pip install. ...
0
votes
0answers
13 views

Sort, right-click context menu, on linux vnc desktop

I use Open in Terminal lot of times. On right-clicking VNC desktop, more often, create folder is clicked. To avoid that I wish to have Open in Terminal on top of menu or remove Create ... options ...
0
votes
2answers
32 views

Ubuntu 15.10 Networking Problems

I recently deployed a VM with Ubuntu 15.10 and I am having trouble configuring the network properly. Note: When the OS was installed, it picked up an IP (from DHCP I guess), because it didn't ask me ...
0
votes
1answer
22 views

CPU graph not functioning properly

My conky's cpu graph appears to not be functioning properly. It is just a block as per the screenshot that does not respond to actual cpu usage. Kind of annoying. I have also attached my conkyrc. I ...
0
votes
0answers
22 views

Owncloud did not recognize new folders

I have installed owncloud on my raspberry PI. I use my external HDD as database for my owncloud. Yesterday I disconnect my HDD from PI and connect it to PC, it is much easier to create and fill ...
1
vote
1answer
25 views

linux + iptables + /etc/sysconfig/iptables

on my linux machine I see the following: iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source ...
-4
votes
0answers
38 views

OpenSUSE startup stuck at the loading screen

hello I almost got solved my problem opensuse can login as root but not as user now here is how things works . I turn on my pc then I choose (I got two OS-es) opensuse , system starts loading and at ...
3
votes
2answers
249 views

What is zImage, rootfs

I am very much new to Embedded Linux. We use poky build system. We just use bitbake linux-imx command to build the kernel. It generates some files zImage, rootfs, uboot and also a sdcard image. We ...
0
votes
0answers
12 views

How to install USB 3G dongle in apricityos (Arch linux)

I'm using Apricity Linux (Based on Arch Linux) as my developing platform. Recently I bought a 3G dongle, but I am unable to install it in my OS. There's a setup supported for Linux in the dongle. ...
2
votes
2answers
208 views

Why on some Linux systems, does the root filesystem appear as /dev/root instead of /dev/<real device node>in mtab?

I've seen on various Linux systems where instead of the real device node (for example: /dev/sda1), the root device appears as /dev/root, or instead of the real filesystem, mtab says it is a filesystem ...
0
votes
0answers
28 views

Choosing the right Centos release

I am remotely accessing the server which is a Linux machine using Putty and VNC viewer. On my server I have Cadence circuit simulator installed, so I am remotely logging in to get access to Cadence. ...
0
votes
0answers
30 views

Which Kali Linux kernel image should be chosen and why? What is the difference?

Among the following, which Linux kernel should be chosen and why? How does each of them differ from vanilla kernel? What is meaning of grsec, bpo, rt and dbg? What kind of functionality do they add ...
1
vote
1answer
27 views

Event dispatcher in bash (Ubuntu Gnu/Linux) [duplicate]

Are there any methods or bash tools that can observe some events (such as creating a folder) and then do another actions?
0
votes
1answer
36 views

wireless network working erratically on debian

I can't figure out how to make WIFI work correctly on debian. First of all, when I just installed Debian I had WICD as the network program. This program doesn't work correctly. Specifically it can't ...
1
vote
1answer
52 views

Changing Xvfb frame buffer resolution while it's running

I run Xvfb with command: Xvfb :1 -screen 0 100x100x16 -fbdir /tmp And it's working fine. I can connect via VNC, and now under /tmp directory I have Xvfb_screen0 binary file. I thought it will act ...
-2
votes
0answers
30 views

convert the input from c program using command line [migrated]

I have written the following c code on emacs that can take line inputs from shell and output that on shell. #include <stdio.h> static char string[200]; int main(){ printf("...
1
vote
0answers
32 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
0
votes
0answers
26 views

yum + how to know to which site yum download the packages? [duplicate]

when I am installing rpm by yum (VIA Red Hat Network) as the following example down how to know to which site (URL ADDRESS) yum refer to? for example https://rhn.redhat.com or https://...
1
vote
2answers
39 views

How can I run Linux in a VM on a Retina MacBook Pro in Hi-DPI mode?

I use a Retina MacBook Pro. I run Linux in virtual machines for development work. I occasionally use the Linux GUI directly in the virtual machine, but most of the time I ssh (with the -Y parameter) ...
0
votes
0answers
8 views

Lost Mouse and Pointer as well Screen settings

I do run Ubuntu 14.4 on an Server with a Desktop on it for the user, that works as well on the server. Since there was a faulty drive in the Raid, I had to reset all for the efiboot and grub, as the ...
1
vote
0answers
32 views

LVM mounts deadlocking the kernel

I am running a Linux system that mounts a lot of LVM disk images, and indexes the contents of the filesystem. Frequently (about once a day), the whole system deadlocks as it tries to mount an LVM ...
6
votes
1answer
109 views

How do I get vendor-given name of my video card?

lspci gives me the following information: $ lspci|grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1) This is all correct, but this is generic name of ...
1
vote
1answer
107 views

How to completely block ssh and pings to server running Oracle Linux 6.7

We are facing IP abuse issues and want to completely BLOCK ssh and ability to ping our servers running Oracle Linux 6.7 and only allow vnc connections. How to achieve this using linux firewall or ...
0
votes
0answers
29 views

SSH Connectivity Issue on AWS EC2 after trying to mod fstab and checking sshd_config

I cannot for the life of me connect back into an EC2 instance based on Amazon Linux AMI 2016.03.3 (HVM). After initially creating the server, logging in and installing docker, jenkins etc... I had ...
3
votes
3answers
373 views

Build my own firewall, in Java or other high-level language?

I posted a question on ServerFault about a specialized Firewall setup, but as an avid software developer I am also considering rolling my own. I am only interested in using a high-level language, ...
4
votes
3answers
230 views

Difference in cat sth vs cat < sth [duplicate]

I am new in linux.I have been playing with bash commands and realized that cat sth and cat < sth both happen to give same output. Are they same? Can someone explain?
0
votes
1answer
16 views

exiv2 piped to grep - random inconsistent behavior

For a bunch of jpg photos, I have this (simplified) script to be able to extract the original date when the photo was taken (if different of 0000:00:00, not relevant for this case) for f in *.jpg; do ...
0
votes
0answers
18 views

How to add a # to the begining of a line, only specific lines that I grep for [duplicate]

I have a file that has many thousands of lines. I what to comment out only specific lines in the file. I want to add a "#" to the beginning of the greped for line plus 2 lines above and one line below ...
0
votes
0answers
20 views

Log notifications sent by process and its descendant

I have a process which creates a lot of processes, I know that processes can send notifications using /run/systemd/notify (systemd-notify). Is there any way that I can launch processes and log all the ...
0
votes
1answer
23 views

Is there any way to Install postgres from Binary in linux machine irrespective of Linux build(Debian/CentOS/others)

I am trying to install postgres on different machine using ansible. Currently I am using postgres source to install on a partical location. Its taking too much time. Is their a way to run postgres by ...