3
votes
0answers
24 views

Xfce Keyboard Layout change Ctrl+Space

Ok, so I've been googling this for almost a week now...without any luck. When I open the Keyboard settings pane, the options are only limited to (ones that have "Space" in them) Alt+Space and Super+...
0
votes
1answer
34 views

Rsync to copy specific subfolders and files to new directory

Original path, RootFolderI: RootFolderI/FolderA/Subfolder1/Subsub1/JPG1.jpg -> want this jpg RootFolderI/FolderA/Subfolder2/Subsub1/JPG2.jpg -> want this jpg RootFolderI/FolderA/Subfolder2/...
0
votes
0answers
15 views

What is creating ./var/lib in my yocto image?

tl;dr Yocto creates an empty directory var/lib in my image, even after it has been explicitly deleted by ROOTFS_POSTPROCESS_COMMAND. Why, and how can I get rid of it? I am trying to create an yocto ...
0
votes
0answers
31 views

running iperf over ssh

I'm trying to benchmark the network connection between 2 ubuntu servers on which I don't have root privileges. I did manage to download and start iperf-2.0.9 on both boxes. My problem is I can't ...
3
votes
1answer
475 views

Changed owner of /etc folder, can't use sudo anymore

I changed owner of /etc folder by accident when I was doing work on web server and now owner of /etc folder and all of its subdirectories is www-data. I can't use sudo anymore for anything and in ...
0
votes
1answer
12 views

UFW app based filtering

is there any filtering in ufw which works sort-of like win firewall? basically allowing me not only to create ip/port/proto based rules, but also to bind such limitations to specific executables ...
-6
votes
0answers
26 views

Using “ps” “kill” and “top” to find and resolve problems with executables? [on hold]

OK so for my controlled assessment I need to do some primary research via emails or forum posts. I thought that since I've used this site a lot I would ask here. So say I have an executable file ...
3
votes
2answers
36 views

Can't generate client-side certificate after becoming my own Certificate Authority

I became my own certificate authority after running through the tutorial at: https://jamielinux.com/docs/openssl-certificate-authority/ I created a root pair, created an intermediate pair, and ...
-1
votes
1answer
29 views

source command doesn/t work when used inside shell script

I am using an installer which is adding an environment variable in the ~/.bash_profile file. When I'm starting the jetty server, it is unable to find that entry... When I run $ source ~/....
0
votes
0answers
12 views

How to disable php execution using .htaccess rule

We have tried below .htaccess rule for disable php execution in a directory centos 6.5(CPANEL) based server. But its blocking all the files in directory like jpg, jpeg, png etc. We need to block only ...
0
votes
0answers
22 views

Issue changing passphrase for gpg key

I've export my gpg key from the machine they were created to another server. In the new server I've tried to use the imported key to decrypt some files I've received, but I got the following error: ...
1
vote
0answers
19 views

Edit sysctl.conf file

Using Red Hat Enterprise Linux Server release 5.11 (Tikanga) but I need to change the values for shmmax & shmall. vi /etc/sysctl.conf # Controls the maximum shared segment size, in bytes kernel....
2
votes
1answer
33 views

Read only permission to sftp user in specific directory

I want to create specific SFTP user which will have permissions to only read all folders and subfolders in /var/www/vhosts. Any help on this ?
3
votes
2answers
42 views

magic example using search and/or regex

I am trying to have the file command detect some Windows text files that were never meant to be classified by file... The best choice seems to use regex to match the line content, but I cannot find a ...
2
votes
2answers
35 views

Can terminal window titles be updated while a process is running?

I'm trying to set a little pomodoro/countdown timer for myself in the terminal. This comment on Superuser offers a handy little shell function that will act as a countdown timer, which printfs the ...
-1
votes
1answer
49 views

Syntax error at line 18 : `<<' is not matched

Here is my script #!/bin/bash stty intr ^C erase ^H kill ^U p_id=`ps -ef|grep iucmh|grep iuc|grep MSC015|grep START|awk -F" " '{print $2}'` vLogin=`echo "iucmh/iucmh123@4s_MH"` if [ -z "$p_id" ]; ...
1
vote
0answers
27 views

Theoric: How to kill a forever forking process?

Let's say you have a process that forks every time it has the chance. It launches itself in niceness -20, so it forks faster than you can kill it. Also, it remembers its childrens and it parents, so ...
0
votes
0answers
24 views

Shell script invoking python does not resume on MacOS

I have a shell script that invokes Python on my MacOS. After that invocation completes successfully, the script execution is not continued by terminated: curl "https://s3.amazonaws.com/aws-cli/...
5
votes
2answers
235 views

How to change MySQL 'root' password using MySQL v5.7?

Current Environment : mysql> show variables like "%version%"; +-------------------------+------------------------------+ | Variable_name | Value | +---------------...
3
votes
2answers
36 views

Is there a shortcut to rerun a command with arguments from last command (not cd, ls or echo)

Searching through passed Logfile with something like this: cat /path/to/logfile | grep -iEw 'some-ip-address-here|correspondig-mac-adress-here' This gives me all the passed log lines until now so ...
0
votes
0answers
16 views

Bluetooth automatically connects to a dongle and will not disconnect

I have a bluetooth dongle, acting as a beacon. I connect to it using my computer, which is running Ubuntu 15.10. The issue is that my computer automatically connects to it, and then I can't ...
0
votes
1answer
42 views

How do I create a dd IMAGE from LVM for recovery purposes [duplicate]

How do I backup a LVM partition to an image for recovery purposes? I am trying to run dd on /dev/sda2, but it crashes after ca 8 hours, at around 380G sudo lvmdiskscan /dev/centos/swap [ 3....
2
votes
2answers
44 views

Command behavior is different when executed by an other user (via su -c)

I want to kill every processes who match a specific chain. Here is my script, which works pretty well: echo `ps aux | grep verySpecificChain | grep -v grep | /usr/bin/awk '{ print $2 }'` | xargs kill ...
-2
votes
1answer
17 views

How to switch console mode to GUI mode on RHEL7?

I load the RHEL 7.2, I forget to select the options before loading OS, after my machine booted through console mode runlevel 3, I installed some dependency package, after reboot I got GUI mode, but ...
0
votes
1answer
14 views

How do I change Simplescan's default email?

I found one other person with this issue from long ago. I'm currently: Mint 17.1/64/i5/16GB RAM 3.13.0-37-generic In SS, if I choose, "scan to email"--> it opens Chromium? I'd like to know if I ...
0
votes
2answers
29 views

Password encryption and decryption [on hold]

I have stored the password as plain text in a txt file. Now I want to write the script which will read the plain text from the txt file and after that it should encrypt that and decrypt that.
0
votes
1answer
78 views

error:: could not find rake-11.1.2 in any of the sources run `bundle install` to install missing gems

I get the above error after i use msfupdate for the first time and type msfconsole. After installing guest additions on kali linux. I googled it and came across a similiar question on reddit but had ...
0
votes
1answer
5 views

gnome-panel switches to one row on RHEL6 when opening mail

Using RHEL6 I set my gnome-panel to 50 pixels big, it sets the windows in tray to two rows. Great. Question: But: when I open a given mail in my mail client, then the gnome-panel switches to one row,...
1
vote
1answer
22 views

How do I compile my Gentoo kernel for AMD IOMMU?

I have an AMD A4-5300 CPU with a motherboard that supports IOMMU and I am trying to enable IOMMU on my Gentoo Hardened 4.3.3-r4 kernel with the intention of using a graphics card on a KVM VM. ...
0
votes
0answers
13 views

hadoop as init.d Process - status_of_proc return process not found

I was trying to use the init.d script to control hadoop service. The start and stop commands work without any issue. However status_of_proc does not find the process and its returning service is not ...
0
votes
0answers
18 views

Boot-Repair hangs

My overall goal is to dual boot Linux Mint and Windows 10. The motherboard is legacy bios only. Firstly I installed Linux Mint then Windows 10 on a secondary partition. Next, moved everything 1000MB ...
1
vote
0answers
19 views

Shutdown problem on Lenovo G50 after installing Linux Mint 17.3

After installing successfully Linux Mint 17.3 on Lenovo G50, its not rebooted. The error is : [397.188708] Fixing recursive fault but reboot is needed! [400.538090] init: mdm main process (2363) ...
0
votes
0answers
14 views

Dealing with errors after a grub crash

So, My computer (solydk distro, AMD chipset, stock innards) was computing when we had an unexpected, cat related, power-outage. When I tried to boot after the cat-astrophy I was given the grub rescue ...
2
votes
1answer
25 views

nmap socket trouble

I've been trying to use nmap but it fails with the following output: Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-21 22:24 PDT NSOCK ERROR [0.3460s] nsock_make_socket(): Socket trouble: Address ...
0
votes
0answers
12 views

CPU/RAM/Disk statistics similar to vnstat

Is there any application similar to vnstat, but for monitoring CPU usage (0-100%), number of active process, ram usage, active disk IO count/bandwidth on CLI basis? but I don't want something that ...
0
votes
1answer
14 views

Arch Linux Ran nvidia-xconfig now Xorg won't run [No Devices detected] [on hold]

[ 13.339] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 13.340] (II) xfree86: Adding drm device (/dev/dri/card1) [ 13....
0
votes
0answers
36 views

Typing colon on the root terminal [on hold]

how do i type the : on the root terminal The more I pressed shift : it doesn't show on my terminal and there is no : on the numerical pad.
0
votes
0answers
41 views

Local Repository Mirror (apt-mirror issue)

I'm trying to set up a local mirror because I build debian systems over and over for fun. . . or something like that. So I installed the classic apt-mirror/apache2 combo. It's been going relatively ...
9
votes
2answers
385 views

View a range of bash history

The history command lists out all the history for the current session. Like: 1 ls 2 cd /root 3 mkdir something 4 cd something 5 touch afile 6 ls 7 cd .. 8 rm something/afile 9 cd .. 10 ls 11 history ...
2
votes
1answer
26 views

Have tree hide gitignored files

Is there a way to make tree not show files that are ignored in .gitignore? Thanks!
1
vote
1answer
42 views

Debian - No wired connection after restart

Last night I was working on my computer, for reference I'm using i3, and decided to uninstall XFCE4, as I felt I didn't need it. The next morning I turned on my computer and have no wired connection. ...
1
vote
0answers
18 views

lpadmin add a network printer

I am having problems configuring a laserjet printer using lpadmin. I am using the following command: $ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd lpadmin: Unable to copy PPD file. ...
0
votes
1answer
27 views

Rsync with destination owner and permission possible?

Source server have one owner is root. ----/home/sub1/test1 ----/home/sub2/test1 My local machine is destination. ----/home/sub1/test1 owner by user1 ----/home/sub2/test1 owner by user2 How I ...
0
votes
0answers
14 views

systemd-networkd fails to start when network booting via pxelinux

I created a systemd link file to enforce persistent network interface naming for a stack of network-booted hosts. Because the MAC varies between machines, I have to use the PCI path for matching the ...
1
vote
3answers
42 views

Reformatting negative numbers with sed or awk

I have a text file that contains some negative numbers except, they are formatted as: 00000012- With the hyphen after the number. I am processing the file using awk to reformat it into SQL insert ...
0
votes
1answer
15 views

wireless connection from desktop to proxy

Unbuntu >> Unbuntu Proxy (Squid-configured) >> router >> Internet Router works fine, each Linux box has wireless card working fine Proxy hardwired to router Need 2 Linux boxes to talk wirelessly and ...

15 30 50 per page