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

1
vote
0answers
9 views

Lost desktop in Kali 2

I'm using kali 2 on a USB stick. I tried to install my favourite desktop environment cinnamon but something went wrong :-( first I installed the cinnamon environment by apt-get install ...
3
votes
2answers
188 views

How to execute a second condition if the first condition is true in Linux shell scripting

I have an if condition. If that condition is true then one script will be run and after that I need to check another condition. How can I do that using an if statement or something else? For ...
0
votes
1answer
9 views

QEMU/KVM fails to start on openSUSE

I've gotten this to run before. I'm using the OVMF BIOS image and the EFI executables generated using this guide. I ran sudo qemu-system-x86_64 -bios /usr/share/qemu-ovmf/bios/bios.bin -hda ...
0
votes
0answers
4 views

Problems with shared files via Samba from Windows and Ubuntu

This is my intended result: have a linux machine (let's call it UbuntuServer) share two sorts of file shares: home folders one common folder with shared documents Then I have a number of Ubuntu ...
0
votes
1answer
26 views

Minimal Desktop to Centos 7

I am running a very low RAM (1 GB) system and I have the minimal centos 7 installed on it. Now I need to use a window manager and I cant find the lightest. GNOME, KDE... are too heavy. I just want to ...
0
votes
0answers
5 views

Postfix + Dovecot prevent vUsers to override previous Replies on the eMails

After I installed the iRedMail (Postfix, Dovecot, ....), the Business Request is to prevent the Users edit the Previous eMails Bodies during their Reply, Reply all, or Forward. I searched for ...
0
votes
1answer
12 views

I need to block the POP3 DELE Message by IPtables - Linux

I installed the iRedMail (Postfix, Dovecot, ....) and create Mailboxes for Users. But I hanged in the Deletion Request. I want to prevent vUsers (that have MAilboxes) from deleting the eMails ...
-3
votes
1answer
28 views

Automatic start of processes in linux server if error found

please check below script . here "sanity" and "start" are the scripts . It will work ? please suggest > #!bin/bash > DATE=`date +%Y%m%d` > touch opt/logs_$DATE > sanity >> ...
2
votes
0answers
18 views

Enabling readline?

I have an .inputrc file set up on a system that doesn't seem to be respecting it. If I bind the file (as per this post) or try to load it with C-x C-r, nothing happens - I still do not get any of the ...
-1
votes
2answers
17 views

linux find command to keep only .h files

I have a source tree have lots files with different file types. The source tree has many sub folders. How do i keep the folder structure of the source tree and delete all files besides .h files?
0
votes
1answer
9 views

Simulia Abaqus installation error under Linux (Mint 17.2)

When executing the setup script from a Simulia Abaqus 6.14 installation directory under Linux (Mint 17.2), I receive an error upon launching the installer. The Abaqus installer appears to run in Java, ...
1
vote
0answers
26 views

iptables is treating traffic from different hosts differently in spite of rules

Something spooky is happening here and I don't know how to fix it. Summary: traffic that appears identical to tcpdump is being treated by iptables differently. Details below. Test setup: device ...
0
votes
0answers
10 views

Transfer settings from a Fire Stick with Kodi to another stick

I am looking to transfer settings from one Amazon Fire Stick running Kodi to another. I am looking to do this via command line using adb and the Android SDK. My original question is here: ...
1
vote
0answers
8 views

Is there any way to get Sublime Text 3 to force all files to open in a new window?

Is there any way to force every file to be open in a separate window of Sublime Text 3? I use i3 and would prefer to have my Sublime Text files open in a tabbed layout of that rather than tabs within ...
0
votes
0answers
12 views

Centos 7 with window manager

I am using Linode as my Cloud hosting and I installed a minimal Centos 7 in my server. Everything is fine. I thought it was a minimal instalation but right after I install "firefox" (yum install ...
0
votes
0answers
12 views

Unable to load correct Python module

I am working on a cluster where I do not have sudo privileges and am trying to link to a custom installation of numpy for optimization reasons. I set up my PYTHONPATH in the following way: export ...
-1
votes
0answers
6 views

tuffy can't get custom kernel to work, broken things USB2 radeon raid reiserfs

Please note that I've tried asking on linuxquestions but they had no clue, I also tried asking the kernel devs, but non of the free email services that I can find allows the bandwidth that would be ...
-1
votes
0answers
10 views

What should i do to make internet work properly on linux mint?

When i installed linux there were no broadcomm wireless drivers . so i opened driver manager and installed it from there after that internet worked fine but after an hour it stopped working , the ...
0
votes
0answers
2 views

Multiboot AD Binding Script Trouble (Error 10001)

So let's preface this with what I'm trying to do: I'm using DeployStudio to deploy multi-boot Macs, such as OSX10 and OSX09. My workflow goes like this upon Netbooting into the deployment server ...
0
votes
2answers
18 views

kworker is running modprobe every second

Using fatrace, I discovered that on my computer, modprobe runs approximately every second. To find out why, I replaced modprobe temporarily with this script: #!/bin/bash echo "$0" "$@" > ...
0
votes
3answers
38 views

Loop inside EOF - UNIX SCRIPTING

I am writing a script to automatic start up of an application whenever we found error in logs. so #/bin/bash if [ grep -c 'error' logs -eq 0 ] ;then exit else start <<EOF ## start is a ...
1
vote
0answers
8 views

OpenWRT - Install Apache - Barrier Breaker 14.07

I'm trying to find an Apache package for the Barrier Breaker 14.07, however there doesn't appear to be one in the package repository. Also I can't seem to find one online, I have been searching ...
1
vote
1answer
38 views

I added 500MB vdisk and it's showing 524MB, Why?

I added via vSphere 5.5 a new Hard Disk of 500MiB to a virtual machine and the server sees it as 524MB. Any idea why? fdisk -l >Disk /dev/sdg: 524 MB, 524288000 bytes >64 heads, 32 ...
1
vote
0answers
16 views

ipfw fwd in iptables or how to answer on non local adress

I have few servers working in scheme, for example, like this(sorry for my poor drawing): All servers have public IPs, I changed them for private in my examples. _______ |network| ...
2
votes
2answers
30 views

Backup to external drive with full disk encription and bit rot prevention

I have a new USB external 2TB HDD and would like to use it as a backup for my home server. My wishes are: full disk encryption (the disk will be stored off-site) bit rot prevention Currently, I ...
4
votes
4answers
25 views

Strange “find” behavior in linux

Why in Linux(Debian 8) touch 1.cpp 1.h find . -name "*.cpp" -o -name "*.h" -exec echo {} \; outputs only 1.h while find . -name "*.cpp" -o -name "*.h" outputs both? Is it a bug or feature?
0
votes
0answers
3 views

Audio Latency on Virtualbox Windows Guest on Linux Host

I am trying to run Cubase (music production system) inside a Virtualbox Windows Guest machine on a Linux Host. I have also installed the ASIO4All driver on the Windows Guest to reduce the latency. ...
0
votes
0answers
10 views

How to search only current directory in Nautilus (restore old behaviour)

Does anyone know, how can I bring the back the old nautilus behaviour? In old version (Debian <7), when I typed, the nautilus moved to first file that started with that typed phrase. In new ...
-1
votes
0answers
26 views

How can we call batch file in linux? [on hold]

Actually I want to call bat file from unix box.How can I make it possible as we all know unix does not support bat file.
0
votes
0answers
10 views

how to keep the window's name fixed in tmux after I rename it with zsh

I use zsh with oh-my-zsh and tmux 1.8.1 I want the windows' name changed with the changing of my dir,but fixed after I first rename it. It is fine when I use shell, but the windows' name will still ...
1
vote
0answers
15 views

sz and rz fail to transform files in tmux?

I use xshell to SSH to a Linux remote server—running Red Hat Enterprise Linux AS release 4 (Nahant Update 3)—without root. There aren’t any problems to use sz, rz to transform my files until I start ...
1
vote
1answer
22 views

Partition directories into subdirectories based on directory name

Background: a client's website stores user profile photos and other attachments into a single flat folder /user/images/*user_id*. They recently hit the directory limit (echo */ | wc echoes 31998, file ...
0
votes
2answers
25 views

How to SSH to and connect back to original network?

Once I’ve connected to my Linux Machine(B) over the internet from my current PC(A), is there a way to run software on that machine(B) on the local one(A) so that it uses the original network. For ...
0
votes
1answer
17 views

FFMPEG merge consists of only one a single video instead of all of them

I am trying to merge several mp4 videos together in a folder. However, when I run the following script, sometimes only 1 video is in the output. For example, if I have video1, video2, video3, and ...
1
vote
0answers
11 views

systemctl do something between stop and start during restart or kill

I have a C++ program that runs as a non-daemon (but could be changed), and I'm controlling it with systemd. That works. Albeit with the ugly that to restart it I need to either be root (to use ...
1
vote
1answer
17 views

StandardOutput option of systemd is not working

I'm using systemd to start a program on boot and keep it running in the background. I wrote a simple script for systemd to call and the script will print several lines of logs which I'd like to see ...
5
votes
1answer
63 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
14 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
25 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
19 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 make ...
0
votes
1answer
29 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
32 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
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 ...
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
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
12 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
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
28 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 ...