A family of Unix-like 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
1answer
13 views

Difficulty getting /etc/rc.d/init.d tomcat startup script working

I have the following startup script that on reboot does not bring up tomcat: #!/bin/bash # # description: Apache Tomcat init script # processname: tomcat # chkconfig: 234 20 80 # ### BEGIN INIT INFO #...
14
votes
7answers
11k views

Advantages of cat'ing file and piping to grep

Are there any additional advantages of cat'ing a file and piping it to grep, besides convenience? The convenience being that, when I retrieve commands such as those below from my history, the cursor ...
1
vote
1answer
25 views

How to drop privileges in a Debian Chroot?

I'm testing some software under Debian X32. Its a chroot environment, and its entered upon as root. Some of the tests are failing because of the root account: make test ... # Failed test 'Testing ...
0
votes
0answers
6 views

Recovery on OS X without losing data

Today I installed Linux on my MacBook Pro 2011 after I installed MacBook boot directly on it. After with they option key, I booted on OS X v10.11 (El Capitan), and with gdisk. I tried to make it ...
1
vote
0answers
13 views

Can I change the default gateway of a Docker container from a Compose File?

I've created a Docker container from a Compose file with two interfaces by specifying two networks to connect to, like so: container: ... networks: xen_net: ipv4_address: 10.0.1.100 ...
8
votes
2answers
6k views

Is there a way to disable the DHCP client in Raspbian Linux on a Rasperry Pi?

I have a Linux server (Rasperry Pi using Raspbian as OS) that should be using only static IP. However I noticed that it also has got IP from DHCP server (The IP given out by DHCP is 192.168.111.2). ...
3
votes
2answers
378 views

Is there an xsel equivalent that supports rtf?

I'm wondering if there is a command line clipboard manipulation program for Linux like xsel or xclip that supports RTF formatted data? What I mean is, if I use xsel to put RTF data on the clipboard, ...
0
votes
1answer
4k views

Checkpoint VPN client not connecting, Debian Wheezy

Edit: what I'm looking for here is help finding out what's going on at the OS level, so that I can find out for sure whether the problem is on my end or my workplace's end, or in between. I'm not ...
1
vote
1answer
21 views

Lampp (xampp) stop after reboot, not work autostart on Ubuntu

I am working with Ubuntu Server 15.04, I have a problem at some point in the night the computer restarts or shuts off the power goes out or simply stops working the lampp (Xampp) apachefriends, I ...
-1
votes
1answer
49 views

How can I fix my computer when I deleted the boot drive?

I accidentally formatted the boot partition on my 8-year-old Linux Fedora 17.?? computer. Now it won't start, after pressing the power button it says: GRUB Loading. Welcome to GRUB! error: no such ...
0
votes
0answers
7 views

Can't resize some Gnome 3 applications over SSH with PuTTY+VcXsrv

I'll preface this with that I'm uncertain if Gnome 3/gtk3 is at fault or VcXsrv, or a combination. With VcXsrv 1.18.1.1 and 1.17.2.0 I can't resize some gnome 3 gui applications over ssh -X with ...
2
votes
0answers
19 views

DISPLAY environment variable is always 0

I have two monitors attached to the same desktop computer. However, when I do echo $DISPLAY, it prints :0.0 on both screens. Shouldn't echo $DIPLAY print :0.1 from one of the screens?
-1
votes
0answers
27 views

What are the downsides of running Linux off a pendrive?

I recently replaced my PC with a new one, moving my hard disks from the old one to new. I'm planning to use the old PC to control some tinkerer's machinery in the garage; problem is it's currently ...
1
vote
1answer
47 views

Issues building Node.js v4 for ARM with software floating-point emulation

My team is developing a product on an embedded Linux OS running Node.js for the web back-end for device configuration. We're porting our code to a system with an arm processor that does not have a ...
1
vote
0answers
15 views

Server doesn't start, maybe partition table

I really need help, yesterday I installed SAMBA 4 on my server and tried to restart after that, but now the Server doesn't start anymore it freezes everytime at the same point.. During that i also ...
13
votes
5answers
1k views

Identifying USB devices

I have five USB cameras, same brand, same model (Canyon CNR-FWC120H). They are used to monitor different scenes 24/7. I need to somehow identify which camera is which from the Linux (Debian) console ...
3
votes
0answers
27 views

Unexpected reboots of a Ubuntu Linux

I have a Ubuntu Linux machine acting as a bridge/firewall between the Internet and my home network. This host works 24x7 unattended. It just sends me a report every day. I've paid attention that in ...
6
votes
2answers
6k views

Upstart: Run service as unprivileged user and pre-start script as root

I have following upstart job: description "posty api" start on mysql stop on shutdown env RACK_ENV=production setuid vmail setgid vmail chdir /opt/posty_api pre-start script mkdir -p /var/...
4
votes
2answers
93 views

Where to find processor failure notification in linux environment?

I am currently working in Linux environment and I would like to know where processor failure notifications will be seen in Linux? and where these messages will be logged?
-1
votes
1answer
147 views

Why doesn’t “sudo rm /bin/kill” delete the kill executable

I tried running sudo rm /bin/kill in an Ubuntu VM to delete the kill command. Running which kill gives no output as if the file doesn’t exist but running kill works perfectly ? Why does the kill ...
0
votes
0answers
17 views

Both Avahi Configuration for eth0 and eth0:avahi

I want avahi to respond on both network addresses, once at eth0 where is an static IP configured an once at the eth0:avahi where is link local address. the goal should be when I make a mdns browsing ...
0
votes
1answer
24 views

how can i make zsh tab completion fix capitalization errors? for directorys and files

I switched to zsh completely on a previous arch install and i LOVED it mainly because arch is one of the distros that capitalizes your Documents, Downloads, Music and such directories in your ~ ...
0
votes
2answers
2k views

Clarification on the Shared Memory column in the Linux top utility

We are having a memory allocation issues with a program running under Linux. We are using the top utility to try and determine the root cause of the problem. One thing that we have noticed is that ...
1
vote
1answer
187 views

Weird error when trying to upgrade to Fedora 24

I'm following the instructions posted on Fedora Magazine (https://fedoramagazine.org/upgrading-fedora-23-workstation-to-fedora-24/). I'm getting this message after dnf downloads everything: Error: ...
0
votes
1answer
20 views

How to expand aliases in fish shell?

In bash you can expand an alias you type. For example if I have an alias cmd="cd ~/user", typing in cmd and then hitting Ctrl+Alt+e would change it to cd ~/user. Is there a way to do this with fish?
1
vote
2answers
39 views

Copying contents of an ISO to new folder and recreating it makes the ISO become not bootable?

I'm working on upgrading a system from RHEL6 to RHEL7 and in the meantime I need to do a few tests before I actually upgrade. My question is: I have a working RHEL7 stock ISO file downloaded from Red ...
1
vote
0answers
56 views

Force OpenSSH server to accept nonexistent usernames?

Can sshd be configured to accept a nonexistent username and log in as a predefined user, such as guest? For example, if I enter ssh nxuser123@localhost, sshd should save "nxuser123" in an environment ...
0
votes
1answer
48 views

Better driver for Intel graphics card, Ubuntu 64bit

I just installed 16.04 LTS [64bit] version of Linux Ubuntu, but it says that my Graphics are: Intel Sandybridge Mobile, and the problem with that is that I cant open more than 2 windows of youtube ...
1
vote
0answers
6 views

Why Qsynth and Fluidsynth sounds different?

Qsynth is a GUI for fluidsynth. Why sound is different when I play the same MIDI file with the same soundfont using fluidsynth command line tool and the GUI? fluidsynth -ni soundfont.sf2 music.mid -...
2
votes
1answer
780 views

Set nautilus up action to backspace

I use arch linux. I had changed the Up action of nautilus from Alt+left arrow to Backspace. But after a full update, it reverted back to Alt+left. I checked the file '~/.config/nautilus/accels' but ...
1
vote
1answer
17 views

How to install Ruby 2.1 from package on Debian Jessie?

I'm trying to install Ruby 2.1 on Debian Jessie. As far as I know, 2.1 is the default version available to Debian Jessie. I ran sudo apt-get install ruby-dev and it seemed to install everything ...
1
vote
0answers
25 views

Create tmux session in seperate shells

I'd like to use tmux sessions to manage windows / panes in different shells. What I've noticed is that tmux will always use the shell from which it was first launched for all subsequent sessions ...
5
votes
4answers
1k views

No Samsung SSD found

when I use this command samsung_magician_dc-v1.0_rtm_p2/64bin $ sudo ./magician -L it tells me "No samsung SSD found".What shall I do? I run ubuntu 14.04 and i got this on using sudo ./magician -...
1
vote
0answers
20 views

Debian - more network interfaces [duplicate]

I have dedicated server from OVH with additional ipv4, I have added the IP to the system interface configuration (debian), I can access the machine from both IPs now, but for some reason the first ...
1
vote
3answers
60 views

What creates the default ifcfg-eth? file?

When I change out a NIC card in my RHEL 5 box, the applicable /etc/sysconfig/network-scripts/ifcfg-eth? file is renamed ifcfg-eth?.bak and a new one is created configured with: ONBOOT=yes BOOTPROTO=...
1
vote
1answer
7k views

Ethernet issues in Linux mint.

After a hardrive crash I installed mint 17 LTS with many attending woes related to lack of drivers (two of my 8 usb ports can actually recognize devices plugged into them). I'm currently attempting to ...
0
votes
2answers
552 views

mdadm one disk sometimes is missing after reboot

On a debian system my home directory is on a raid1 md array. After creation it worked fine for some time, but once the second drive disappeared from the array. # cat /proc/mdstat Personalities : [...
-1
votes
1answer
29 views

packet loss. how to resolve this?

how to find out the packet loss? when the router is transmitting the packets of data to destination. If the destination will not receive the ex-tact transmitted packets there will be loose of data. ...
0
votes
1answer
46 views

Computer gets hot with Linux Mint

So recently I had installed Linux Mint (Rosa) on computer and I dual boot it with windows 10. With windows there is no problem, it does not get hot for example if I get into YouTube or something not ...
0
votes
0answers
25 views

Can't get dual-channel memory status from Linux — why?

I have a slot A3+ motherboard (Gigabyte ATX GA990ZA-UD3-R5) with an AMD FX-8320E CPU and two 8Gb memory sticks (identical, bought together as a kit). I followed the instructions on the manual and ...
137
votes
13answers
139k views

How to clear the contents of a file from the command line?

I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, ...
0
votes
1answer
38 views

sort -V on Mac OS not working?

Sort -V works on Linux (which means natural sort of version numbers within text) and looks like there is no -V option on MacOS? Any alternatives? regards, Lin
1
vote
1answer
21 views

Camel-casing a 'dashed' string

I'm fairly inexperienced with *nix scripting, and I have a need to take a string with lowercase words separated by dashes and convert that to a new string with the dashes removed, and the first letter ...
0
votes
2answers
4k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. I'...
5
votes
2answers
8k views

PDF to text convertor [closed]

I'm looking for a "one-click" way of taking ANY PDF and converting it to plain text. Ideally on OSX or Linux. Ideally, the solution would include OCR functionality, but it need not necessarily. The ...
19
votes
7answers
44k views

How can I mount a partition from dd-created image of a block device (e.g. HDD) under Linux?

I have an image of the entire disk created using dd. The disk structure follows: kent@cow:~$ sudo fdisk -l Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders ...
0
votes
0answers
21 views

mpd setup for ALSA

I'm trying to setup mpd on my Sabayon system. Clementine uses Audio sink (ALSA) output, and it works fine. I did stop playback in Clementine while testing in GMPC, the song looks like it's playing in ...
2
votes
3answers
16k views

Linux Mint Wifi keeps disconnecting at random times and asks for wifi password

I have a fresh install of linux mint 16 cinnamon edition. I have a Netgear wireless dongle model: WNA1000M. Is there any command i should run to get more details? Wifi drops about: 15min to 1hr.
0
votes
1answer
15 views

How to change or delete the entries in the Google Bar App Launcher?

First of all: What is the Google Bar App Launcher? The little icon on the New Tab Page in the upper right corner, a small 3x3 grid symbol. This thing: You can customize this menu, i.e. ...
0
votes
0answers
23 views

linux mint installation on vmware player (getting a message which I can't decipher)

The message after Linux boots I downloaded the ISO image of Linux mint cinnamon and used VMware, but after the booting message I get this message that a file system could not be found. Given the ...