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
1answer
25 views

BASH - run commands before and after loop

I'm having a bit of trouble with a shell script. It's something so stupid I'm almost ashamed to ask, but I can't figure it out. This is the script: #!/bin/bash MAGAZINE=" 192.168.49.3 ...
0
votes
1answer
14 views

FFMpeg filters compilation on CentOS

I have compiled FFMPEG on CentOS 6.6 using this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos But, whenever I issue command ffmpeg -filters The output is FFmpeg version 0.6.5, ...
0
votes
0answers
35 views

Open ports with iptables — still closed

I'm trying to open some ports for a gameserver, which is running on my Linux vServer (Ubuntu 14.04 LTS 64bit). The game needs the following ports: 16261 (UDP) 16262 (TCP) // Player 1 16263 (TCP) // ...
0
votes
0answers
14 views

Can I tunnel to a host-only device?

I have a tricky routing/tunnelling question, hoping someone can help. My setup is this: On my lan, I have a Ubuntu workstation and a Windows 7 PC. The Windows 7 PC is running Oracle Virtual Box, and ...
1
vote
0answers
45 views

Is this malware?

I have a machine running Linux Mint (qiana). I noticed it was often slow and when I looked at top I found PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
0
votes
0answers
16 views

Very slow sshfs connection

Sshs mount point is shared in local samba network. Windows users use it to access remote server. Due to very high load of remote server and low speed of internet connection sshfs mount point works ...
0
votes
1answer
36 views

How to understand the output of lm-sensors?

$ sensors Adapter: Virtual device temp1: +27.8°C (crit = +105.0°C) temp2: +29.8°C (crit = +105.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +30.0°C (high = +80.0°C, ...
0
votes
0answers
23 views

Attach a tmux session to a remote machine

I am using tmux on my local machine and usually have several sessions simultaneously. What I usually do is I have a session with different windows to work locally and the other sessions in which I ...
0
votes
0answers
24 views

How to boot Apple Mac via PXE (custom mini-Linux)

I have a network system, where I serve a mini-linux to a connecting client via PXE (pxelinux.0). I can't get this to work with Mac OS X. Booting from network is there saved for backup operations. I ...
0
votes
0answers
6 views

Minimum space to allocate for UDF headers?

Context: I'm using truncate to create a blank image file and udftools to create the UDF file system on it, to subsequently burn to optical media. I know the total size of all the files I want to add ...
0
votes
1answer
33 views

Systemd service start error

I have a Beaglebone Black (BBB) running Angstrom Linux (v2012.12). Since none of my other Linux machines have systemd yet, and Angstrom does, I figured I'd get familiar with systemd before its shoved ...
0
votes
0answers
12 views

Running a process without triggering CPU frequency scaling

I would like to know if it is possible to not allow a process to trigger my CPU's dynamic frequency scaling feature. I'm running Linux Mint 17.1. My specific case is that I would like to run BOINC in ...
1
vote
2answers
50 views

Mounting an old DOS harddrive on Linux

I'm trying to mount an old harddrive from a mid 90's 486 for file recovery. The harddrive (Matrox 7850 AV) is identified correctly by the motherboard (Asus P5QL PRO), but it can't be mounted in Slacko ...
10
votes
3answers
1k views

Does it matter about the amount of the swap area in Linux system

Does it matter if the amount of a swap area in Linux was set too small (say 1Gb), and the main RAM is 128Gb? Should we always set the amount of swap area to be twice the amount of RAM? UPDATED: Hi, ...
0
votes
0answers
14 views

Samba + SAN + NFS: load average > 300, results in crash

we have a system with the current setting server A is connected by fibre to a SAN array a filesystem is physically on the SAN, and resides on server A server A exports the filesystem via NFS to ...
0
votes
0answers
54 views

Linux Mint Installation : EFI Partition

I tried to install Linux Mint 17.1 MATE 64-bit edition on my asus laptop, which had installed Windows 8.1. I put CSM (Legacy BIOS) enabled, Secure Boot disabled, and boot with my Live CD USB (created ...
0
votes
1answer
23 views

Piping grep causes error $'\302\240grep': command not found on linux

Sometimes when I'm catting & grepping a file, I see this error come up: $ cat something.txt | grep "some text" -bash: $'\302\240grep': command not found When I re-type the command, it works as ...
0
votes
0answers
11 views

No Gcov for Linux vine 4.0

Good Day! Currently, I am using Linux Vine 4.0 for my project. Code coverage is one of the requirement for it. I found out that in Linux 2.6.16, gcov is not yet available. I followed the instructions ...
0
votes
1answer
29 views

How to remove network-manager access from LightDM?

I'm running Ubuntu 14.04. I didn't like how LightDM gave access to network manager before anyone has actually logged in... So I added 'network-manager stop' to rc.local. It works just like how I ...
0
votes
1answer
48 views

Changing VGA cable on Debian lowers resolution

I just changed my VGA cable and Debian says my maximum resolution (in display) can only go upto 1024x768. I have a 32inch LED monitor that supports a maximum of 1920x1440 (aka the maximum that VGA ...
0
votes
1answer
40 views

Programs for contolling the execution of bash scripts [closed]

Can anyone recommend a GUI based program to control the execution of bash scripts according to time/interval? I'm already familiar with both cron and at and looking for recommended alternatives. A ...
0
votes
0answers
35 views

Streaming desktop with FFmpeg

I can stream in a file or to twitch.tv with stream2address() { INRES="1920x1080" # input resolution OUTRES="1920x1080" # output resolution FPS="15" # target FPS GOP="30" # i-frame ...
-1
votes
0answers
12 views

Redhat Linux cronjob

I want to run a cronjob which should delete files in a subdirectory which are older than 18 hours & delete the subdirectory which are empty e.g /var/cdr/keep/YYDDMM/Files YYDDMM - Is a directory ...
0
votes
1answer
339 views

VMware Player / VMware Workstation installation in KALI

I have been trying to get VMWare Player/ VMWare workstation installed in KALI Linux for almost ages now. I might look a little exaggerating but I would like to quote it that way to bring about the ...
0
votes
1answer
20 views

Fedora 20 not finding USB stick when booting

Fedora 20 system has a USB stick used to back up important files nightly. When I reboot the system it does not find the USB stick. If I then pull the stick out and plug it back in, the system finds ...
0
votes
0answers
14 views

Login failure in Kali linux. The error message, something is wrong…, I guess it is from no space in /root.

I am using Kali with Windows, in dual grub. I have received a message in Kali login, the low space in /root. I have installed Kali in these partitions: 5 GB swap 17 GB / (/root) 2 GB /boot 30 GB ...
0
votes
0answers
22 views

Virtualbox no internet connection at guest OS

I am newbie in this virtualbox thing. So i have no idea how to configure network settings. I have Windows 7 (32bit) as Host OS and Ubuntu (32bit) as guest OS. The issue is that i am not able to access ...
0
votes
0answers
28 views

How to transfer software raid from windows to linux?

I have a software raid 1 on my windows 7 machine over 2 hard drives and for various reasons, mainly my windows 7 machine wont work correctly over the lan for some reason and no solution in sight and ...
0
votes
1answer
14 views

Where are Chromium extensions stored on Ubuntu Linux?

I'm using the Google Chrome Dev Editor app as a Chromium extension. My platform is Ubuntu 14.04 (trusty) with the LXDE desktop. I need to change some basic configuration such as the indentation size ...
1
vote
1answer
10 views

Log Usage of Particular Programs

I'd like to be able to log the usage of certain programs on Linux systems. As an example, I'd like to know who's FTP'ing files out of the system or placing files in the FTP dropbox, and if possible ...
0
votes
1answer
16 views

How to tell lame to write VBR header to stream?

I want to use lame to encode mp3 files, but instead of writing it directly to a file I want to pipe it into another program that will eventually write it out somewhere. The problem is that if lame ...
1
vote
1answer
34 views

How to shred a device from end to begin?

The shred command (of coreutils 8.23) overwrites a device with configurable data from beginning to end which is perfectly fine for the use cases it is designed for (which are all related to write ...
0
votes
1answer
13 views

Problems using awful.util.spawn in Awesome WM

I am having trouble using the awful.util.spawn call in my rc.lua config file for Awesome WM. If I use: awful.util.spawn("xclock") it works. But if I try awful.util.spawn("setxkbmap fr") there is no ...
0
votes
1answer
34 views

Sudo fails when running as service

I have a program that runs as a normal user but sometimes needs to run a command that requires root privileges. So I made a shell script and gave the user permission to run that script with sudo. The ...
2
votes
1answer
46 views

strange if statement behavior on linux

I am writing a shell script and have come across some weird if behavior. My question is simple, why does [[ "╝" = [█] ]] evaluate to true? Is it because they are both uncommon ascii characters? On ...
1
vote
1answer
14 views

Inconsistencies with which command

I'm using the n tool to update my current version of node, but something strange is happening. I ran sudo n latest which in theory fetches the latest version of Node (v0.12.0 and installs it ...
3
votes
1answer
131 views

Unknown linux process with random command

I have a unknown process when I run top: When I kill the process it is coming again with another random name. when I check the rc.d levels and init.d there are many random name similar like this ...
0
votes
0answers
20 views

Trying to yum install ntfs-3g by borrowing mount space from a shared drive

I am working in Centos 6 in a linux partition in my computer, which seems to have insufficient space for my needs (less than 100Gb). I have a shared drive mounted with Tbs of space which I am trying ...
2
votes
1answer
32 views

How to start terminal in which bash is running with adjusted environment variables?

I'm using Xubuntu with XFCE. I would like to write a bash script which opens a new tab in the xfce4-terminal. In this tab, the bash should be running with an altered PATH environment variable. ...
1
vote
1answer
30 views

Is there a way to enable minicom linewrap by default

I use minicom when working on router terminals... by default, I use these settings in my ~/.minirc.dfl: pu port /dev/ttyUSB0 pu baudrate 9600 pu bits 8 pu parity ...
0
votes
0answers
20 views

Console/error message on all TTY Fedora 20/21

I am running Fedora 20 and 21. I want to route the messages to one vtty. Specifically, vtty2 where I normally have root logged on when I'm at the keyboard. All other vtty's I'd like to must the ...
1
vote
1answer
23 views

How to diagnose HDD spindown?

I have a machine with a zfs pool on three magnetic drives /dev/sda, /dev/sdb, /dev/sdd containing larger data and a SSD with ext4 on /dev/sdc containing the rest of system (including home directories, ...
0
votes
0answers
32 views

File exists but System cannot find file specified is returned in cmd

I have an external disk and i have some files in folder. I am able to copy files from other folders of the disk except one folder. The command prompt autocompletes and shows absolute path of filename ...
0
votes
0answers
23 views

How to stop an errant shutdown

I have a system with many processes and one of them looks to be invoking shutdown or something similar causing the host to exit very quickly. There is no linux kernel crash so I'm going under the ...
0
votes
1answer
11 views

Primary and/or Logical Partitions Debian Install

I'm installing Debían on my laptop, I already have Win7 installed, I made a new partition with the installer, but I already have 3 primary partitions from Windows. After making the root partition ...
0
votes
1answer
13 views

Why are filename ordering rules different on graphical/non-graphical linux programs?

Here is the output of an ls: x-15.txt x-1617.txt x-2411.txt x-24.txt x-ae.txt x-afag.txt x-bdaa.txt x-bd.txt Note that x-1617 comes before x-24 and the same ordering rule seems to apply to the ...
0
votes
0answers
6 views

How to set sysfs.conf for EDAC kernel module

I want to set parameter for the following EDAC settings files: /sys/module/edac_core/parameters/edac_mc_panic_on_ue /sys/module/edac_core/parameters/edac_pci_panic_on_pe But before I set any ...
0
votes
0answers
19 views

Proper way to execute a script before running upstart based service?

I run the deluge torrent client within a virtual machine that mounts an NFS share from the filer that runs bare metal. Occasionally deluge starts before NFS has been mounted, and it starts downloading ...
0
votes
0answers
25 views

Could not get PS2 keyboard to work with Startech KVM

I have a Startech 2-port KVM switch I am using between a Windows 7 and Linux box. Unfortunately I cannot get it to work with a PS2 keyboard that I like (using a PS2-to-USB adapter), although it does ...
11
votes
3answers
440 views

Determine type of device Bash script is being executed on (laptop or desktop)?

Is there any reliable way to determine (programmatically) from within a bash script if it is being executed on a laptop or a desktop computer? I could obviously just prompt the user to ask them, but ...