1
vote
0answers
14 views

mount usb disk via udisksctl need root privilege

I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and ...
3
votes
0answers
20 views

Keyboard modification in Linux

I'm using Karabiner on Mac OS X to make some of my keys work as half modifiers: for ex. tapping enter is enter but holding it is meta. Is it easy to do the same in Linux? PS. I mean: I want to be ...
0
votes
0answers
26 views

Login as normal user always results in root account [on hold]

I installed slackware and added a user. When i log in as the user everything looks well however it is logging this user as root. I can't see where I went wrong. When I try to open an application for ...
1
vote
2answers
29 views

How to start x11vnc by socket (ie only when needed)

Actually I start x11vnc in /home/odroid/.config/lxsession/LXDE/autostart with @/bin/x11vnc -bg -forever -shared -rfbauth /home/odroid/.vnc-passwd -noxdamage -norc -noxrecord -capslock -no6 -rfbport ...
1
vote
1answer
24 views

Zip files served by nginx do not open on Mac OS X [on hold]

I have a Windows machine where I zip my files using a gulp script, and upload them to my Linux machine in some directory under nginx. The files download and open properly on Windows, but when I ...
1
vote
2answers
45 views

find string from one file in another if not present then remove from original file

I'm trying to make a script that looks through each line of one file and if a line fails to match anywhere in any line of another text file then remove that line from the original file. so far I've ...
0
votes
1answer
14 views

Where does a Centos7 VM get the IP address for the local host name from?

On my centos7 VM, hostname says bmargulies-centos7, domainname says (none), dig bmargulies-centos7 says what's below, and ping of that hostname hangs. Where does the IP address 92.242.140.21 come ...
0
votes
0answers
11 views

How to create symlink USB to COM port

I need help to create the udev rule. I need my my USB printer to be located as COM1. lsusb ouput: ‍Bus 001 Device 005: ID 0fe6:811e Kontron (Industrial Computer Source / ICS Advent) Parallel ...
0
votes
3answers
25 views

wget’s --output-document= option failed when contain ~ character

I wright a documentation so I prefer use long options because it’s self-descripting. --output-document= is more readable than his short equivalent -O. Then, I have to indicate a file in the home ...
1
vote
1answer
19 views

Logins in an interval?

How can I get who was logged in in an interval? I tried last -t, but it was not what I was looking for. I want to get who was logged in between May 11. 10:00:00 and May 15. 22:00:00 for example.
1
vote
0answers
21 views

AIX: network and route problem

I changed my router some days ago. ping, internet, and network are working on AIX, but SSH is terribly slow. For connecting to other hosts on the same network it takes... two minutes! This is my ...
3
votes
0answers
25 views

Git with multiple users on other systems using setfacl?

I'm setting up a git environment where multiple developers will work with per project. We have 1 server running git, and 2 seperate servers, 1 live and 1 dev. on dev I created a group and added the ...
0
votes
0answers
21 views

Flash Drive is not detected and can not format it in debian jessie

I have one 4GB Flash Drive which is now not working at all. There are some important data in it but since it is not even detected I am running out of options. I even tried recreating partition table ...
1
vote
0answers
7 views

zsh auto completion certain parts of directory

I currently have zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' which will ignore the case when auto completing directories. However is it possible to type a certain part of the directory and ...
1
vote
1answer
35 views

Kali Linux not working in full screen mode in virtualbox even after running VBoxLinuxAdditions.run

I get the following error log file in the end, everything else goes perfectly. Uninstalling modules from DKMS Attempting to install using DKMS Creating symlink /var/lib/dkms/vboxguest/5.0.20/source ...
38
votes
5answers
2k views

Why is the wild card character * so different between commands zip and rm?

I put together a script to do some file operations for me. I am using the wild card operator * to apply functions to all files of a type, but there is one thing I don't get. I can unzip all files in a ...
4
votes
1answer
109 views

Use backup file from dd to restore hard disk and also extract files

I made regular complete backups of my hard disk (with all partitions) using dd tool as backup.img file. I have several such files. Now that my old hard disk died, how can I use backup.img file to ...
1
vote
0answers
29 views

pam su authentication with RSA token [on hold]

We are implementing RSA token authentication in our company and management decide su - should ask for RSA token passcode for individual (listed users) user. So no-one is going to get root password: ...
-1
votes
0answers
10 views

Socket test failed on Tru64 v4.0

I need to use sockets on DEC Unix v4.0 to run a client-server app. When I run my app I get an error that says "socket not open or closed" After that error I am going to go to test socket. I ...
-3
votes
0answers
22 views

“Oh no! Something has gone wrong” shows up - archlinux

I was installing some softwares like kivy and pip and everything seemed to work fine but I remember that some libs in cython or python had conflicts with other libs or something like that so I agreed ...
1
vote
1answer
19 views

Difference between users listed under home directory and those not

I see some of the users I can find under /home directory in centos but not rest of the users. Users that are listed under /home directory, I can login as those users with command su username To ...
0
votes
3answers
34 views

Command to print the number of *.pdf files in a chosen directory [duplicate]

I am currently not on a Linux machine. Would the following command produce my wanted result? ls | grep ".pdf" | wc
-1
votes
1answer
24 views

Extended permissions - after set acl, group cannot write [on hold]

I want to use setfacl to set permissions to dir for the users group. I do something like this: mkdir /Employee chgrp employeers /Employee setfacl -m d:g::rwx /Employee And now, when I try to create ...
0
votes
1answer
24 views

How to install in /usr/bin directory? [on hold]

I'm new to Unix. To install gcc-6.1-bin.tar.gz in /usr/local, I type sudo tar -xvf gcc-6.1-bin.tar -C / But how do I install in /usr/bin rather than /usr/local? (The reason I want to install in ...
2
votes
2answers
55 views

How to Find LaTeX generated PDF files?

I need to find LaTeX Generated PDF files because I want to find those files made by me. I think find could possibly work here. OS X El-Capitan I run Ulrich's proposal find BitTorrentSync/ -exec ...
1
vote
0answers
7 views

Networking failed to start on Alpine linux

I keep having an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface lo ...
0
votes
0answers
34 views

script to delete files when it cross limit size

I want to make a script which delete files when it cross 70% usage. In directory there are logs files has 9.6 MB size. I want that if directory cross 70% then it find oldest files and delete them. ...
2
votes
1answer
31 views

How to switch arch linux to lts kernel?

I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the lts kernel. I already installed ...
1
vote
0answers
23 views

How can I preseed the answers to the prompts in this deb?

I am trying to install jitsi-meet on a vm via automated script . However, the deb package prompts for a hostname. How can I set this value from a script? I have tried using debconf-set-selections, ...
-3
votes
0answers
17 views

Wine installation issues

Yesterday I was installing Wine in kali linux, (dual booted with windows 8.1), as I entered wine install there came an error, wine: cannot find L"C:\\windows\\system32\\install.exe" how to deal with ...
1
vote
1answer
27 views

add-apt-repository sets incorrect distribution name

I am using KDE Neon's test images which appear to be based off Ubuntu 16.04 Xenial as lsb_release -a definitely returns that. When I try to use the add-apt-repository command it asks me to install ...
3
votes
1answer
29 views

Running Unison with incrond (inotify cron daemon)

We'd like to use unison to sync two servers. From the command line and in bash files the following command works fine: unison -batch /var/www/html/test ssh://host-2//var/www/html/test Files are ...
-4
votes
0answers
17 views

Comparing two files Script in UNIX [on hold]

I want a script for Comparing two files in UNIX and place an echo error in log file if the files are not matched from source to destination can anyone help me /?
0
votes
0answers
7 views

Fixing Kubuntu from LiveCD

After uninstalling some programs on Kubuntu 14.04 today, my system crashed and after restarting I can not get past the pulsating Kubuntu startup logo. I believe that while uninstalling the programs I ...
-3
votes
0answers
23 views

How to install AMD Catalyst 15.9 on Kali 2016.1 (Rolling Edition)?

how can i install this tool AMD Catalyst 15.9 on Kali 2016.1.
-1
votes
0answers
14 views

Share Internet from WebOS tv with ubuntu pc through Ethernet

Is it possible to share WebOS TV's internet connection with ubuntu using Ethernet ? Do I have to do anything for this on my Ubuntu (Gnome) pc? I'll be thankful if you tell me How I can do that? Sorry ...
1
vote
0answers
42 views

apparmor - cannot load library

I'm trying to get apparmor set up on my system and am having troubles getting past the permission denied error: ping: error while loading shared libraries: libcap.so.2: cannot stat shared object: ...
2
votes
0answers
26 views

Boost: compile latest source or use add-apt-repository?

Boost: compile latest source or use add-apt-repository I’m at a junction should I go one way or another…? Boost 1.55 is part of Raspian Jessie stable, and the advice when installing Domoticz is to ...
3
votes
2answers
63 views

Systemd : How to execute script at shutdown only (not at reboot)

There is a lot of solution here to execute a script at shutdown/reboot, but I want my script to only execute at shutdown. I've tried to put my script in /usr/lib/systemd/systemd-shutdown, and check ...
0
votes
0answers
14 views

gnome desktop is making automatic annoying pronunciation sounds?

for example when i put my mouse pointer to applications.It says "windows applications label" when i go to network mangager -> wifi it spells the words on each and every setting where my mouse goes. ...
1
vote
1answer
42 views

Understanding UUID assignment

A UUID (universal unique identifier) is a 128 bit code which is used to identify block (storage) devices. Firstly, is this all UUIDs are used for? How does a device obtain its UUID? Does it ever ...
1
vote
2answers
23 views

List of mount points of external storage devices such as USB keyfobs and SATA external drives, from the cli

I need to list all mount points associates to external storage devices such as USB keyfobs and SATA external drives. The only way I found under Ubuntu, is to call 'mount' and grep for '/media'. But ...
1
vote
0answers
27 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
0
votes
1answer
30 views

Remove Some content from file in unix [on hold]

I have a file which is having some names , i want to remove some of the names from it . eg the files has names.trg , i want to remove all the names ending with .trg how can i do that in unix ? ...
2
votes
0answers
10 views

Not Booting past Logo

I have been messing around with uninstalling a program (emacs24) on Kubuntu 14.04 and for this followed this instruction: (see Hartmut's answer). After I didnt manage to get rid of all emacs files, ...
3
votes
1answer
42 views

How to block non-free with apt preferences?

I want to block all packages from non-free, except for those that I name explicitly. Currently, I have: /etc/apt/sources.list : deb http://ftp.us.debian.org/debian stable main contrib non-free ...
1
vote
1answer
30 views

Debian (jessie) with XFCE, Sessions and Startup: Application Autostart

Long-time lurker, first time question-asker. I am running Debian jessie with XFCE, kernel 3.16.7. In the course of setting up Conky to run at startup, I wrote a bash script to... well.. run Conky. ...
0
votes
1answer
29 views

small error but seems annoying [duplicate]

I have error (command not found). I am newbie here. so what is the easy solution and explanation for this error?
-3
votes
1answer
39 views

recursive script not working

I am trying to add recursive support to my filegrep script. For some reason this does not work as expected: RECURSIVE_MODE=off # iterate over args for ARG in "$@" do if [ -d "$ARG" ] && ...
1
vote
1answer
22 views

When a shell executes an external command/program - does that program have file descriptors?

There are alot of documents and discussion around the file descriptors of shells and how those file descriptors can be manipulated for redirection etc. My question is, when a shell command is an ...

15 30 50 per page