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
0answers
18 views

Why visual studio code doesn't run on Ubuntu?

I tried to run Visual Studio Code https://code.visualstudio.com/ after unzipping and double clicking on app nothing happens (no error message) when I double-click on application (named Code) why ?
1
vote
1answer
11 views

Select gateway used for certain commands on Linux

I have multiple network interfaces providing a connection to the internet. I can change the interface used for internet access via route add default gw ... at any time. However, is it possible to ...
0
votes
1answer
9 views

Why can't I use a specified port in /etc/ssh/sshd_config for remote transfers?

I have just setup a vps server on Ubuntu 14.04, for security reasons, I changed the allowed port for ssh connections in /etc/ssh/sshd_config. So far I've been able to connect remotely via this new ...
0
votes
4answers
14 views

How to limit CPU consumtion of a process group with standard GNU/Linux tools?

I have a bunch of processes of the same name - they take up 100% of my CPU time, I want this to be no more than 50%. How can I do this without installing any extra software?
0
votes
0answers
6 views

gnu-parallel encrypting files with spaces or special characters?

I'm trying to encrypt a bunch of files with the code below: find . -name "*.vi" | sort | parallel --gnu -j 4 --workdir "$PWD" ' echo "Encrypting {/.} ..." gpg -r user@myemail.com -o ...
0
votes
0answers
6 views

Failover on voyage os using eth0 and ppp0 interfaces

Hi I am having problem for failover handling on voyage os. I have a system with eth0 and ppp0 interfaces where eth0 is primary and ppp0 is a secondary path for traffic. root@voyage:~# route -n ...
1
vote
1answer
13 views

how can I shrink logical volume and create new partition if the logical volume to shrink is present in the middle?

I have a HDD of size 120Gb, that has RHEL6 with 2 physical partitions sda1: /boot sda2: LVM managed Logical volumes VolGroup00 VolGroup00 contains following logical volumes /lv_root 36G /lv_opt 45G ...
0
votes
0answers
4 views

Send formatted text in Skype for Linux

Is it possible to use formatting (italics, bold, preformatted) in Skype for Linux as it is on Windows? How? I'm running Skype 4.3.0.37 on Ubuntu 15.04.
0
votes
0answers
8 views

digitalocean server cpu is 75% all the time

I have a nice server in digital ocean, it's the 1GB ram size. It has installed: php, mysql, nginx, supervisored, beanstalkd as I installed. But the problem is the I see that all the time the cpu is ...
0
votes
0answers
15 views

how to rename the Linux OS name installed in USB stick (LIVE USB)

I am looking for the solution for modifying the query. The requirement is as follows Installing the Any Linux OS in USB stick, here i have installed Fedora 21. Now I need to rename Fedora OS to "Nik ...
1
vote
0answers
6 views

How to locally access (ie. ssh) my home server once it's opened an OpenVPN connection?

I've set up a Raspberry Pi (running Raspbian) at home as a media server which I access from outside my network via SSH and other ports (ie using Plex client from mobile through port 32400). Recently, ...
0
votes
0answers
1 view

Restore Btrfs snapshot from subdirectory to parent

I have a Btrfs partition which has a single subvolume at the top level (/root). It has subvol=root option in /etc/fstab. Every week, I take a readonly snapshot into /root/snapshots/... using: btrfs ...
2
votes
1answer
44 views

convert timezone of timestamp string in bash

I have a date/time string which is extracted from a filename. I know that the timestamp was written using time zone A and I need to convert it to time zone B for further processing. Is this possible ...
0
votes
0answers
4 views

Multi server dashboard for displaying dstat (linux perf tool) output

I have made several forays into locating a free dashboard program that has prebuilt support for displaying dstat metrics. The intent would be to have configurable number of graphs/displays and be ...
0
votes
2answers
11 views

rsync variables script syntax error

Really struggling with getting a command argument variable to work with rsync. The behavior i'm seeing is this error from the script: rsync: connection unexpectedly closed (0 bytes received so far) ...
0
votes
2answers
13 views

How does libreoffice express a linebreak when saving a csv?

I’m attempting to save a CSV using LibreOffice Calc to be imported to a MySQL database. Saving it as a CSV is pretty straightforward in LibreOffice but I don’t know how the resulting document ...
0
votes
1answer
16 views

how to change the right control key in a super/hyper modifier in emacs

I'd like to change the right control key along into a "super" modifier and right left alt key into the "alt" modifier (not the Meta) in Solaris and Linux (as I know how to do that in Windows using ...
0
votes
2answers
37 views

can't anybody copy their ssh public key onto my server?

I am setting up my first ever home server and want to make it ssh-able from the internet so i can access it anywhere. I am following this guide and i understand it so far up until where it says ...
0
votes
0answers
9 views

GParted shows false partition information after resize2fs of ext4 partition

I expanded my mdadm RAID 5 from 5 to 6 4TB disks and grew the raid. That all worked well. After I tried to expand the ext4 filesystem in GParted, which failed because of the 16TB limit. Afther the ...
0
votes
0answers
9 views

Disk Usage Equivalent of Bandwidth Stats

Looking for in effect the equivalent of vnstat -w but for disk usage: rx | tx | total | avg. rate ...
1
vote
1answer
13 views

Bash -gt: unexpected operator

I have a checkSpace.sh which check the used space on a disk and if is greater than 80 stops a service #!/bin/bash percent=sudo df /media/usb | tail -n 1 | grep -E [[:digit:]]+% -o | grep -E [1-9]+ ...
0
votes
1answer
19 views

Parse csv file and for each object set as a variable

What I'm trying to do is parse a csv file that has server names and ipaddresses and assign these to variables I then run commands using each set of variables. So if the cvs file, test.csv, looks like ...
0
votes
0answers
9 views

is it a good idea to add administrative users in ubuntu's adm group?

The main motivation is to allow reading most log files (rsyslog) without sudo, provided that the have mode 640... Are there security drawbacks to doing this ? By "administrative users" I mean the ...
0
votes
0answers
10 views

Connect via Remmina to XRDP on Centos 7 returns blank black screen

I have a fresh virtual machine with Centos 7, there was no DE (it's a machine in cloud system). So, I connect via ssh and installed group "GNOME Desktop", and then installed xrdp as here ...
0
votes
0answers
7 views

How to filter Remote Syslog messages on Red Hat?

I'm using a unified log on a server running Red Hat 6, receiving directed log messages from others servers and managing them with RSyslog. Until now, the /etc/rsyslog.conf have this rule: if ...
0
votes
0answers
5 views

apache2 virtualhost wrong documentroot or not loading css

I am trying to setup a wordpress, I just bought a domain name that I want to make it point to /var/www/somedirectory Because I still want to be able to access /var/www/someotherdirectory for other ...
0
votes
0answers
9 views

Find riak node's listening HTTP and Protobuf port

I recently followed and scripted the Riak 5 minute install, successfully getting 4 nodes running on a Ubuntu 14.04 VM. Currently the nodes are running and are joined / clustered successfully. ...
0
votes
1answer
11 views

Auto open virtual Keyboard in Linux (Debian) if text to be entered?

Is there any possibility to auto open an on-screen virtual keyboard in Debian to when the focus is set to a text field? The behaviour should be like in iOS or Android app... Thanks!
1
vote
1answer
16 views

How to specify private key when decrypting a file using GnuPG?

I am trying to decrypt a file with GnuPG, but when using the command below: gpg --decrypt filename.gpg I get the following message: gpg: encrypted with RSA key, ID 3662FD5E gpg: decryption failed: ...
-1
votes
1answer
22 views

Connect to remote Linux server localhost through browser on Windows desktop

I have an application called SpagoBI that is running on a remote server. On the server it can be accessed through http://serverip:8080/SpagoBI. I want to be able to access that url on my windows ...
0
votes
3answers
34 views

How to boot Linux on a Mac with USB?

Although this question is even asked here before, the replies are outdated. My Mac HD failed, an the machine does not boot anymore, but I absolutely need to recover the data in it. So I thought of ...
0
votes
0answers
20 views

Rollback Kernel Ubuntu 14.04.2

I have looked at many answers on here but no matter what it doesn't seem to work. Fresh install of Ubuntu 14.04.2, trying to install an older kernel. I only have SSH access no GUI etc. What i have ...
-1
votes
2answers
27 views

Some Advice on Installing Linux Mint [on hold]

I am going to Dual-boot my machine with Linux Mint Cinnamon(With multimedia support). My configuration is as follows: Intel Pentiun G630 500 GB Hard Disk 2 GB DDR3 RAM As I am new to installng a ...
0
votes
0answers
15 views

Cannot access my port from other systems in same network

My machine is running in Red Hat Linux OS. I have setup a server using apache in port 8060. I am able to access in localhost but not is other systems for the same network. I am able to ping the ...
1
vote
1answer
14 views

How to remove the gpg signature from a signed file without creating a new file on disk?

If I have a 100 MB signed binary file that I download over the internet, I need 200 MB of disk space to open it. The file is just signed, not encrypted. When disk space is low, It is not possible to ...
1
vote
1answer
7 views

VTE Escapes Sequences

I'm investigating a problem where messages like ]777;notify;Command completed;uname⏎ show up in Terminal after executing uname. This is not limited to uname, this is only an example. I boiled it ...
1
vote
0answers
12 views

Embed initramfs into existing kernel

Is it possible to embed an initramfs image into existing kernel without recompiling the whole thing? I don't have resources to do that.
0
votes
0answers
14 views

Find video duration after applying slow motion

I'm trying to have apply slow motion effect to a series of videos. And further those videos will be scaled, padded and cross-faded. Following is the command I'm using to apply slow motion. ffmpeg -i ...
0
votes
0answers
11 views

Two-Factor Authentication Ubuntu verification code + password not working

I'm trying to install google-authenticator on my Ubuntu server. I installed the lib via: sudo apt-get install libpam-google-authenticator then In my /etc/pam.d/sshd I've added: auth required ...
0
votes
1answer
51 views

Script that scans my network

I have a question I want to run a script that scans my network and that I can see with devices are up in my network. I want to paste some arguments also in the script When I run the script: ...
-1
votes
1answer
21 views

What extras do I need to maximise battery life on a Linux laptop? (And how to stay current)

Now, I know that this question has probably been asked 1000 times - but as far as I can tell, the answer seems to change a lot over time. While researching, I came across powertop, pm-utils, tlp, ...
0
votes
0answers
6 views

Alternative of arch_fast_hash in Linux kernel v3.19 and above

To find the hash value of a given buffer, I used arch_fast_hash function present in Linux kernel v3.16 declared in include/linux/hash.h and defined in linux/lib/hash.c. But in Linux kernel v3.19, ...
0
votes
0answers
11 views

While upgrading linux, how to prevent packages from performing certain operations?

I have to update some machines, but I am using a patched version of linux, and don't want packages to modify specific files. To be clearer here is a list of the actions I don't want a package to be ...
0
votes
1answer
26 views

Webserver to provide several options to cleint download request?

I want to be able to download from webserver a file. However, I want the server to store several versions of that file (for example, one saved as AppB.tar or another as AppB.tar.gz), and then for the ...
3
votes
1answer
45 views

Why does “curl” command work normally while “ping” not?

I find a strange phenomenon in my corporate network: I can execute curl google.com command successfully: [root@localhost ~]# curl google.com <HTML><HEAD><meta ...
0
votes
1answer
19 views

Move /home on Centos 7

I need to move my /home to /dev/md3 because I need more disk space for it, but I don't know how to do that. I copied the contents of "/home" to "/var/home", but I do not know how to assign "/var/home" ...
0
votes
0answers
11 views

Intentionally reduce speed of ddrescue

(first time poster) I want to slow down how fast ddrescue copies data. I'm imaging a hard drive from my linux laptop to my windows desktop. ddrescue is able to run faster than my computer can download ...
4
votes
1answer
31 views

cd <nonexistent_directory> in bash causes cd to different directory?

Ok, so I've been using Linux for 18 years and have never seen or heard of anything like this: starting-forth$ ls ch01/ ch02/ ch04/ ch05/ ch06/ text/ starting-forth$ cd ch07 # A directory I ...
0
votes
2answers
20 views

mount root (/) again after mistake, without /etc/

I think I accidentally mounted /dev/hde1 to / after formatting another disk with mkdosfs -F 32 -I /dev/hde1 /dev/hdc1 should be mounted on / but now there is no way to remount it again since ...
0
votes
1answer
19 views

How do I run Asterisk as user other than root?

I compiled Asterisk 11 from source as user root on CentOS. Now I want Asterisk to run as user asterisk group asterisk. I have uncommented AST_USER="asterisk" AST_GROUP="asterisk" in ...