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
2answers
47 views

Renaming hidden files to their filename sans .. (double dot)

I accidentally ran a script that added a ".." infront of a variety of files. ie. originalfile ==> ..originalfile Now I have a variety of files that are hidden. Being new to Linux commands, is there ...
1
vote
1answer
16 views

How to send email from the command line with specified sender on Debian Wheezy with Exim4?

I have search for ages trying to find out how to do this: How can I send email from the command line and specify the sender address on a box with Debian 7.8 and Exim4? This does not work: mail -s ...
-1
votes
0answers
15 views

How to align output from unix command in one row

I am running df command for space utilization of a number of space together and outputting it to a sheet but the output of one row gets split into two rows with misalignment in column. Ex: My command ...
1
vote
2answers
40 views

Linux - redirect SSH on a port to another machine on local network

I have a KVM guest machine on a virtual network. It has an IP address like 192.168.122.65. The host machine is connected to the public internet. If I open a terminal on the host machine, I can SSH ...
-1
votes
1answer
18 views

bash change strings with multiple escape characters

Hello i try to automate for example change one variable in php file . root /tmp # cat defaults.inc.php|egrep "reply_all_mode" $config['reply_all_mode'] = 0; I try to first catch this by grep ...
-1
votes
0answers
13 views

Map modifier+left mouse to right mouse

What is a clever way to achieve the following: Bind modifier key (e.g. ALT) + mouse button 1 to mouse button 3
2
votes
0answers
37 views

logind.conf not working, closing lid will not suspend laptop

I am running Fedora 22 on a Dell Latitude E6230.  At some point I got a software patch that broke the laptop suspending when I close the lid.  It was working, and now it is not.  I am not sure what ...
0
votes
0answers
428 views

Program xxx tried to read /dev/mem between xxxxxx->xxxxxx

I've got a program that runs on RHEL 6.5 perfectly fine on a virtual machine generated with OpenStack. But since I updated my version of OpenStack (from Mirantis fuel 5.0 to 6.0) I have a new instance ...
0
votes
1answer
10 views

Munin throws “SNMPv3 support is unavailable”

I'm trying to configure a DiskStation to use SNMP. I get following error when performing munin-node-configure on my ubuntu system: root@server:/# munin-node-configure --snmp 10.0.0.2 --snmpversion 3 ...
0
votes
0answers
19 views

Lubuntu Ralink 5370 rt2800usb device/driver acting … strange?

I had an old box running lubuntu 14.1 that I connected to my wifi router with a cheap Ralink 5370 chipset usb dongle. A week ago I splashed out and built a new machine and put Lubuntu 15.04 on it, but ...
-1
votes
0answers
22 views

8-year-old Computer Having Trouble Booting Fedora 17

TL;DR My 3-year-old Fedora 17 system on an 8-year-old computer crashes with a kernel panic, screen flickers, memory test from Live CD fails. What is the issue? My computer is 8 years old now, and I ...
0
votes
1answer
26 views

How to recover windows system from grub rescue error?

uI have run two OS's (windows 7 n opensuse) in my pc. Later I tried to remove opensuse using minitool partition wizard. When I tried to restart,it is showing an error:grub rescue. I am unable to open ...
0
votes
1answer
13 views

Combine serveral images into one Live-USB [duplicate]

I wanted to know if it's possible to combine at least two systems into one image : Example : I have a Debian image (.iso) and a Clonezilla image (.iso) and I want to make one image and the GRUB ...
0
votes
0answers
10 views

How to use column command to display continuesly output?

I want to use column command to format the output of some program in realtime,but the column command won't display anything until the output has ended. Just like this tail -f resin-stdout.log|column ...
0
votes
1answer
21 views

How to set quota on a shared folder with respect to a user?

I have a shared folder created on a volume , and how do I set quota on that shared folder with respect to that user , the problem here is that It's a shared folder and the user has just access to the ...
0
votes
0answers
43 views

How to fix infinite login loop in elementary os?

I have installed Elementary OS alongside windows 7 from few days and it works normally But today and after entering Elementary OS and try to login : the login page is looping and I can't enter the OS ...
0
votes
0answers
9 views

Strange mtr result on pppoe

Why I have such mtr result on pppoe? I have not this result on bridge mode even I check with another ADSL router and does not this result. As you can see each IP iterate on several levels. My ...
1
vote
0answers
10 views

Questions about KMS/DRM and linux /dev/fb* devices

Basically, what I want to do is to allow most standard framebuffer graphics apps (At least, any that support being told which /dev/fb* device to use, or can deduce that from the framebuffer the VT ...
1
vote
1answer
11 views

How to make byobu output the complete history directly to buffer?

It is possible to enter some sort of scrolling back mode with some keys. But I wonder if we can directly output to the buffer and use the scrolling of the terminal app. I noticed it is possible, ...
0
votes
0answers
82 views

The virt-manager displays “Gtk couldn't be initialized”

I am running the virt-manager on RHEL 7.0, but it always display "Gtk couldn't be initialized": [root@dhb5 ~]# virt-manager --debug --nofork 2015-08-17 03:21:09,895 (cliutils:75): virt-manager ...
-1
votes
1answer
36 views

Need guidance starting node js / scala app

I have installed yum/apt-get installed scala, "node install" installed gulp, but cannot find how to run it for dev mode. I have started a number of node applications in the past. I am trying to ...
-1
votes
0answers
34 views

INFO:audio_manager_pulse.cc(258)] Failed to connect to the context. Error: Connection refused

I am using chrome/chromium - audio isn't working through Chrome but it works when using mplayer, firefox. I do: su - veek -c "google-chrome --enable-logging=stdout --v=1" and i get: ...
1
vote
2answers
29 views

Is there a way to move open window between linux machines?

I have two computers, both of which run Linux. My main computer is where I do most of my work on and my large display computer which sits in another room from which I give presentations and play short ...
14
votes
1answer
699 views

How to extract a .dmg file in Linux?

As a Linux user, I need to get the content of a .dmg (Mac OSX disk image) file which contains an application installer. I tried dmg2dir (which requires dmg2img) which created an .img file but nothing ...
1
vote
0answers
42 views

looking for a linux distro that will load a website and do nothing else [closed]

Not sure if this is the right stack for this question: Basically this is going to be running a security camera feed 24/7 and nothing else, where the feed is accessed via a specific website with a ...
0
votes
0answers
37 views

ffmpeg gives error DTS out of order and Non-monotonous DTS in output stream

I'm trying to concatenate multiple mp4 videos into one using ffmpeg. The "how to" for this is mostly identical across the web: ffmpeg -f concat -i inputfile.txt -c copy output.mp4 But when I try to ...
0
votes
1answer
39 views

-bash-4.2$ for command line?

I don't know why when I SSH with putty onto my VPS, my command line starts with: -bash-4.2$ It hasn't ever been like that, it was myname@localhost Only thing I have done different in the last 24 ...
11
votes
4answers
1k views

Is my browser sending any information about my linux distribution?

I understand that the server can find out my IP address, location, browser information and OS. About the OS... If I am running Linux, is it possible for the server to find out what Linux distribution ...
0
votes
0answers
17 views

How to overwrite one line of local config instead of whole file (icons related)

When I copy /usr/share/icons/Faenza-Green to ~/.icons and change in ~/.icons/Faenza-Green/index.theme [Icon Theme] Name=Faenza-Green Inherits=Faenza-Dark,Faenza,gnome ... long rest of a file ... ...
0
votes
0answers
13 views

Move Linux EFI to SSD

I have a Linux Mint 17.1 EFI installed on 500GB HDD. I would like to move it to new 120GB SSD. I resized partitions to fit 120GB SSD and did "ddrescue -v --force /dev/sda /dev/sdb" from LiveUSB but ...
0
votes
0answers
10 views

Installing Slackware - Keyboard Mappings are very wrong/confusing

I am trying install Slackware on my host machine (Dell Latitude E6430) but am having a lot of issues. Initially, when you start up Slackware, the first thing it asks you is something like "Press 1 to ...
-1
votes
0answers
18 views

Internet is not reachable in Kali Linux terminal

I am using Kali Linux in virtualbox which is in my main OS windows 8.1.After successfull installaation of Kali Linux,i was able to use iceweasel browser perfectly.But my termianl is not responding to ...
1
vote
0answers
25 views

Linux mint black screen after installing extension

I have been running my linux without problems up until now and when I tried to install specific extension, everything but my mouse cursor was frozen. Restarting my PC didn't do any good - black screen ...
-1
votes
1answer
40 views

Why is this crontab not working?

I'm a crontab beginner. Why does this crontab do nothing? I would like it to run the script every minute. 1 * * * * /home/android/test.sh If I just type /home/android/test.sh in the shell it works ...
1
vote
0answers
8 views

Optimize linux USB hub IO scheduling for external harddrives

When using several harddrives on an USB 3.0 hub, copying large files between them gives transfer rates far below expectation. My guess is, that the hub introduces contention delays as we see if ...
2
votes
1answer
19 views

Netfilter/tc rule to separate SSH and SFTP traffic?

When I connect to my server (RasPI 2 with Raspbian) remotely, I want my interactive SSH sessions to always have priority over any running SFTP sessions. Also, SFTP sessions should have less priority ...
1
vote
0answers
29 views

SD card not detected

I have a SD card with photos I'd like to recover. The card suddenly stopped working in camera, maybe because of the temperatures like 40C outside. The camera can't read the card and advises to use ...
1
vote
0answers
20 views

Error /dev/net/tun No such device - openvpn

I'm trying to set up openvpn on my chroot debian server. #openvpn --dev tun1 --ifconfig 10.9.8.1 10.9.8.2 Sun Aug 16 18:29:19 2015 OpenVPN 2.3.4 arm-unknown-linux-gnueabi [SSL (OpenSSL)] [LZO] ...
-1
votes
0answers
16 views

Boot error 22 on loading operating system

I installed linux mint and when i installed windows to the same pc he apear a error on startup the computer he say Error 22 and when i press Ctrl+Alt+Del he restart and boot the windows and when i ...
2
votes
1answer
41 views

How to delete or move each image in directory of specific dimensions to new directory in bash

I'm trying to find a way to do the following (Google is only returning results for finding): Move all images of filetype (.jpg, .png, or .gif, etc.) of specified dimension(s) (such as 1920x1080, ...
0
votes
1answer
24 views

ALSA output to two dmix devices simultaneously using a multi device

I am trying to play audio to two hardware devices simultaneously, megalodon and analog, using two dmix devices. megalodon is a USB headset, analog is just the 3.5mm port on my computer. When I route ...
2
votes
1answer
20 views

Does a Unix process automatically get supplemental-groups permissions?

User spock belongs to groups human and vulcan. File holo is owned by user root and by group vulcan. Its permissions are rwxrwx--- (770). Process tractor is started by user spock, and has uid spock ...
1
vote
1answer
34 views

With nmap and awk, displaying any http ports with the host's ip

I scanned around 50 hosts on a network with this command: nmap -sV -iL sweep_ips.txt -oG result.txt ex: ... Host: 192.168.x.x () Ports: 8000/open/tcp//http//Apache httpd 2.2.3 ((CentOS))/ ...
1
vote
2answers
29 views

Unix chown/give permissions to www-data and user

I have a user, 'joe', to whom I would like to grant permissions (for /var/www/html/) so that I can use ftp (with vsftpd) So I run this command: sudo chown -R joe /var/www/html/ And that goes well, ...
0
votes
1answer
18 views

Changing Linux desktop's environment variables without re-login

I'm setting a particular environment variable in my .bashrc, and, once I source it, it is available both in the shell itself and in gVim instances that I start from the shell. But, if I start a gVim ...
1
vote
2answers
32 views

Ordering of filenames in linux - not purely lexicographical?

Given a few files in a directory data the following ls command provides a surprising result in the sense of how they are ordered: for f in data/*; do echo $f; done ...
0
votes
0answers
18 views

Linux: Don't allow any non-vpn traffic

I tried the search, as I'm sure this has been asked before, but I couldn't quite find a working answer. I wish to drop any connection that is not routed via VPN (with the sole exception of the ...
1
vote
3answers
47 views

debian: permission denied for all users except of root

I wrote a bash script today which might destroyed some of my user settings and/or permissions. Now I know it was quite stupid to test the script on my live-system ;). What is not working? Every ...
1
vote
1answer
40 views

mysql (mariadb) ERROR 1698 (28000): Access denied for user 'root'@'localhost'

I'm working on Xubuntu 15.04. I already installed the MariaDB-Server on various systems and was always asked for a root password during installation. This time, however, I don't remember being asked ...
0
votes
1answer
28 views

Unable to boot to Windows Vista after reinstalling Linux in a dual boot configuration [closed]

I had a dual boot of Vista and Arch Linux. I wanted to delete Arch and install CentOS so I formatted the following partitions of the existing installation and installed CentOS 7: / /boot /swap I ...