0
votes
0answers
15 views

sudo update-ca-certificates always add new cert

When I run sudo update-ca-certificates on debian 8 it is always add one new cert. it is normal behavior? What's can be wrong? ar@work:/tmp$ sudo update-ca-certificates Updating certificates in ...
0
votes
0answers
11 views

Chromium - H.264 support on Fedora 23

is there a way to add H.264 support to Chromium on Fedora 23/24? Any workaround or alternative solution is fine. I currently use spot's Chromium repo.
0
votes
1answer
10 views

Install compat-libstdc++-33.i686 on Red Hat Enterprise Linux Server release 6.5 (Santiago)

I need to install compat-libstdc++-33.i686 on a Red Hat Enterprise Linux Server release 6.5 (Santiago) without a Red Hat Network Subscription. Is there some where that I can download the required .rpm ...
0
votes
3answers
45 views

How can I retrieve and compare two values from a file? [on hold]

How can I retrieve and compare two values from the first two lines of a file? I have the following text: 05-24-2016, 2:59:32,0,0 05-24-2016, 2:59:37,0,0 05-24-2016, 2:59:42,0,0 05-24-2016, ...
0
votes
3answers
28 views

How to extract logs between the current time and the last 15 minutes

I want to extract the logs between the current time stamp and 15 minutes before and sent an email to the people configured. I developed the below script but it's not working properly; can someone help ...
0
votes
1answer
19 views

Get parent directory in cshell script

Hi I'm trying to get parent directory in cshell script but the following code found not working in cshell script: #!/bin/csh -f set dir=$PWD set parentdir="$(dirname "$dir")" Error info: Illegal ...
0
votes
2answers
35 views

Uninstall Wordpress

I am still at the beginning and just wondering how to uninstall totally WordPress and then reinstall it. I installed first time from this tutorial.
0
votes
1answer
20 views

Centos 7 not loading latest kernel at boot

By default, centos 7 comes with kernel version 3.10.x. After installation of centos 7, I have upgraded kernel to 4.6.x that is latest stable version. My system is remote. First, it is very expensive ...
0
votes
3answers
43 views

bash is not terminating

I'm trying some things with my shell. This includes the following command: kill $$ My expectation was that the shell would log me out and terminate itself. But instead the bash persists without ...
2
votes
0answers
27 views

Virsh (libvirt-bin) is not able to communicate with Xen server

I have installed the latest version of Xen server 6.5. Now I want to connect to it with virsh (libvirt-bin). When I do this I get the error error:end of file while reading data: sh:nc:command not ...
3
votes
2answers
95 views

Question about concatenation instructions

I have a semicolon-delimited csv file and a Korn shell script that do some elaboration. I'm searching to understand what these two instructions do in Korn shell: num_rec=`cat test.csv |wc -l|tr -d " ...
1
vote
2answers
28 views

Using DD Disk Image on Red Hat

How can I use dd command on a Linux Red Hat Server 5 to obtain a disk image and then use it eventually in Virtual Box?
1
vote
1answer
22 views

as a Non-root-user,can I change DNS for me in linux? [on hold]

Environment is redhat I don't have privilege but now /etc/resolv.conf is: # Generated by NetworkManager # No nameservers found; try putting DNS servers into your # ifcfg files in ...
2
votes
1answer
17 views

Cannot connect (start?) to postgresql 9.4 on Debian (8.x)

All is in the title,... Actually, I installed PostgreSQL 9.4 (with postGIS extension), and when installed, everything used to work fine. As said on many tuts, I've set the /data folder, checked ...
1
vote
0answers
18 views

check hdmi port status

I have a Asus UN42, the HDMI port seems is not working anymore, no signal is sent through this port, tried different cable. I now use the displayport. Is there any command to see what the problem is? ...
-1
votes
2answers
25 views

Check if a column is float

I have a requirement that i want to check if a column is float or not. If its a float then do nothing else concatenate with .00. File: 2017 47.0000 0.783333 0.2500 1663 1920.0000 32 8.0000 ...
1
vote
0answers
21 views

Raspberry pi blocks completely after multiple reboots

I have a c++ program running on login on the raspberry pi, this program checks data for multiple devices attached on to it (Arduino Mega 2560 + Modbus RS485), gets inputted data from them and sends ...
1
vote
0answers
19 views

rhel - file modification logs

I found a strange file in my /home/user named FireZeMissiles1111.tmp. I am the sole user and did not create it, so it is kind of suspicious. It may have been left there by a program who's programmer ...
1
vote
3answers
130 views

Change directory working directory in shell script

I am trying to write a simple shell script, which will change the directory to the shell script directory and echo it. This is the script: #!/bin/bash # cd '/explicit/path/to/script' cd $(dirname ...
0
votes
0answers
18 views

Unable to boot, “no filesystem could mount root” error

I'm trying to do a PXE boot with an image I created, but after loading the image and the kernel, I get a message that says: No filesystem could mount root, tried: ext3 ext2 iso9668 Kernel panic - ...
0
votes
2answers
54 views

Credit card number validation with bash

I have used the following regular expression to detect the valid card numbers. [2-6][0-9]{3}([ -]?)[0-9]{4}([ -]?)[0-9]{4}([ -]?)[0-9]{3,4}([ -]?)[0-9]{0,3}[^a-zA-Z] But it does not detect the ...
1
vote
0answers
7 views

goldendict not working on Fedora 23

There is a problem when I try to run goldendict on Fedora 23. Actually, after installation it works, but it is crazy because at first it has no dictionary, but when I add a dictionary and try to ...
1
vote
1answer
13 views

In case of success login via IMAP, an email server replies without “OK” and tag

When I'm doing IMAP authentication of one the public email servers and login is successful I believe, it replies like this: * CAPABILITY IMAP4rev1 ID XLIST UIDPLUS UNSELECT MOVE LIST-STATUS There's ...
2
votes
3answers
33 views

Does \ work for escaping functions?

I have a function defined in my .bashrc that I would like to bypass: function func() { // func } export -f func When I run env -i func I can access the func command without the function in the ...
1
vote
0answers
11 views

RT3592BC8 Bluetooth and FreeBSD

I recently purchased a HP ProBook which I plan to sell because I got a newer laptop. The ProBook is a Celeron Dual Core with 4GB of RAM and 250GB HDD. I have two potential buyers, one who wants it for ...
1
vote
1answer
27 views

How to copy just timestamps, or “I should have used cp -p”

I foolishly copied a very large amount of data using cp -r. Looking at it now, I've realized that this means I lost my file modification times. I should have used cp -rp. My directory structure and ...
1
vote
1answer
26 views

how do I add a second ipv6 address on Linux without making it default

I would like to add an extra IPv6 address so I can run a service on it but I want to retain the existing IPv6 address as the address to use for outgoing connections. When I add an ipv4 address with ...
1
vote
0answers
7 views

Removing Unknown Printer

I ran hp-setup from the hplip package to install an HP Officejet 6700 connected to the network. The setup program crashed on the first attempt, and succeeded the second time. The issue I'm having is ...
0
votes
0answers
6 views

Restoring file system using tar causes login loop

Note: I am doing this to learn more about linux. I understand there are other tools that can be used with simple interfaces. Note: I am using Fedora 23. I have it installed physically on an SSD and ...
0
votes
2answers
44 views

too many levels of symbolic links in /usr/bin — disaster?

I was recently trying to resolve an issue regarding a mismatch in the version of my java jre and java compiler, so I tried something suggested in this answer, which seemed to be relatively harmless, ...
0
votes
0answers
7 views

Aliased fonts in some gtk applications

When I open programs like Thunar, LXappearance, Nautilus in normal privileges, their font look ugly, aliased. But when I open them as root, their font look anti-aliased and pretty. Desktop ...
1
vote
1answer
36 views

Detect number of /dev/sd_ 's on a computer by bash script

I am trying to add code to a Bash script (.sh) to detect the number of sd_ 's on a computer (ex. /dev/sda, /dev/sdb, /dev/sdc, etc.) and then save that number to a variable, and then use if statements ...
1
vote
1answer
30 views

renaming files in a folder

In one directory I have many files which look like this: Galaxy100-[0025-CL3.single.bed].bed and I would like to change it to: 0025-CL3.single.bed I tried this rename 's/Galaxy[0-9] - \[//' *, ...
0
votes
0answers
7 views

i3status alsa mixer

How do I get i3status to display the volume level from alsamixer instead of Pulseaudio? This is my volume configuration right now: volume master { format = "♪: %volume" format_muted ...
2
votes
0answers
9 views

LUKS: Change master key

I've already read this SE question, but it's somewhat old now. How can I reencrypt a LUKS partition using a different master key? I have a cloned VM image that needs to go into production, but it's ...
1
vote
0answers
15 views

pfsense mount root error after disk clone

I went the lazy route and cloned my SSD that runs my current pfsense (2.1.5) machine to create a backup machine with the same config. Instead of doing a fresh reinstall and copying the config. Both ...
2
votes
1answer
31 views

How to standardize the number of characters in a column?

I have a column (in my data-file database) where the number of characters is not standardized, and need to standardize. How can I do it? Example: Sample_ID 159 148 1110 1100 150 But my bank does ...
1
vote
1answer
30 views

Shell Font Over SSH

I have a Linux machine (CentOS 7) in which I frequently SSH into from multiple devices. I have installed ZSH and Oh-my-zsh on the remote machine. I would like to install the following theme: ...
2
votes
1answer
14 views

LUKS: 1 master key but multiple passwords and key files?

After reading "man cryptsetup" and many StackExchange questions, I'm confused: Does LUKS use the same master key in each slot? If I execute the commands below, the displayed master key does not ...
1
vote
0answers
16 views

SELINUX not installing on Hyper-V Debian Jessie VM

I'm currently trying to install SELINUX on Debian Jessie VM. I'm following the instructions on the Debian website here Once I've completed the installation, I make a change to /etc/default/rcS to ...
0
votes
0answers
17 views

Squares on Gnome 3 Title Bar

Good afternoon, Updated the Kali Linux and as a result, updated the Gnome to version 3.20.1, but is now appearing in the title bar (and other places in some Gnome applications) squares instead of ...
3
votes
1answer
20 views

Why does my tumbleweed opensuse fstab contain so many btrfs subvol entries?

What is the purpose/reasoning/technical-reason why my opensuse tumbleweed system has so many folders of my filesystem "wrapped" (not sure if that's the right word) as sub volumes on btrfs? Does it ...
2
votes
0answers
29 views

Why does tar list multiple entries for some files? [duplicate]

In a folder with a single file (image.jpg) I run the following commands $ ls -a . .. image.jpg $ tar cf target.tar image.jpg Listing contents of the archive $ tar tvf target.tar ...
1
vote
2answers
42 views

forward aliases to child process

I have some aliases which are defined in /etc/zprofile (or /etc/profile for bash). Also $PATH gets manipulated there. I want to start a second shell from my which avoid the $PATH manipulation, which ...
2
votes
1answer
19 views

Unable to edit the /sys/block/sdX/device/queue_depth file

I'm trying to increase my SSD's queue depth value with the following command: echo 64 > /sys/block/sda/device/queue_depth But I receive the following error: bash: echo: write error: Invalid ...
2
votes
2answers
26 views

Timeout with 'service network restart'

I have a script running on fedora 22 where I am restarting service network as part of a troubleshoot calling service network restart. I want to check if that command is taking too long to execute. If ...
3
votes
0answers
21 views

Samba performance tuning

Hi I'm using Samba to share a folder from linux to a Windows client(Windows Server 2012 R2). The disk backing the linux share is pretty fast (NAS of 500+ MB/s). However, when I benchmark the IO ...
3
votes
4answers
52 views

Remove a certain word in a file

How do I remove just abcd11.gmail.com and *test1: from line 1 and abcd14.gmail.com and *fortest2: from line 2 and abcd19.gmail.com and *asatesteg: from line 2 from below leaving the remaining as is? I ...
2
votes
0answers
20 views

Sync with Onedrive

I would like to sync (and backup) my /home directory with OneDrive. I found some great terminal clients, where you can even mount your directory, but nowhere did I found an option to this with some ...
1
vote
0answers
21 views

Problem with submenus

im trying todo a script with two menus, one with basic comands and the other passowrd protected with five more advanced commands but the script dont pass the first menu, i think that there is a loop ...

15 30 50 per page