2
votes
0answers
24 views

Using xrandr when starting new xserver

I'm trying to set the resolution and refresh rate of a screen when i launch an application on a new xserver. The xrandr commands i usually use to get this screen to work are: xrandr --newmode ...
0
votes
1answer
6 views

How to configure Centos 7 firewallD to allow docker containers free access to the host's network ports?

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
3
votes
3answers
52 views

Shell script to move files if certain percentage of lines contain a certain string

I am working on a shell script to move files if certain percentage of the lines contain a certain string. I've got ~2000 files in a directory that each contain a single column of data. The number of ...
0
votes
1answer
13 views

How to burn lossless music to a CD?

I have a bunch of lossless files (.flac and .ape) that I would like to burn on a CD to listen to on any standard CD player (in my old car's for example), but I am unsure how to do it. Specifically I ...
1
vote
1answer
22 views

Login to user's session with chroot

I have an USB thumb stick with the following partition scheme: sdb sdb1 -> root partition '/' sdb2 -> /home partition If I boot from a live CD, or just from my current Ubuntu OS ...
1
vote
0answers
16 views

USB MIDI keyboard (Oxygen 61) now not appearing in QJackCtl

I've had a USB Oxygen61 MIDI keyboard for awhile now, and it has worked fine in the past (maybe a month ago, last I tried). But now when I plug it in, it no longer shows up in aconnect -l, and I ...
2
votes
1answer
53 views

Command for killing specific PID provided by previous command

Sometimes I need to kill a process (the reasons why are not important). And I know I can find that process with the following command: lsof -i :8080, being my candidate the last process in the output ...
1
vote
0answers
18 views

Backing up VPS via SSH/SFTP

I'm going to perform some maintenance on my VPS (Ubuntu Server 15.04), and I would like to back up some files before doing so. The problem is that some of these files are under other users' home ...
1
vote
0answers
21 views

Some of fn keys not recognized after upgrade

After upgrading my system (including kernel) I discovered that some of fn keys (XF86MonBrightnessUp and XF86MonBrightnessDown) are not recognized by xev and even showkey. Each time one of these keys ...
0
votes
0answers
23 views

Using breeze-dark with non-KDE apps?

TL;DR summary: is there a knowledge base anywhere for getting stuff like firefox to work well with breeze-dark? The new light-on-dark KDE theme, breeze-dark, is great. I love it. However, some ...
0
votes
1answer
19 views

Permissions for new user

I have created a user in my Centos VPS. But with the new user I can not create, modify files in any folder (for example /var/www/ or /etc/nginx/conf.d/), even though I have added the new user to the ...
0
votes
1answer
48 views

How do I center-align a column in UNIX?

I’m trying to center-align a column using the command column. The output should look like this: temperatures 50 12 89 63 How can I do this?
3
votes
1answer
22 views

Io redirection vs file logging performance c/c++

Is there a performance difference from a latency point of view if we do a regular printf and redirect stdout to a file when running the program ( e.g., ./a.out > log.txt 2>&1 ) vs using fprintf ...
2
votes
1answer
19 views

Why does btrfs refuse to convert metadata to RAID1

I created a single-device btrfs filesystem. According to the btrfs wiki article on using multiple devices, I should be able to convert that to RAID1 using: btrfs balance start -dconvert=raid1 ...
0
votes
2answers
21 views

tgz file give invalid compressed data--format violated [on hold]

I have download this file http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-HPUX11iv3-aCC.tgz https://ssl.icu-project.org/files/icu4c/55.1/icu4c-bin-55_1.md5 md5sum ok But on linux and ...
0
votes
1answer
75 views

Different look and feel for gnome classic in Debian 7 and Debian 8

I have upgraded a Debian 7 system to Debian 8 and, among other changes, when I log in using gnome-classic, the desktop background is new. However, my gnome menus have not changed, as you can see in ...
0
votes
1answer
24 views

MySQL: connection refused…coudn't find mysqld.service

I am trying to install MySQL onto a Fedora 14 VM. I successfully installed it using yum install mysql mysql-server after which I tried to start it with systemctl start mysqld.service which ...
0
votes
1answer
9 views

Determine what port OpenSUSE firewall is blocking

I am having a problem with the WebStorm IDE in that I cannot use its built-in FTP capabilities probably due to my OpenSUSE (Tumbleweed) firewall blocking some needed ports. I am assuming that because ...
1
vote
1answer
25 views

Convert Blog to PDF or Epub Book

I want a command or script to collect all the posts on a given blog and convert them into a PDF and/or Epub book without needing to be the owner of the blog. This website allows users to convert blogs ...
0
votes
0answers
14 views

swf players fail after 2 seconds

I am using -> Gentoo Linux localhost 3.18.11-gentoo #4 SMP Tue Apr 28 05:36:21 EDT 2015 x86_64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GenuineIntel GNU/Linux, with a -> 01:00.0 VGA compatible ...
0
votes
1answer
2 views

Fail2ban, jail.conf not exist

I installed Fail2ban to my debian, but I haven't jail.conf file in /etc/fail2ban/. I have only: action.d, filter.d Where can I find jail.conf?
1
vote
1answer
30 views

A way to list all running dbus session buses?

Is there a convenient or canonical way to find the address of every session bus currently running?
-1
votes
0answers
13 views

How do I setup a secure HTTP/SOCKS “proxy” tunnel through a Ubuntu server?

Is there any helpful tool that will allow me to turn a existing Ubuntu machine/server into a full featured SOCKS/HTTP proxy server which I can offer to customers? Meaning that I should be able to ...
0
votes
1answer
38 views

xhost: unable to open display; not able to run oracle GUI runInstaller [on hold]

Getting following error during run of installation: dm01dbadm02.cdsiexa.net:oracle:/dev/shm/GGEXTR/fbo_ggs_Linux_x64_shiphome/Disk1 >ls install response runInstaller stage ...
3
votes
1answer
15 views

On lockscreen how can I auto-turn off monitors if they wake up?

I'm on Debian (Jessie) using KDE 4.14.2 nothing really stood out to me in the System Settings on how to trigger a lock screen and after doing a bunch of research I ended up binding Ctrl+L to run the ...
0
votes
2answers
38 views

apt-get update failed to fetch and /sources.list.d/ empty

Running the sudo apt-get update command, I got the following error: Fetched 988 kB in 16s (59,3 kB/s) W: Failed to fetch ...
3
votes
2answers
24 views

Does secure delete files on an encrypted partition make sense?

I have an encrypted partition that I mount with cryptsetup at every boot. Does secure delete (e.g. with srm) a file into this partition make sense? I know that from an external point of view an ...
0
votes
0answers
28 views

ATI Radeon HD4850 drivers on linux?

I went online and searched, and I found a command to install drivers. But it turns out I already have them, but it still doesnt work? Is there any settings I need to work on? My commands ...
4
votes
4answers
228 views

How can I safely get the version of ksh?

How can I safely get the version of ksh from within a ksh script? I have seen the following solutions: ksh --version echo ${.sh.version} echo $KSH_VERSION And if the circumstances are perfect, ...
0
votes
1answer
21 views

Filtering Log Output on Separate Lines

I did a recursive grep in a directory to find all files that would match as follows grep -ER "match_string1|match_string2" /path/to/dir/ What I get as output is: ...
1
vote
0answers
25 views

What does an inode for a socket contain?

I read somewhere that the inode for a TCP socket would contain the buffer space. Is that true, and if so, does it mean that the inode contains a memory address for the buffer space used by the ...
0
votes
1answer
13 views

Error while trying to connect 2 pcs in lan

I'm trying to connect two PCs in local network and am having difficulties: not that information you need, so I will put some, if I can put it need more: pc1: OS GNU/Linux Mageia pc2: OS GNU/Linux ...
0
votes
1answer
21 views

“Invalid MIT-MAGIC-COOKIE-1 key” when trying to run program remotely

I am attempting to run an application (ParaView) in client-server mode with its graphics rendering being done on the remote (server) end. I am using SSH as my means of connecting to the server, but do ...
3
votes
0answers
20 views

How to detect if USB device is bootable in udev?

I'm trying to write a udev rule to not mount USB devices plugged into my system if they're bootable, but I don't know how to specify in udev if a device is bootable in a rule. Is that possible? If so, ...
1
vote
2answers
38 views

sendmail: proper /dev/urandom

I'm configuring sendmail on hpux 11.31 i have to set a a random file if i set define(`confRAND_FILE',`dev:/dev/urandom')dnl Give this error STARTTLS: Error: no proper random file definition ...
0
votes
0answers
12 views

noip2 can't update my IP address correctly after computer reboot

I want to set up a server with using no-ip DDNS service. I follow this guide, but it can't update my IP address after reboot the following message is command # noip2 -S 1 noip2 process active. ...
0
votes
0answers
24 views

Postfix connecting to itself

I have a weird issue with my postfix installation, also I'm having troubles to debug it because I'm new to the topic. When I check my log lines: postfix/smtp[29663]: A929510E76D9: ...
0
votes
1answer
48 views

How do UDP multicast behave on Unix?

A Unix expert told me that ip-multicast uses Ethernet multicast (depends on MAC address to spread) instead of IPv4 multicast. Is this true? Does it depend on the kernel or version?
2
votes
1answer
95 views

bash time with nohup

I want to know how much time it takes to run something in nohup. I know this works: $ time sleep 2 real 0m2.001s user 0m0.000s sys 0m0.001s But why it doesn't work with nohup? $ nohup ...
0
votes
0answers
13 views

Permission of any file folder set to read only on upload

I have inherited an old CMS system that I have just cleansed from a massive hack attack. I copied all the files and databases, scrapped the old server, cleansed the files via various means, cleansed ...
1
vote
1answer
43 views

How do I apply a patch?

I need to apply the following patch, and I don't want to mess up what I have so far. Below I have posted the complete content I found online, which was someone's response to a question similar to ...
0
votes
2answers
29 views

grep to ignore special characters in a file [on hold]

I have a java file and I want to list the number of times the word port occurs. But the only problem is I have many functions which have the work port in it too. Here is an example of a function : ...
2
votes
3answers
32 views

Create many files with random content

I am looking for a command to create multiple (thousands of) files containing at least 1KB of random data. For example, Name size file1.01 2K file2.02 3K file3.03 5K ...
1
vote
1answer
20 views

Permanently magnify the content displayed in Firefox

I'm using Linux Mint 17.1 MATE. On of the users of the computer have troubles with eyesight and seeing very small text. I increased the DPI of the whole text in RMB > Change Desktop Background > ...
0
votes
0answers
11 views

Left channel sound level very low compared to Right one

I am using the front analog audio jack from the NUC (microphone in/headphone out/speaker out) with a standard jack and standard speakers or headphones (which work well on another computer). I tried ...
2
votes
5answers
63 views

`xargs` with spaces in filenames

I'm trying to list only non-image files, searching only in the most recent 500 files. So I run ls -t | head -500 | file | grep -v 'image' which isn't right: it displays a help message. Changing it ...
1
vote
1answer
31 views

Host linux distro without GUI?

I saw this video on Youtube: Run Kali Linux on Android The phone uses the app: Linux deploy, which uses the phone to host the distro, but there's is no GUI. The only way to connect to Kali, is by ...
1
vote
1answer
65 views

RPM Requires group

During RPM installation under the Requires section of my spec file how do I install a group of things? For instance: Requires: Developer Tools which will pull from yum because I execute this like ...
0
votes
0answers
23 views

Debian setup launching GRUB bash

I have a little problem with setting up Debian. When I boot from the installation USB in UEFI mode, I get the GRUB command line. If I type in "boot", I get Please load the kernel first. I had Ubuntu ...
1
vote
2answers
31 views

Log and plot temperature-time curve over given time intervall

How can I log and plot a graph of all available hardware temperatures (CPU, SSD, etc). CPU load over a given time (say a day or a week) in linux? The CPU is i7 haswell if this matters, I have ...

15 30 50 per page