Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

3
votes
1answer
13 views

Why does rsync read .bashrc and not .profile?

rsync is a non-interactive program that logs into other machines. It shouldn't need the init file for an interactive shell session, and it should absolutely need the init file for a login shell. Or so ...
0
votes
0answers
10 views

How do I code a program to work with 3D models [on hold]

I want to code a program which displays 3D objects, and just as any Photoshop tool, I should be able to append, edit and remove any other pigments of that object from the final image. Please suggest ...
0
votes
1answer
12 views

using find and delete files/folder - with the exception of 1 folder - challenging

i want to use find and delete everything with the exception of one folder if found. e.g. [oracle@SJOAM test]$ ls -l total 4 -rw-r--r--. 1 oracle oinstall 0 Sep 2 02:05 a -rw-r--r--. 1 oracle ...
0
votes
0answers
5 views

Errors while building my broadcom drivers in Kali Linux

So I started doing whats given in this answer Kali Linux not detecting wireless network in dual boot but then at the "make" step I get this! root@kali:~/Desktop/holy# make KBUILD_NOPEDANTIC=1 ...
0
votes
1answer
24 views

How to make a file writeable for its owner?

Linux newbie here, working on Debian Jessie. Why does chmod u+w not make a file writeable for its owner? I have run: sudo chmod u+w /var/log/myapp/gunicorn-error.log But now if I list the ...
0
votes
1answer
19 views

Finding which browser tab connects to a given IP address

How can I find out which browser tab/task/webpage (Chrome foremost, Firefox second) is or has connected to a given IP address ? For example, if I'm interested in one of SE's IP addresses, my system ...
0
votes
0answers
7 views

ERROR:sync_control_vsync_provider.cc(60)] glXGetSyncValuesOML should not return TRUE with a media stream counter of 0

I'm constantly seeing following message in my rsyslog: gnome-session: [24659:24659:0901/104445:ERROR:sync_control_vsync_provider.cc(60)] glXGetSyncValuesOML should not return TRUE with a media stream ...
0
votes
0answers
3 views

packer.io exit code of provisioning script

I got packer.io for building VM images. I provision VMs with shell script which uses puppet. Now sometimes there is situation where this provisioning script fails to provision VM correctly. I am ...
-2
votes
0answers
12 views

How to solve gtkdialog:9804 error

Hi while running my script I got this error ** (gtkdialog:9804): ERROR **: gtkdialog: Error in line 8, near token '>': syntax error this is my script: #!/bin/bash cp -f im-logo.jpg ...
0
votes
0answers
11 views

Raspberry Pi not connecting to hidden SSID WIFI

I have a problem with edimax ew-7811un on my Raspberry Pi. I am trying to connect to a hidden SSID, let's call it "hiddenssid" with a WPA2 Personal password "hiddenpassword". I can see wifi dongle in ...
0
votes
2answers
24 views

Storing and retrieving a static IP address in a non-standard location in Debian

I need to store my static IP address in a non-standard location; say an EEPROM. This can be retrieved using a shell command. Is it possible to configure /etc/network/interfaces file in such a way ...
0
votes
0answers
7 views

VirtualBox SLES12 install GuestAdditions

I'm trying to install the guest additions in my sles12 guest system (host is win7). I followed the guide in the virtualbox-forum faq and the official tutorial on their website but this doesnt work. ...
0
votes
1answer
11 views

Tty and X session locking

Most GUIs lock the session after a period of idleness or after resuming from sleep, which means that the user is require to reauthenticate themselves to continue the session. Can this be mirrored in ...
0
votes
2answers
17 views

Jumping to previous prompt in terminal

In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow. I'm using iTerm on OSX, but this should be ...
0
votes
1answer
21 views

What is the difference between a Display Manager and Desktop Environment?

I know that a Window Manager just manages windows, and can basically be used with any DE. My question is what is the difference between a display manager and a desktop environment? I ask this because ...
1
vote
0answers
23 views

ZFS not writing continuously to array

Preface: I'm by no means an expert Linux user, but I've played with Linux enough to be dangerous. I'm building a personal server, basically just to use as storage for video and photos. Current specs ...
0
votes
0answers
3 views

How to find configuration that wil emulate specific network conditions with netem / tc?

We had our otherwise well tested application fail once it was deployed on a device connected via a poor wan connection. To be able to debug this we want to reproduce the bad network conditions in a ...
0
votes
3answers
25 views

How to list only files of a certain type in terminal?

How I can list all files of a certain type in a directory? For example, if I want to see all MP3 files in the current folder, what do I do?
1
vote
1answer
20 views

Grep matching lines but return matching key IDs in GnuPG output

Having this input: rsa2048/C7927B82 2015-08-30 rsa2048/FB2D99F9 2015-08-30 I want grep to only return the key ID, for example: C7927B92. Using the pattern from Grep characters before and after ...
0
votes
1answer
7 views

How can I get Git to ignore/drop files I have deleted or that are only file-system artifacts (ending in ~)?

I would like my git repository to show only files that currently exist in the directory. In particular, I just pushed my git project to a remote repository on github.com, and now it's showing all ...
0
votes
0answers
10 views

how to xset dpms force off only one monitor?

I have multi headed setup using KDE display manager with proprietary nvidia drivers (no xinerama, single X server). Usually I keep only some server monitoring stuff on second monitor, eventually web ...
0
votes
1answer
28 views

Shred File without overwriting blocks

AFAIK, a file on a file system has two components. The pointer that stores the directory path of the file. Also stores the list of sectors/blocks on the disk that the file is composed of. The real ...
2
votes
1answer
29 views

Linux: Presenting a larger-than-real file system?

Does anybody know if it's possible to have a small Linux filesystem with apparently limitless (or very big) free space? We have a Samba server with lots of filesystems, all available from a small ...
6
votes
4answers
391 views

Scaling and rotation of image without depending on EXIF data?

Is there such a thing as a simple image editor for Linux which allowed for scaling and rotating the image without using EXIF data for the scaling and rotation? So far have I tried EOG, Shotwell, and ...
1
vote
0answers
16 views

deleted linux mint from windows 8 dual boot reinstalled linux can't make it work

I have a lenovo g710 laptop with windows 8.1 preinstalled.I made a dual boot with linux mint and everything was ok.Then i did something in linux terminal and when i restarted the pc linux wouldn't ...
0
votes
0answers
17 views

Unable to run yum command

I'm unable to run yum command on my Linux machine. I'm getting the following errors: dispsim:~$ yum Failed to set locale, defaulting to C Loading "rhnplugin" plugin Loading "security" plugin error: ...
0
votes
1answer
10 views

tuleap and agiledashboard plugin

after I've installed and enabled agiledashboard plugin, I'm not able to access web home of Tuleap anymore. I found the following kind of error in httpd log: [Mon Aug 31 10:48:10 2015] [error] ...
0
votes
1answer
15 views

Linux kernel working only on kernel mode

Porting the Linux kernel to an architecture that has no execution modes (is always in kernel mode) and has no MMUs seems like a very unprotected system. Would it be possible to make Linux run in that ...
0
votes
0answers
6 views

proc/meminfo :MemTotal vs MemFree

There is an excellent summary of the various stats returned by proc/meminfo in this SU thread. However,it does not explain the MemAvailable statistic which I gather is relatively new. I am assuming ...
0
votes
1answer
9 views

How to boot into single-user mode (runlevel 1) without entering root password?

In Fedora 22 and Ubuntu 15.04, whenever I boot into "single-user"/"recovery" mode, I'm asked for the root password. This is a new behavior; I remember that it used to drop me straight into the root ...
1
vote
1answer
24 views

sed option to preserve file times during a find/replace?

I'm trying to modify some Autotool files because a project is not honoring my CFLAGS, CXXFLAGS and LDFLAGS. I located some areas where I could likely make the change with a grep for libtool: link. ...
0
votes
0answers
14 views

Is it possible to copy files that skip the file system?

I got many files(for a 4TB HD, 50M+ file count) to upload to S3. To make it multi-worker upload, I have adopted tmpfs to enable concurrent upload, and there may be 1 or 2 copy-to-tmpfs worker that ...
0
votes
2answers
12 views

Kali => ssh_exchange_identification: Connection closed by remote host

I'm using Kali Linux to connect to a server remotely using SSH, it used to work out, but suddenly I got the message: ssh_exchange_identification: Connection closed by remote host Even though I've ...
0
votes
1answer
9 views

LAMP Setup on CentOS at DigitalOcean

I'm following this tutorial. I got some issues start from step four: Configure Nginx to Process PHP Pages. After I typed this $ sudo vi /etc/nginx/conf.d/default.conf. I can't find server { listen ...
0
votes
1answer
10 views

How to find all keyboard shortcuts to a process/program in Linux?

Is there a way to find all keyboard shortcuts for a given process/program in Linux(SuSe)? I have googled tons of stuff,but don't get anything useful. Could someone give me a tip?
1
vote
1answer
33 views

Establishing an SSH connection between machines behind firewalls

I have two machines, A and C, each of which is behind a firewall so they can’t accept incoming SSH requests on port 22. I have a third machine, B, outside both firewalls and I wanted to SSH from A to ...
1
vote
0answers
7 views

Use existing encrypted directory as home directory

In the past, I installed Ubuntu 12.04 with /dev/sda4 mounted as /home. I encrypted my home directory. Today, I erased all the partitions except /dev/sda4 and I installed Xubuntu 14.04 on a new ...
0
votes
0answers
9 views

Replace system disk - centos 6.x

I have a Precision 380 running CentOS 6.5 where the (one and only) disk appears to be failing. I'd like to copy out everything to a new drive and have it take over as the system disk so I can ...
0
votes
0answers
8 views

Is it possible to share printer in guest Windows to host Linux?

I'm using Linux in company, and cannot set up printer in Linux, so I installed VirtualBox in Linux, and in VirtualBox I installed Windows, I can print in this Windows. But it is very bother to print ...
1
vote
1answer
36 views

Monitor Mode doesn't work in Kali 2.0

For the last year or so I have been using this exact setup with Kali 1.0. Everything worked fine with Wireshark. Now, when I am connected to a Wi-Fi access point my card REFUSES to stay in monitor ...
1
vote
0answers
19 views

Force media to be mounted to /dev/sr1 instead of /dev/sr0

I would like to be able to have the first device that I mount to a linux host be /dev/sr1 instead of /dev/sr0. I am trying to script installing IBM’s SVC. There installer is hardcoded to expect the ...
1
vote
0answers
11 views

remove pdf stamp that has been added by pdftk

Question: Can you remove a stamp added with pdftk, using Linux command line tools? Motivation for the question: I have tens of thousands of scanned pages, in hundreds of pdf files. I would like to ...
1
vote
1answer
18 views

How can I use Pacemaker to setup a virtual IP for receiving syslog messages?

I need to setup a VIP / floating IP that network devices will send their syslog messages to. The idea behind the VIP is to have a highly available setup in an attempt to minimize the amount of logs ...
1
vote
0answers
7 views

Booting Windows and Linux across two physical drives

I'm trying to get Windows 7 and Kali Linux bootable on an old laptop, but there are a few considerations that are making it difficult: 1) Windows 7 is on an SSD, while I installed Kali on the ...
0
votes
1answer
23 views

Difference between apache2 and apache2-bin?

My digitalocean server is running Ubuntu 14.04, and I'm trying to install Apache. When I just type in "apache2" to PuTTy, it says: The program 'apache2' is currently not installed. You can install ...
0
votes
1answer
12 views

Update Debian8 JRE 1.7 => 1.8

The OpenJDK website reports installation is a simple one line operation. Debian/Ubunutu is specifically referenced in the instructions. http://openjdk.java.net/install/ sudo apt-get install ...
0
votes
2answers
19 views

tcpdump not capturing any packets

I'm trying to monitor what's going on in my network, so I've tried tcpdump command. I'm just learning to use it, so I thought on playing around a little bit with it. My problem is that I cannot ...
1
vote
0answers
18 views

Is it possible to setup a NAT loopback on a router with a dynamic IP using iptables?

I've set-up a Raspberry Pi home server attached to my router. I have a dynamic IP. I can access the server within my network using the internal IP (192.168.0.8). I can also access the server outside ...
0
votes
1answer
14 views

Debian can't access partition with user, only root can

I have a permission problem - my users can't access to partition. this partition is mounted with debian installer : # /data was on /dev/sdd2 during installation ...
0
votes
1answer
11 views

How to use touchpad gestures to scroll back and forth in history on non-Mac OSX devices in Google Chrome?

I prefer the way how Mac OS X allows users to use touchpad gestures to scroll back and forth in the tab history of Google Chrome. Is it possible to use similar touchpad gestures on non-Mac OS X ...