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
11 views

Restart Windows Services from Linux while keeping password off the command line

I'd like to write some scripts (run on my linux computer) to help automatically restart some windows services. While I've found many answers that suggest using net rpc service, they all involve ...
2
votes
2answers
30 views

What happens if you just unplug swap drive from running system?

I'm running heavily leaking apps on server which have already swapped out about 60gb of garbage in their over 100 days uptime. At the point when I've run out of swap for the first time (32gb) I ...
2
votes
1answer
25 views

Accidentally Formated /dev/sda1

I was messing around with some partitions on a PC that has both Windows 7 and Ubuntu 15.04 installed on it. In gparted, I distractedly formatted /dev/sda1 as fat32. Upon rebooting, I got the message ...
0
votes
0answers
12 views

Reconstructing a file from 2 partially corrupted copies and a check sum on linux

I am looking for a way to reconstruct a file from two corrupted copies and the md5sum of the original, preferably on a Linux system. Since the two files only differ in less than 4 MB out of roughly 2 ...
0
votes
0answers
19 views

How can I get a Mellanox ConnectX-2 to work on this ASUS desktop motherboard?

People seem to be happy with second-hand Mellanox ConnectX-2s on Linux so I grabbed a pair. Both cards result in an network interface showing up on one computer but neither show up in the other ...
-1
votes
0answers
8 views

My Linux system starts freezing and CPU spiking sometimes when viewing media in Firefox until I reboot, how can I debug this?

Firefox will be maxing out CPU and freezing intermittently on a site like Pinterest. A youtube video may freeze for example with Firefox using a huge amount of cpu for several seconds and the fans ...
0
votes
1answer
10 views

Why X-s restarts after magic Alt+SysRq+REI?

Just curiosity: Which part of my debian is responsble for immediate restart of my X-s after I press Alt+SysRq+REI? ("I have just killed every process - why I have forthcoming "Choose your username" ...
0
votes
0answers
10 views

Unable to install iptables [HELP]

Hello so I removed iptables for reasons I don't even know but when reinstalling i get this error Reading package lists... Done Building dependency tree Reading state information... Done Package ...
1
vote
0answers
7 views

Why VLC runs “proxy” command when it is directed to some internet stream?

I have an executable file in my PATH which is named “proxy”. I open VLC, open http://176.31.123.212:8192/ and VLC runs the “proxy” passing http://176.31.123.212:8192/ as its argument and waits ...
3
votes
1answer
23 views

setting up a locally shared folder on Archlinux (on a ext4 filesystem)

Let's assume the following scenario. We have two users trusted and untrusted. User untrusted is used to access the internet and download data, which then has to be reviewed and given to user trusted. ...
0
votes
0answers
18 views

Linux ip route / ip rule with fwmark and iptables -j MARK --set-mark

I just need to re-roure all user traffic directly to specified GW (different from the default one) bypass all VPN and other routing rules. Lets start it from scratch (reboot the system), no interface ...
1
vote
0answers
13 views

Reading CPU model specific registers on linux

I am running Ubuntu 15.10 but testes it also on Debian. I have Intel i5-5675C processor. I am using msr-tools-1.3 to do it. I am able to read register 0x00001a2 with the following command: rdmsr ...
1
vote
1answer
17 views

How to pass array to bash shell script?

How do I pass an array as a variable from a first bash shell script to a second script. first.sh #!/bin/bash AR=('foo' 'bar' 'baz' 'bat') sh second.sh "$AR" # foo sh second.sh "${AR[@]}" # foo ...
0
votes
1answer
29 views

Can't boot to kali linux with windows 10

I just installed kali linux on an empty disk space, and it asked me if i wanted to install the grub boot-loader on the main boot-sector, i said yes, but when i booted up it still booted to win10. So i ...
0
votes
0answers
12 views

how can I redirect traffic to Linux

How can I redirect my router traffic to my Linux operating system, I have tried Google but nothing came up. I have tried a lot of iptables commands and Google
0
votes
1answer
12 views

how can i bridge my router to my linux os?

So i am getting ddosed a bit so im wanting to send all my router traffic to my linux os as a some what mitigation anyone know how to send my router traffic to my machine?
1
vote
1answer
18 views

how to automatic save all terminal output to a log file?

I want to save all my terminal output to a log file automaticly, not like this $ ls -al > file.txt
0
votes
0answers
7 views

Preserve Ubuntu/Win7 dual boot after moving/resizing current Ubuntu partition

I have Win 7 and Ubuntu 15.10 dual booting at the moment. Windows XP on sda1 is what I am trying to get rid of, so that I can then expand sda2 LEFT and resize sda6 (Ubuntu) LEFT to give me more room. ...
0
votes
1answer
7 views

Linux SystemRescueCD, eth1 works but not eth0

Got a RHEL system that I'm trying to troubleshoot. I used the Linux SystemRescueCD (Gentoo Linux). When I boot, I choose option 1 ("default boot options"). If I boot and just configure eth1, I can ...
0
votes
0answers
19 views

Optimizing Windows 7 for Virtual Machine Hosting [closed]

I use Linux (specifically, Ubuntu or Lubuntu) for work—but, for some reason or another, the laptop provided to me is Windows 7, and must remain Windows 7. I've been working via a virtual machine—and ...
0
votes
0answers
8 views

simple udev rule not recognizing my drive by uuid

I am having difficulties having udev recognize a drive by uuid. I'll outline the problem with a simpler version of my problem. If I try this simple rule (in /etc/udev/rules.d/50-backupdrive.rules): ...
0
votes
2answers
23 views

Can I use vlc on Linux to convert an audio file to m4a to be played on iPad/iPhone?

I have been working and researching this question for much of the day. I found some online advice and changed an FFMPEG preference (strict conversion to -2) and added an AAC output option. I was able ...
0
votes
2answers
33 views

Is there any risk of irrecoverable damage by giving public access to remote desktop/terminal?

If I allow public access to a remote control program (SSH, teamviewer, remote desktop connection, etc) is there any risk of damage that can't be fixed through reinstalling the operating system? Do any ...
0
votes
0answers
41 views

Without BIOS support, can I install Linux on an NVMe SSD?

I’ve recently had a string of drive failures (5 in total from different brands) and I thought it would be a good time to replace them all with a very fast M.2 drive. My computer doesn’t have a M.2 ...
0
votes
0answers
4 views

iptables forward combined with bfifo doesnt work

I have 3 interfaces, 2 internal(wlan0,wlan01 )and 1 external (eth1) and i want to configure traffic from eth1 ,so i use iptables to send all outgoing traffic from the internal interfaces to eth1: So I ...
0
votes
0answers
16 views

CentOS 7 - low volume on Chrome

I use Google Chrome on a regular basis, but lately all audio played through it has VERY low volume. Playing the same audio stream (i.e. YouTube!) on Mozilla Firefox is normal. I already went to ...
0
votes
0answers
22 views

sftp - skipping non-regular file error

I get skipping non-regular file /home/local/dir/dir2 while using: put -P /home/local/dir/dir2 /www/dir3 Sftp connects on non-default port, with ssh key and no-password, transfers normally ...
0
votes
0answers
46 views

Will Windows 10 reset mess up Linux partitions

I have a fairly new computer that came with Windows 10 preinstalled. Currently, I dual boot Windows 10 with Linux. If I reset Windows 10 (I use the option 'Reset and keep files'), will it mess with my ...
0
votes
0answers
20 views

How to create a Tor-only network interface suitable for Firejail?

The most popular way to Torify applications is probably the SOCKS5 proxy method. It has a downside though: you ask an application to use Tor, not force it. If the application misbehaves or is being ...
0
votes
3answers
30 views

Cannot connect to network on Debian

I have been working on this new freshly installed Debian machine for quite some time now trying to get the network going so I have internet. During the installation process for the network ...
1
vote
1answer
12 views

Can I use Y / N when I'm prompted with Did you mean: [command]?

I noticed that when you type a command slightly wrong it comes up with did you mean: command_name e.g. git staus git: 'staus' is not a git command. See 'git --help'. Did you mean this? ...
0
votes
0answers
12 views

Under Gnome Shell, can I allow a specific application to steal focus?

By default, when applications require attention under Gnome Shell, a notification pops up. I want to allow one specific application (my IDE) to actually steal the focus (raise to the top) in order to ...
0
votes
0answers
19 views

Connect two Raspberry Pi network in a row

We have a setup that looks like this: [WiFi Router @ 192.168.2.100] | - [Raspberry Pi 2 (WiFi) @ 192.168.2.120] [Raspberry Pi 2 (RJ45) @ 192.168.1.120] | - [Raspberry Pi 1 (RJ45) @ ...
0
votes
1answer
21 views

Partitioned Flash Drive - Only First Partition Can Be Seen in Windows

I now have a problem seeing and accessing some partitions on my flash disk after it has been repartitioned with the fdisk utility under the Debian Linux. I repartitioned my 16GB flash disk into two ...
0
votes
0answers
6 views

Is there any method to free memory of specific NUMA node?

On my RHEL system, I find the memory used is very imbalance: node 0 size: 786251 MB node 0 free: 302932 MB node 1 size: 786431 MB node 1 free: 79388 MB node 2 size: 786432 MB node 2 free: 111653 ...
0
votes
0answers
13 views

debian linux push mac address change losing connection

0 down vote favorite i have tried changing my mac address both manually and with mac changer. When I change it the symbol in the upper right says im connected however the browser never connects. ...
0
votes
0answers
24 views

RHEL 7 - tomcat start and stop as a 'tomcat' user vs 'root' user

In RHEL 7, I could start apache tomcat using the following command as a tomcat user /usr/sbin/tomcat-sysd start However, when I tried to stop apache tomcat as a root user using systemd using the ...
0
votes
0answers
11 views

Linux locale - how to disable smart quotes?

On my Gentoo system, find . -regextype help outputs find: Unknown regular expression type ‘help’; valid types are ‘findutils-default’, ‘awk’, ‘egrep’, ‘ed’, ‘emacs’, ‘gnu-awk’, ‘grep’, ‘posix-awk’, ...
0
votes
0answers
12 views

After reinstallation Ubuntu 15.10 cannot mount USB stick or DVD

I reinstalled Ubuntu 15.10 because the boot loader was gone after I updated Windows on a second partition. Since then Ubuntu is unable to mount USB sticks or DVD: USB: Error mounting /dev/sdc1 at ...
0
votes
0answers
22 views

stuck in grub rescue on ubuntu 15.10

My problem started after running "delete" from testdisk at terminal, then rebooting and all I get black screen with: "error Entering rescue mode... grub rescue>" I've tried some tutorials kind ...
-1
votes
2answers
22 views

Install Windows on a raw disk image in virtualbox and then use it as dual boot with linux

I currently have a laptop with linux in it. I'd like to install Windows 7 on dual boot with it but instead of doing it with a usb drive I was wondering if it was possible to create a raw disk image ...
0
votes
1answer
25 views

Copy Multiple Files w/ Same Extension but Add Date

I want to create a single command that will backup all my *.db files in a directory but I want to append the current date. a.db -> a_2016-04-21.db b.db -> b_2016-04-21.db c.db -> c_2016-04-21.db I ...
1
vote
0answers
18 views

Mask generated internet network traffic

I'm studying Linux system and something networking. Now I'm trying to understand whether there is a way to mask / fake / spoof the traffic (uploaded and downloaded bytes) that comes from my Linux Mint ...
0
votes
1answer
12 views

Why mount a folder to a folder in fstab?

I'm on an Ubuntu server with fstab like this: /dev/xvds /home/ubuntu/stuff auto defaults,nofail,nobootwait 0 2 /home/ubuntu/stuff /home/bob/things auto defaults,nofail,nobootwait,bind 0 2 I ...
2
votes
1answer
26 views

Linux Ext4 Filesystem Explanation Needed, 19 million One byte files equals 80+GB?

Here's the deal, I am dupe checking domains for my crawler, I have 145 million domains to dupe check on the fly. Storage Consumed: 80GB for 19 million files To do so, I am creating a directory ...
-1
votes
0answers
18 views

How would you set up a scalable VPN server using Linux

I am trying to make a large number (say, 50.000) of distributed nodes reachable over the internet (HTTP only). Unfortunately, these nodes are in private networks that are not reachable from the ...
0
votes
0answers
28 views

What's exactly the default stdin, stdout and stderr in a typical Linux system?

I've heard in some occasions that the default stdin is the keyboard and that the default stdout and stderr is the screen, but I find that is pretty innacurate. If that were absolutely accurate I ...
0
votes
1answer
18 views

Read wav file header - possibly with audacity - on linux

On ubuntu linux, I want to be able to inspect a wav file such that I can read the wav header to determine the format. I have the tool audacity which, as an audio tool seems pretty good, but I can't ...
0
votes
1answer
20 views

ubuntu 12.04 nmcli doesn't list connections under one no-login user

I am running bacula as my backup system and I would like to run a script before some backup jobs to establish a VPN connection and access some servers that don't have public IPs. I have configured a ...
-1
votes
1answer
25 views

Ramdisk that persists old files

I've got a program that writes a file to disk, then another processes it. Usually this happens within a second or so, so the file is nearly temporary. To avoid disk IO, I write to /dev/shm. However, ...