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

0
votes
1answer
18 views

What does this bash script?

In theory, this snippet from pentoo-installer finds all partitions on the selected disc, but it doesn't find my sda1 partition, so I would love to understand it and modify so it does. ...
0
votes
1answer
11 views

How to use linux to not get crazy with root privileges

I've got a question for you today my dear Linux friends. I'm a windows user primarily. I use it for my work, watching movies, listening to music, playing games, browsing the net and everything else ...
0
votes
0answers
4 views

Mirror with backup of changed files

we have some largeish storage requirements (genomic data) for which we need to buy some archival space (write once, read rarely, files remain easily accessible, each user should have access to their ...
0
votes
1answer
10 views

“/bin/bash: bad interpreter: Text file busy” even though the file editor closed the file

I have a script on Linux that I edit under Windows (through Samba), that starts with the shebang line #!/bin/bash. Even though: I finish editing, save, and close the file in the editor make sure ...
0
votes
0answers
9 views

How can multiple Linux distros be run simultaneously & equally resourced on screen in a VM?

What is the easiest and/or best way to run several lightweight Linux OS's simultaneously in separate display windows, in a reconfigurable virtual hardware environment, while (and this is important) ...
0
votes
0answers
10 views

Ubuntu: have different passwords for user and for encryption

On the install routine of most linux distros, if you elect to encrypt your files you are asked for seperate Passwords for a. the user's account and b. the encryption on the files. Ubuntu doesn't seem ...
0
votes
1answer
29 views

How to recover the Linux VM after accidentally deleting all root folders?

I have a CentOS Linux VM running in VirtualBox. I wrote a bash script to do some automated tasks. But I accidentally deleted all root folders because I put a line in the script rm -r $my_dir/* ...
1
vote
0answers
16 views

Can't install linux on Dell XPS 15z

I'm trying to install a linux destro on my Dell XPS 15z laptop but have had no success. In this lets say I'm using Ubuntu 15. The cd works, I can see the live versions of Ubuntu, and Ubuntu can see ...
0
votes
0answers
22 views

Info: how to get a list of all articles programmatically?

I'm contemplating an improved indexing of Info pages with Sphinx. But in order to do this, I'd need some way of programmatically extracting all nodes (in order to then insert the contents of each node ...
0
votes
1answer
16 views

Connecting to my SSID force opening a browser window. How?

I'm aiming my clients to get a popup/browser display once they connect my Wifi. Currently it s running with HostAPD. You see my SSID in available wifi, no password. Access only to my local web. No ...
0
votes
0answers
8 views

Secure dnsmasq dns daemon with whitelist

I'm using dnsmasq on a server (bound to wan IP) and would like to add an acl/whitelist for ip ranges/ip address allowed to resolve dns using my server. I can't seem to find anything from Google, is ...
0
votes
1answer
36 views

CR versus LF: which should I recognize as “end of line” in terminal program? [on hold]

I understand the use of line feed and/or carriage return as line separators in Windows, Macintosh and Linux. But now I'm writing a program that will accept text user input over a TCP socket, and I ...
0
votes
1answer
19 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
-1
votes
0answers
14 views

Logs extracting, limiting cpulimit

I have the following script for extraction of logs. Need to make work it with cpulimit, to not overload the server. Can anyone help? nice -20 zcat /var/detail-20150418.gz | sed ...
2
votes
1answer
15 views

Real-time option in ulimit

Calling ulimit -a returns the following: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, ...
0
votes
0answers
8 views

USB not working with a 3D printer

I got an Ultimaker Original+ 3D printer, which works fine when connected to my Windows 7 PC. But when I connect it to my Mint Linux PC, it isn't detected at all: Cura (the 3D printing software) is not ...
1
vote
0answers
6 views

Port configuration for USB 3.0 Camera setup

I'm building a setup with 10 USB 3.0 5MP color cameras and need to connect all of it to a single desktop computer running latest Linux kernel. By trial and error, I've found out that 3-4 cameras per ...
1
vote
3answers
30 views

How to check the program is installed on linux?

I want to check if the program is istalled on linux(CentOS). (I used java jsch) If not, send messages to front-end which program user lacked. I used which As you can see,I didn't have php ...
1
vote
1answer
12 views

One fileserver and two replicated nodes with samba daemon

I have to set up a new infrastructure for a project. We have two offices with a slow up- and downlink (2 MBit SDSL) to the internet and one server C with a 100 MBit link to the internet. Then there ...
0
votes
0answers
9 views

Using tortoise svn on linux with wine

I have recently tried to use tortoise svn on my linux system using wine. I followed the instructions from here and installed it under a 32-bit wine prefix. The installation went well, and it seems to ...
-1
votes
0answers
18 views

Any Linux LiveCD with nvidia drivers? [on hold]

I need a Linux LiveCD but the crappy nouveau driver most include by default just keeps crashing. I can force the system to use basic driver with nomodeset option, but that's just silly. Is there any ...
0
votes
0answers
15 views

XBMC/Kodi Default Volume

Kodi (formerly XBMC) seems to use a global setting for volume level, so when it goes to the next episode, it stops using whatever I've recently adjusted it to and goes back to the default volume ...
0
votes
1answer
19 views

How do I make sure my code is compiling with -o3 in gnu make?

I have a huge Makefile I'm working with and trying to trim down. Right now, it's layed out to build several different programs with tons of options I'll never use. My hope is to first make sure the ...
0
votes
0answers
22 views

How to install linux kernel with GNU tools

This is a very basic question. I have a switch with a powerpc processor. I want to install a raw linux kernel on it. How do I go about it?
0
votes
1answer
11 views

Key codes: xterm vs. Terminal.app

I mostly use iTerm, and it lets you customize the key codes sent to your terminal by individual keys. It has a couple presets labeled xterm Defaults and Terminal.app Compatibility. I'd like to make my ...
0
votes
1answer
30 views

Prevent facebook from seeing real IP

I am using OpenVPN through networkmanager on Linux, and all is going well. However, I checked my active sessions on Facebook and it was able to see the IP address from my ISP. How can I prevent my ...
1
vote
0answers
12 views

lubuntu - change default window manager (awesome wm)

I'm using Lubuntu 14.10 and trying to change the default window manager to awesome. I installed awesome with: sudo apt-get install awesome Per the awesome wiki, I tried editing the ~/.xinitrc file ...
0
votes
0answers
7 views

Can squid be used in reverse or any other package be used in reverse

I'm attempting to host a minecraft game server. The primary obstacle is that the network I'm using only has 1 mbps upload. I have a vps available that has 1Gbps both ways. I would like to have the ...
1
vote
0answers
14 views

After installing updates and rebooting server SSH keys modified to use hostname instead of IP

After a recent update on my Ubuntu 14.04 AWS EC2 server my remote machines could no longer ssh in. Checking the syslog on the EC2 I found: Jun 26 02:27:06 ec2: ...
0
votes
0answers
11 views

Most minimal Linux for only a LEMP? [on hold]

I have a small VPS with 1 GB of RAM. I want to use it for WordPress only. So I need to install MySQL. I heard Nginx is far better than Apache, so I am looking forward to using it. I heard people are ...
0
votes
0answers
13 views

Do I need to worry about over-provisioning? Can swap be used for this purpose if it is not being used?

I am running Linux Mint 17. I'm posting this on Superuser rather than Unix & Linux because this probably isn't a Linux-specific question. I was thinking of buying a SSD but a ~250GB drive will be ...
0
votes
0answers
13 views

Snapshot a frequently changing file on linux

I have a file which is frequently rewritten by some application. The application runs and exits in a loop, so the file handle is released in short intervals. Is it possible to get a consistent ...
0
votes
0answers
8 views

pulseaudio pavucontrol: Missing “ALSA capture from” in gui

I am trying to redict sound output to fake microfone, but I got stuck in pavucontrol. After trying 3 tutorials, I gave up due to missing "ALSA Capture from" options. It should look like ...
0
votes
0answers
6 views

Using diff-highlight with Git GUI

Is there a way to use diff-highlight with git gui? The extra highlighted info is invaluable when comparing lines that only changed a bit, and while using diff-highlight from the terminal (described ...
0
votes
1answer
36 views

FFmpeg editing video on the fly

I am trying to make loop video on Android tablet which has ubuntu 15.04 installed in chroot. There are ffmpeg and all Linux tools are available. The problem that I have very limited space and ffmpeg ...
0
votes
0answers
16 views

VLC h265 failure to display

In VLC 2.2.1, an MKV file fails to show video, playing audio OK. Error message: Codec `hevc' (MPEG-H Part2/HEVC (H.265)) is not supported. http://pastebin.com/7duQbH6S has the verbose debug ...
2
votes
1answer
26 views

Laptop as *primary* display for desktop PC via LAN remote desktop

As the title says, I want to use a laptop as the primary display for a desktop PC. There's a few added challenges to this, however: The desktop PC does not have a display device of its own. By ...
1
vote
0answers
16 views

Per-process network usage on OSX?

I want to periodically poll for per-process network usage. Is there a way to do this efficiently in OSX like netstat -p on Linux? I know there's lsof -i -Tqsf but it doesn't seem to show bytes ...
0
votes
0answers
18 views

CentOS / RedHat DHCP working, static is not

I have installed CentOS 7 minimal install without GUI when I setup network configuration with Webmin web interface or manually editing files with VI it does not work. When I use e.g. "yum search ...
0
votes
2answers
22 views

How to open a encrypted hard drive on linux?

Hey I have encrypted my hard drive using Bitlocker in windows. How to open my hard drive on Linux and How to remove password ?
0
votes
1answer
14 views

HTML5 videos jagged/pixellated.

I'm using Chromium browser on Linux operating system but any html5 videos (like Youtube videos) are not resizing properly. This means that if I want to watch Youtube videos lower than 480p the videos ...
0
votes
0answers
12 views

GNOME window positioning mess

I want all newly created window to show up on display 1 or 2, without overlaping to another display, on GNOME 3.16.2. Currently I am using a 3 display setup, with two standard monitors and one ...
1
vote
1answer
28 views

Resizing a partition in Linux - Bad magic number in super-block error

I was trying to resize my partition with parted and resize2fs. I tried the following: #parted Partition Table: msdos Number Start End Size Type File system Flags 1 2097kB ...
-1
votes
0answers
11 views

AI platforms in the cloud or locally based [on hold]

I am looking for an AI platform to create a project. The AI can reside purely on the hardware or require an internet connection to participate in a third parties cloud environment. My requirements ...
2
votes
1answer
17 views

How to restore grub from a separate partition, to boot a luks partition?

My setup is: sda1 /boot ext2 sda2 swap swap sda3 / luks I broke the boot partition. Now when trying to boot manually, cannot figure out how to load crypto modules needed to open the root ...
0
votes
0answers
29 views

Debian laptop loses all network access, can't ping anything

I've got a laptop running Debian (Jessie) that for whatever reason has decided it hates wireless. It has some kind of Intel wireless card (not sure which), and so uses the iwlwifi package for ...
0
votes
0answers
11 views

Create a bridge between a tunnel and ethernet device

I have a Raspberry pi with Debian wheezy. There are three connections exists: eth0: native usb ethernet, connected to the router. eth1: plug-in usb ethernet adapter tun0: tunnel created by ...
0
votes
0answers
11 views

Does anyone has a program of pktgen which calculates per packet Latency?

The better situation is discussed in https://people.kth.se/~danieltt/pktgen/ The display I am getting now is this: DISPLAY_RX(tAverage: ns Variance ns2",); DISPLAY_RX(Max: ns Min:: ns", stats->max, ...
0
votes
2answers
18 views

How to reflect changes in PATH as done by a user script

I have a script which does some basic root PATH integrity check and inputs a line in ~/.bash_profile to source my script, so that changes my script made in root's PATH is permanent across restarts: ...
1
vote
1answer
18 views

How to batch resize many photos - but keep timestamp intact?

I have thousands of photos in many folders. I want to batch resize them to e.g. 3000px on the longest dimension and keep the timestamp intact. I have used the wonderfully simple tool Phatch to resize ...