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
5 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
0answers
6 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
11 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
32 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
7 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
8 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
10 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
17 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
8 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
3 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
4 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
15 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
19 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
31 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
19 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 ...
0
votes
2answers
20 views

Some Advice on Installing Linux Mint

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

Embed initial ramdisk into existing kernel

Is it possible to embed an initial ramdisk image into existing kernel without recompiling the whole thing? I don't have resources to do that.
0
votes
0answers
13 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
47 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: ...
-2
votes
1answer
19 views

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

Cross posting from here, since it got no useful responses - perhaps it will have more luck here. -- Now, I know that this question has probably been asked 1000 times - but as far as I can tell, the ...
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
10 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
25 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
41 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
18 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
10 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
19 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 ...
0
votes
1answer
8 views

apt only half-sees a package

On debian stable, with almost standard sources.list file, I can't install the following package. $ apt-cache showpkg ttf-mscorefonts-installer Package: ttf-mscorefonts-installer Versions: ... ...
0
votes
0answers
3 views

nginx + php5-fpm displays 502 Bad Gateway

After an update php5-fpm stopped working. It shows blank page, and after restarting nginx 502 Bad Gateway. In nginx log there is following line: 2015/05/27 20:27:08 [error] 3034#0: *40 recv() failed ...
0
votes
1answer
6 views

Cisco Anyconnect VPN (Linux) won't launch

Using OpenSUSE 13.2 (64-bit), I recently installed the Cisco AnyConnect VPN. It shows up in my applications list, and I can try to launch it, but after about 10 seconds of the "loading" spinning icon, ...
0
votes
0answers
15 views

Why do wget and curl fail to download page source?

Via a shell script, I would like to download the source for a web page with air quality data on aqicn.org. Here is the URL for the page with Beijing air quality data: http://aqicn.org/city/beijing/m/ ...
0
votes
0answers
9 views

How do I break out of an inner loop? [migrated]

#!/bin/perl for (( i=0;i<=10;i++ )) do for (( j=1j<=3;j++ )) do if(( $j==0)) then break fi done done Other than break is there is any keyword like in perl ...
0
votes
0answers
9 views

Debian upgrade from wheezy to jessie: Networking fails after short period

I've just upgraded my Debian system from wheezy to jessie. Almost everything works, but I lose the use of the network after a few minutes (no more than 5). I can get it back by doing a "service ...
0
votes
1answer
22 views

about packages in Linux?

When i open this folder /var/cache/apt/archives I found a big list of all the deb files of all the programs that I've installed before so my questions is : Is it possible to use these files ...
0
votes
0answers
6 views

rsync a folder ignoring sud-dirs which has with circular symlink

I am trying to rsync a folder as below: rsync -ahLz ./src /tmp/ Dir "./src" has circulr symlink as: $ ls -l src/cpp/blddir lrwxrwxrwx 1 lnxbuild users 16 May 27 02:16 src/cpp/blddir -> ...
0
votes
0answers
12 views

Find the correct .desktop file

I'm faceing a strange thing. I installed QTcreator on my Debian 8 system. Application was added to favorites, and I found a DigiaQt-qtcreator-community.desktop file in ...
-1
votes
0answers
15 views

How to download encrypted HLS videos on any sites

I am using Ubuntu 14.04 and win8 as dual boot. I generally use Ubuntu. I wanna learn how to use hls-fetch or any hls downloader on Ubuntu. And all video is downloadable via IDM on Windows. But I have ...
0
votes
1answer
21 views

Creating deb file in Debian using github source code and debuild tools

I want to compile nginx (with custom libs) using up-to-date source code from GitHub. But if I download the code from GitHub, obviously, there is no "debian" folder and inner files. So, when I use ...
1
vote
1answer
20 views

How to remove/change a disk filesystem label?

On a disk drive there was ZFS filesystem installed, and now it's been replaced with btrfs. But "zfs_member" label remains as the disk label: $ lsblk -f sda |----sda1 ntfs label1 sdb ...
1
vote
1answer
19 views

How to unmount dvd (external usb) via eject button on device?

I have an problem with my external usb Dvd-Drive. Everything works fine, the mount works, unmount or eject via shell works. But if I press the eject button on the device it just eject the dvd but does ...
2
votes
1answer
26 views

Windows does not recognize HDD after reformatting one partition

I have 2 hard disk drives on my computer : On the first one, I have only Windows 8.1 and Ubuntu 14.04 installed (dual boot) The second HDD has 5 Partitions where I saved documents. Initially, all ...