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

0
votes
0answers
15 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 ...
-2
votes
1answer
27 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 ...
5
votes
3answers
176 views

Understanding file permissions

What is the ending r for and the leading d for in file permissions on Linux? Example: drwxr-xr-x I know about the user, group, others part, and I know w=write, r=read, x=execute. But I don't know ...
-4
votes
1answer
942 views

Cygwin responds with Permission Denied when I try to copy a file

I am a complete beginner to Cygwin and am trying to copy a file. cp /cygdrive/c/Users/name/Downloads/file_name . Cygwin responds with cp: cannot create regular file `./file_name': Permission ...
1
vote
1answer
17 views
+50

How Can I export/source/. from mate -e?

I'm trying to write a simple script that starts a terminal and runs the command workon foo. In other words, I just want to do: mate-terminal -e workon foo However, that doesn't work because the ...
0
votes
1answer
35 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
1answer
29 views

How to make a file writeable for its owner? [duplicate]

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 ...
1
vote
1answer
7k views

How to make a desktop icon on centos 7?

I am new to Linux and this may sound very dumb but I need to make a desktop icon on centos 7 but I don't know how to do it. I tried googling but I can't even find Launcher. Need help
0
votes
2answers
33 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
10 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 ...
4
votes
3answers
547 views

Merge by date multiple log files that also include un-dated lines (e.g. stack traces)

How can I merge log files, i.e. files that are sorted by time but that also have multi-lines, where only the first line has the time, and the remaining ones have not. log1 01:02:03.6497,2224,0022 ...
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 ...
0
votes
0answers
32 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
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
0answers
13 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
14 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
1answer
31 views

start systemd-nspawn/systemd container on boot

I've been working with systemd-nspawn and have a couple of containers that I'd like to automatically start at system start. I'm using arch linux and according to the archwiki entry, the following ...
0
votes
0answers
8 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 ...
169
votes
20answers
89k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
0
votes
1answer
30 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 ...
0
votes
4answers
4k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...
1
vote
1answer
27 views

SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

I am running a PHP script on a RedHat server using Teradatas ODBC drivers. <?php $conn = odbc_connect("Teradata", "username", "password"); $result = odbc_exec($conn, 'SELECT count(*) FROM ...
1
vote
1answer
2k views

How do I show the Empathy icon in the menu bar's notification area?

I removed the default mail notification drop down since I only use an IM client, and don't want to have to go through an extra menu to get to it. After removing it, I tried the Empathy preferences and ...
1
vote
1answer
27 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
1k views

How to spoof the MAC on a wifi, Linux Mint 17, with NM?

I can't find a reliable way to spoof my mac. If I use the "clone MAC address" on network manager (I use Linux Mint 17, Cinnamon), I can't connect to my wifi. I tried everything, unless I remove the ...
15
votes
8answers
25k views

Make ls sort by file type (then name)

By default the ls command sorts just by filename, but I want directories to appear before other file types. I might even want files to be sorted by extension, like the way Windows explorer sorts by ...
12
votes
5answers
4k views

Bad results converting PDF to EPS on Linux

I'm having some trouble converting PDFs (created by Adobe Illustrator on a Mac) to EPS. I have tried several things but I am wondering if there is a better option. The following list is ordered by ...
2
votes
1answer
481 views

Raspberry Pi VPN with 3g dongle for internet access

I'm trying to set up a VPN connection on my RPi, but always times out. I have a DDNS setup and the public IP address is updated using ddclient. I have a network machine connected to eth0 and a 3g ...
0
votes
1answer
3k views

ext4 vs btrfs performance on SSD array

I am observing something that I cannot explain. I am trying to come up with a good filesystem configuration using HP P420i controller and SSDs. Out of curiosity I have tried BTRFS (still unstable so I ...
1
vote
2answers
4k views

Installing Dropbox on headless Ubuntu 14.04 x64: permissions error

So I'm trying to install Dropbox (as root) following the seemingly easy instructions on dropbox.com: cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - ...
2
votes
1answer
732 views

environment using su - vs “ssh user@machine” as a user on lucid

I'm trying to debug a shell environment issue on a machine running lucid. Both root & user have /bin/bash as their shell in /etc/passwd When I use "sudo su - user", my PATH includes the following ...
2
votes
3answers
5k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
1
vote
0answers
23 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
1answer
37 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 ...
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 ...
8
votes
4answers
423 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 ...
0
votes
0answers
14 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 ...
5
votes
3answers
4k views

Can Bitlocker be used in a dual boot system with Windows on one drive, Linux on another?

My workplace allows for remote logins to the company network, with certain prerequisites for securing a computer before making the connection, one of which is that Windows must be used to make the ...
16
votes
3answers
20k views

How to enter login information for a website from the linux command line

My internet connection is provided by the university. It is protected to a username/password combination. This means when I start up my computer, I have to start a web browser and open an arbitrary ...
0
votes
2answers
22 views

Opening port in iptables doesn't work

I add the following line before COMMIT in /etc/sysconfig/iptables: -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT Then I use service iptables restart to restart iptables, but the ...
0
votes
1answer
32 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
2answers
2k views

Linux 'at' command history

I got an email from root with the subject Output from your job # I guess this came from my at queue because I recognized the command. But the thing is I submitted this at command 3 weeks ago and ...
0
votes
1answer
11 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
2answers
105 views

Can an LTSP server use a GPU for client rendering?

I am setting up an LTSP (Linux Terminal Server Project) server and some Raspberry Pi's as thin clients. Could the server make use of a GPU to increase the performance of rendering the thin clients' ...
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
102 views

How to delete the 2nd bootloader created by EasyBCD and leave GRUB?

I have two bootloaders now; I have the GRUB and the EasyBCD that I've created before the Linux was installed properly. After reinstalling Ubuntu for the 2nd time, the GRUB came right, but now that I ...
0
votes
1answer
3k views

Networking lost after update from Debian Wheezy to Jessie

I am currently setting a Virtual Machine for development purposes. I did a big part of this configuration under Wheezy, but I need some debs that were available only on Jessie. So, I've updated the ...
1
vote
0answers
24 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
1answer
13 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
2answers
13 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 ...