0
votes
0answers
3 views

Can reboot system restart the service as systemctl does?

I've modified the file in /etc/config/network After modifying this, I need to execute the following command make it take effect. systemctl restart netifd However, for some reasons, the systemctl ...
0
votes
2answers
126 views

Installing apr(apt-get install libapr1-dev libssl-dev) in my linux system giving me errors

Because of some security problems I am moving to Apache 7 from Apache 6. I am trying to install apr packages in my linux machine. I am using the following command to install apr. apt-get install ...
0
votes
0answers
2 views

how to fix error python-pyparsing when install GNOME desktop in centos 7?

in first picture you see, I just type "# yum -y groups install "GNOME Desktop" and i meet the problem, that error, python-pyparsing, you see. How can I fix this problem? I try to do this, don't ...
0
votes
1answer
1k views

Curl Command PUT Method

curl -i -X PUT -H 'Content-Length: 1000' http://dfdc:dfdc@xx.xx.xx.xxx:xx/directory/ Above curl doesn't produce any response at Ubuntu shell prompt.
7
votes
3answers
311 views

How do I create a terminal-based gui?

I'm looking to create a terminal-based environment to adapt my bash script into. I want it to look like this:
-3
votes
0answers
39 views

Automate CP command [on hold]

cp /tmp/script.js /apps/jboss/jboss-4.2.3.GA/server/js-build/ cp /tmpscript.min.js /apps/jboss/jboss-4.2.3.GA/server/js-build/ cp /tmp/products.json /apps/jboss/jboss-4.2.3.GA/server/json/ ...
-2
votes
0answers
14 views

Can I full install multiple Linux distros on a 4TB hard drive?

So, I bought a 4TB hard drive for Linux (don't judge man) and downloaded a bunch of live CD's. That worked okay, but not good. Then, I realized my big problem. Since I am somewhat new to Linux I ...
11
votes
4answers
10k views

What are the world writable directories by default?

In a standard Linux filesystem, which of these common directories are world-writable by default? /tmp /etc /var /proc /bin /boot /.... .... Why are they world-writable? Does that pose ...
4
votes
4answers
18k views

Accessing a SMB share without a password

When accessing SMB shared that are password-protected, smbclient works just fine. But when I'm trying to access shared that have no password protection (public shares), smbclient prints: tree ...
1
vote
1answer
14 views

Extract files with cpio where one or more paths may contain spaces

We have a cpio archive that was created by generating a file that contains a list of absolute paths to be included in the archive. (one absolute path per line of a plain text file) The command to ...
1
vote
0answers
6 views

Mac Bootable USB not showing in boot menu

So the other day I created a MultiBoot USB using SARDU (It was the only one that worked with my 4TB hard drive). I had done this on my Windows 7 and thought, "Hmmmmmm, you know what would this really ...
0
votes
1answer
7 views

Should DNS (PTR Records) be configured differently for different ipv6 networks?

I am configuring DNS forward and reverse lookup for IPv6(Redhat). For both /64 and /120 prefix i am using below configuration for PTR records. for address 6b00:8a00:a000:11a1::a2b:1c9f (Only a ...
3
votes
1answer
9k views

Linux: set command for local variables

I am trying to understand local/environment variables and export/set commands. $ set FILEM="razrax" $ echo $FILEM $ FILEN="test" $ echo $FILEN test Please explain why echo $FILEM returns empty ...
-1
votes
0answers
8 views

how to fix install python-pyparsing-1.5.6-2.el6.rf.noarch.rpm?

i want to install python-pyparsing-1.5.6-2.el6.rf.noarch.rpm on my CentOS 7 but the error is in tthat picture. it say i need python 2.6 and I already installed python 2.6. But when I fix it again, it ...
0
votes
0answers
6 views

CentOS Multilib problem with libgcc

My friend's computer running CentOS 5.6, trying to install hhvm, but it got an error: $ yum install hhvm Failed to set locale, defaulting to C Loaded plugins: fastestmirror Setting up Install Process ...
0
votes
1answer
824 views

Configuring bridge network in kvm (debian wheezy 7.2)

I am desperately trying to run untangle 10 as a guest in kvm. My host system is debian 7.2 My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by ...
0
votes
0answers
5 views

How to disable ethx device under /sys/class/net

I am looking for a way to disable/delete eth2 entry from /sys/class/net [root@test ~]# ls -l /sys/class/net/ total 0 lrwxrwxrwx 1 root root 0 May 26 08:04 eth0 -> ../../devices/vif-0/net/eth0 ...
0
votes
0answers
3 views

What are btrfs generation_errs?

I have a btrfs file system that I've scrubbed a few times and found some errors. If I check the device status I see that I have generation_errs: $ sudo btrfs device stats /dev/nvme0n1p5 ...
0
votes
1answer
7 views

Get owner / user of a cronjob

In Linux (Mint / Ubuntu), I can create cronjobs for each user individually. Is there any way, I can find out the name of the user against whome the cronjob is running. I want to get the username of ...
2
votes
4answers
2k views

Restore from lost+found

There was a problem on an EXT4 FS/memorycard and after and fsck all the files were put in the lost+found. Question: how can I restore the old filename/hierarchy from the lost+found? Or it is ...
2
votes
1answer
13 views

SLURM: Custom standard output name

When running a SLURM job using sbatch, slurm produces a standard output file which looks like slurm-102432.out (slurm-jobid.out). I would like to customise this to (yyyymmddhhmmss-jobid-jobname.txt). ...
0
votes
1answer
34 views

How do I set up a udev rule to mount the SanDisk Cruzer USB upon insertion in order to eliminate an fstab entry?

Suppose I run sudo mount -a after setting /etc/fstab to: /dev/usbhd1 /path/to/mount/point ntfs rw,auto,nofail 0 1 Yesterday, upon asking what steps our architect and I should do next after a ...
0
votes
0answers
18 views

Change directory without using 'cd'

I have a list of files with their paths in a text file. And I want to copy these files, mentioned in list, to another directory with their parent folders tree. Also my shell-script to copy these files ...
1
vote
2answers
2k views

Installation of Pacemaker Corosync on RHEL Server 6.6

I was trying to install Corosync and Cman using yum install -y pacemaker cman pcs ccs resource-agents This works fine on CentOS 6.3. Tried the same on Red Hat Enterprise Linux Server 6.6 and ran ...
1
vote
2answers
115 views

find: meaning of the \? sign as a value of the name parameter

What is the meaning of the ? sign in the following command? find /foo/path -name \?
0
votes
1answer
10 views

Make Guake Float in i3wm

I want to default Guake to open as a floating window under i3. I created an entry under ~/.i3/config that reads as the following. My code is - for_window [class="guake"] floating enable My xprop ...
1
vote
0answers
4 views

PHP running as root on Apache2 running as daemon

On one of my servers, Apache2 is running as daemon user: [root@sbecby07 ~]# ps -ef | grep httpd root 1114 29432 0 10:13 pts/2 00:00:00 grep httpd root 29773 1 0 09:03 ? ...
1
vote
1answer
774 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
-4
votes
1answer
44 views

how to fix this command?

Can anyone help me this problem? what right package source need to download?
1
vote
1answer
106 views

Does X11 still have a hardcoded limit for application resource strings?

The xterm(1) manual page states: Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and ...
2
votes
1answer
1k views

Linux Mint Taskbar and Icons are gone

I have linux mint cinnamon 13. I installed it today. Well my problem is that my panel and my icons are gone. There is absolutely nothing but my desktop background. But I'm still able to switch to ...
0
votes
1answer
155 views

text colors in CentOS 6.5

I've got an inventory/ordering program that runs on cobol on CentOS. The program is pretty much all text-based and looks like an old DOS program. I did a reinstall of the server, updating from ...
0
votes
1answer
44 views

how to export name of logged in user correctly?

I have the following script here. #!/bin/bash #some initial variables DLURL=https://raw.github.com/horvan/drubuntu/master DIRURL=/opt/.drubuntu #Get files to run the installation wget -O ...
1
vote
1answer
10 views

Nautilus-script to move file into same name directory

How can I create a Nautilus script that moves a the selected file into a new folder with the same name? My starting point: /home/user/123 here 123 is a file with no extension My goal here is to ...
1
vote
1answer
20 views

Detemine “which device a file is in” in chroot environment?

According to this: Determine what device a directory is located on I can find which device a file is in by df command in a normal environment: fpemud-workstation / # df /bin Filesystem ...
0
votes
2answers
2k views

Wifi on/off button on TP-Link WR841ND

I installed OpenWRT into TP-Link WR841ND. Everything works as expected, but I can't get the wifi on/off switch working. I followed the guide described on the OpenWRT page for this router. Scripts in ...
0
votes
0answers
1 view

crytpsetup on device or partition?

I am creating an encrypted block device (for data) that will use BTRFS on top of LUKS. This device will not hold the root filesystem. With BTRFS, I can create subvolumes. I don't see any need for ...
2
votes
1answer
15 views

align rprompt with top of prompt

I've recently been getting really excited about zsh, and making myself an extravagant prompt, but I'm stuck trying to align my RPROMPT. I have an output like this: | [14:59:44] git:(master) ...
7
votes
3answers
3k views

Is there a way to install and remove packages in a single yum command?

Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.
0
votes
0answers
33 views

Count and compare files in Linux

I want to just compare the number of lines in two files. Below is the list of names of files. One file contains names/location of fastq files; the other file contains names/location of bam files. ...
0
votes
1answer
12 views

Using TFTP on Fedora 22

I am trying to troubleshoot tftp on my Fedora 22 to see if it is working or not. All I want to do is transfer a file between two systems. The commands I am finding online are not working. All I need ...
7
votes
1answer
778 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
0
votes
2answers
31 views

How can I copy a hidden directory recursively and preserving its permissions?

mkdir backupcache cp -rp .cache backupcache # or cp -rp \.cache backupcache does not work nothing gets copied and directory backupcache remains empty
0
votes
1answer
26 views

Install PostgreSQL 9.5 CentOS 7

I'm trying to install PostgreSQL 9.5 on CentOS 7. I've searched online and to get access to the 9.5 RPMs it requires installation of pgdg95 via the following command: sudo rpm -ivh ...
1
vote
3answers
5k views

Authentication very slow (both with ssh and su)

I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...
0
votes
0answers
5 views

Can I run NixOS in an LXC container?

Can I run NixOS in an LXC container? To run debian on top of debian, one would use LANG=C SUITE=jessie MIRROR=http://httpredir.debian.org/debian lxc-create -n debian8 -t debian What should one ...
1
vote
0answers
8 views

Enable audio on remote Windows computer through xfreerdp

I'm using xfreerdp to login to a windows machine (runnning windos 7 64bit) on my desk next to my linux machine (running RHEL7). Normally I use: xfreerdp -k uk -g 1280x950 --no-nla --plugin cliprdr ...
0
votes
0answers
12 views

notify-send not showing when executing with sudo [duplicate]

In short: I have a scripting finding, fixing and mounting a partition, thus this needs sudo / su permissions. System: Gnome 16.04 - amd64 notify-send "a message" shows a notification as expected, ...
0
votes
0answers
34 views

How can we verify the Debian software and the download mirrors which provide it are safe? [on hold]

How can we verify or test if the Debian software and the download mirrors which provide it are secure, safe, and unmodified? Related: How is the authenticity of Debian packages guaranteed?
1
vote
1answer
34 views

How is the authenticity of Debian packages guaranteed?

What security systems and processes are in place to prevent malicious third parties from hacking/compromising the security of code in the Debian mirrors, or to verify that the packages we get are in ...

15 30 50 per page