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
2 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 as a csv is pretty straightforward in libreoffice but I don't know how the resulting document expresses ...
0
votes
1answer
9 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 ...
2
votes
1answer
413 views

Ubuntu preseed. Use whole disk space, but no swap

I'm trying to make a installation usb stick for a equipment we have here. I would like to automate linux installation, because we have a lot of these machines to install. The machine has a 30GB SSD ...
26
votes
7answers
54k views

play mp3 or wav file via Linux command line

I would like to make an alarm system backed by a Ubuntu (no graphical interface) box, which plays various announcement and alarm audio tracks (.mp3 or .wav) via the command line. For example: $ ...
0
votes
2answers
29 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
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
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 ...
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
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 ...
1
vote
9answers
25k views

Why I cannot copy install.wim from Windows 7 ISO to USB (in linux env)

I need to make a USB bootable disk of Windows 7 ISO. My USB is formatted to NTFS, ISO is not corrupt. I can copy install.wim elsewhere but I cannot copy it to USB. I even tried rsync. rsync error ...
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 ...
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 ...
4
votes
1answer
15k views

How to adjust the screen resolution in Debian?

I've installed Debian testing from netist image in a AMD Radeon system. I am using Xorg and awesome wm. The default screen resolution is 1024x768 while my screen supports 1366x768. I've tried xrandr ...
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: ...
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: ...
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!
17
votes
4answers
16k views

Clear terminal using keyboard shortcut

I was curious if there is a way to clear the terminal buffer/output through some keyboard shortcut. I am using Ubuntu. I am aware that Ctrl + L clears the terminal, but you can still scroll back to ...
0
votes
3answers
29 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 ...
-1
votes
1answer
18 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 ...
10
votes
7answers
23k views

Is there a log that records shutdowns in Linux?

I was wondering if there is a log file in Linux which records every time the computer is shut down? The reason I am asking is I am doing some tests involving how long my laptop battery lasts under ...
3
votes
2answers
58 views
+50

Computer does not boot after changing hdd and reverting back

1) I have an existing HDD in my computer that dual boots linux and windows using the traditional bios way. 2) I then took out the existing HDD and swap in a new HDD to install linux on it with uefi. ...
1
vote
1answer
30 views

windows 7 boot screen logo issue

I have a problem with my Lenovo b50-70, I installed Ubuntu and Windows 7 in two different disk partitions, but when I choose Windows in the grub I see that instead of windows boot logo: So, I ...
0
votes
0answers
18 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
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
2answers
19 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 ...
3
votes
1answer
2k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...
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 ...
31
votes
1answer
48k views

Linux unzip command: Option to force overwrite?

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace ...
1
vote
1answer
10 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 ...
2
votes
2answers
1k views

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ...
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 ...
-2
votes
1answer
18 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
1answer
24 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 ...
2
votes
3answers
935 views

Okular doesn't allow me to do reviews on certain pdfs

As the title says I found a particular pdf in wich okular's review function is not working. Whenever I press F the review menu doesn't show, and by trying to access it via tools -> menu it looks like ...
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 ...
1
vote
1answer
120 views

Dropbox CLI syncing issues

I have (only) SSH access to a remote server, on which I installed Dropbox and the CLI as per these instructions: ...
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, ...
4
votes
1answer
2k views

How to unmark an NTFS cluster as bad?

How do I unmark clusters as bad in NTFS? Background I mistakenly ran >chkdsk /R on my SSD, where /R: Locates bad sectors and recovers readable information (implies /F) /F: Fixes errors ...
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
162 views

Set a custom preset for HandbrakeCLI?

I'm at a very long task at converting 800+ small files to mp4, and I'm using Handbrake at the moment. Its fast, but since there are many files, it takes a lot of time. I created a automator workflow ...
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 ...
4
votes
1answer
29 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
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" ...
1
vote
0answers
47 views
+50

Virtual Boxes, Linux hosts, Windows guests, Shared folders and Recycle bins

Basically what I am looking for is a way for sharing folders between my Debian Jessie host and Windows 7 guest without the fear that I accidentally delete files under Windows and have no (convenient) ...
0
votes
3answers
34 views

Why can't the guest of VirtualBox connect to network?

I have installed CentOS 7 on virtualbox, and network setting is NAT. The guest can't connect to network: systemctl -l status network output likes this: ip addr output likes this: Could anyone ...