1
vote
1answer
3 views

Dell XPS 13 L321x cannot resume after suspend

I've a Dell XPS 13 L321x running Debian Jessie that cannot resume after being suspended. Hibernate works fine if you trigger it with pm-hibernate. I've tried rmmod on the mei and mei_me drivers ...
1
vote
1answer
10 views

Kali Linux won't boot from USB

I've been trying to boot Kali Linux from my 8gb USB. I get to where I'm supposed to choose from one of the various options: Live, Persistent, Persistent With...... etc etc. I go on and select one, say ...
1
vote
1answer
15 views

Process scheduling data on linux

I am doing a project on OS and require the process scheduling data for an operating system. The data has to include the list of all processes in short-term-scheduler and long-term-scheduler along with ...
2
votes
1answer
14 views

Debian 8 - Install lastest version of MySQL

After downloading MYSQL APT Repository at http://cdn.mysql.com//Downloads/MySQL-5.7/libmysqld-dev_5.7.11-1debian8_amd64.deb I ran the command dpkg -i libmysqld-dev_5.7.11-1debian8_amd64.deb ...
0
votes
1answer
8 views

Debian 8 - Run scripts after boot

I've tried run some scripts after boot via /etc/rc.local. /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will ...
0
votes
0answers
2 views

Is it possible to redirect root email to axigen internal e-mail?

For a few month I've been using Axigen webmail as my main e-mail server. For the last month I was looking for a way of redirecting my root e-mail, as well as my crontab outputs into an internal ...
0
votes
0answers
3 views

How connected are kernel modules to kernel version?

I'm wondering how custom ROMs port new versions of Android (particularly the Linux kernel) to old phones. As I understand, Linux allows closed source kernel modules. If so, then when the phone ...
0
votes
0answers
7 views

Built-in camera not detected

I have Dell Ins. 5537 running Arch. The webcam doesn't work out of the box. There's no /dev/video* device detected. Arch wiki tells me to find the right model of webcam and load the right kernel ...
0
votes
0answers
3 views

Setting up bridged adapter for Arch guest, Windows host

I've tried many things that I've found online but I'm stumped. I'm using VirtualBox, my guest OS is Arch, kernel version 4.4.1-2, my host is Windows 10. When I set it to have NAT adapter, I get it ...
0
votes
0answers
2 views

NFS connection won't mount in Dolphin

I'm running Fedora 23 Server on one machine, and Fedora KDE Spin on another. These are both very recent installs. I previously ran Ubuntu Server and Windows, and connected the two using a samba share. ...
0
votes
1answer
10 views

Installing Photoshop on Fedora Workstation

I currently have a Fedora 23 workstation 64 bit. I installed wine and wanted to install photoshop cs6. When I run the setup.exe wine setup.exe the ps6 fails. anyone got it working?
0
votes
0answers
4 views

Unable to reinstall GRUB on encrypted filesystem

Sooo....I made a mistake and deleted the contents of my /boot directory, including GRUB ....(btw this is easy to do, there is no notice that it will make your system unbootable)!! Anyway I was going ...
1
vote
0answers
5 views

Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefix

I am stuck in an effort to provide an maintain an up-to-date git release for a collection of CentOS Linux servers. I was hoping to be able to create binary RPMs that I could just have published to a ...
0
votes
0answers
14 views

Combining strings command and grep: how to limit results to null-terminated strings

I have a feeling that it is strings which is thwarting my efforts here. The binary files I want to use strings on unfortunately yield several matches per file, even though it is a 100% rule that ...
0
votes
0answers
9 views

Can I make entering my private key's password work like sudo does? [duplicate]

Is there a way to skip typing my SSH private key's password if I have used it recently, similar to when sudo caches your credentials for a limited time? I know that I can use ssh-add with the -t ...
0
votes
1answer
5 views

How to add public key to QCOW2 image via virt-sysprep

I am trying to add my public key to the root account on a qcow2 disk image (CentOS 7 Cloud Image). The documentation from virt-sysprep says that it supports adding keys, but I cannot seem to ...
1
vote
1answer
22 views

How do you extract a whole word containing substring?

If I have a file that looks like this: example.png example.jpg example2.jpg example2.png example.swf example2.swf example3.jpg example4.jpg example3.png example3.swf and I want to extract the ...
2
votes
1answer
11 views

Get current memory usage of a tmux session

As the title says. I need a way to the used memory of a current tmux session. I am not sure if that is even possible. I am using tmux to start multiple minecraft servers I'd like to know each servers ...
0
votes
0answers
2 views

SIPS changing padcolor to transparent in landscape

I am creating a bash script to automate the scale down and padding of a lot of images. The idea is this: whatever the image size is, if the image is portrait, scale the height to 960 and add a white ...
0
votes
0answers
4 views

How to rename the “VMWare Shared Folder”? in OSX

In VMware Work Station when we share a folder by default it located at /Volumes/VMWare Shared Folder/folder_name how to change the "VMWare Shared Folder" folder name ? (rm failed because its not a ...
1
vote
1answer
7 views

How to modify partition in FreeBSD 10 with gpart

I am using FreeBSD. My HDD has this set of partitions: root@core:/media # gpart show => 63 390721905 ada0 MBR (186G) 63 1985 - free - (993K) 2048 ...
0
votes
3answers
32 views

Why does (` `) gives a list and $() gives only one argument

I might not word this properly, pls edit. Say I have: lst=(`ls $1`) echo $lst #this gives the first element of the list but then when I tried this: lst=$(ls $1) echo $lst #this gives me all the ...
0
votes
2answers
16 views

How to prevent a process from hanging the computer?

A process can cause the computer to "freeze" for example when exhausting CPU or swap. Is there a way to prevent this from happening? For example by setting the max %CPU or IO MB/s that can be granted ...
0
votes
1answer
13 views

Need help in data arrangement

Could you please help me to sort this out, I have data which i would like get output in below format using shell/perl script. Data: Virtual Machine Test status Running. Assigned Server ...
1
vote
0answers
8 views

Is there a single documentation page for all the XDG_* environment variables?

I can find documentation for some XDG_* here and there, but for many others I still don't know where to look. I have not been able to find a single document where the meaning of all these variables ...
0
votes
1answer
25 views

Share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer

I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer. The following URL describes how to do this procedure. ...
0
votes
0answers
7 views

apply proper security labels during filesystem restore

When restoring a filesystem on a separate system (i.e., possibly a different system than the one where the filesystem was originally mounted and in use), I would like to apply the correct security ...
1
vote
0answers
3 views

Btrfs: available space not used after migrating from RAID1 to RAID6

I had 8 2TB disks running in a RAID1 setup but it started to get full so I converted it to a RAID6. However, it seems I can't use the space I've gained by switching to RAID6. My filesystem is pretty ...
0
votes
1answer
6 views

Laptop slow and unresponsive when running on battery

My laptop is slow and unresponsive when running in battery; it works fawless when connected to ac power. In the past I used to have tlp/laptopmode-tools but since Linux 3.x I have uninstalled both. ...
1
vote
1answer
5 views

sbuild schroot fails

I am trying to package an Ubuntu package as a Debian package. For maintainability I am trying to use sbuild. Following the steps here I go through the first five steps, but when I try to build I get ...
3
votes
3answers
124 views

How can I rename a directory with name made of non-printable characters only

On SunOS I have directories with names containing only non-printable characters. The command ls -ldb * returns the following (some spaces deleted) drwxr-xr-x 3 user1 group1 3 Feb 4 18:10 ...
0
votes
1answer
8 views

Set bindings in i3 to control keyboard backlight

For my i3 window-manager settings, I am looking for a command line tool, similar to xbacklight, but to control the brightness of the leds which are in the keyboard. Basically, I can set up the leds ...
1
vote
2answers
35 views

Find size of file in unix using for loop

I am trying to get the size of each file in a directory using a for loop, running the below script #!/bin/bash FILE=/home/cloudera/Desktop/new for file in $FILE do size=`du -b ${file} | cut ...
1
vote
1answer
10 views

Can the Bash shell “Ignore” Excess copy-paste text?

Say, I have a "Quick&Dirty" Perl script in a gui text editor, and I start the Perl interpreter in a terminal window which is running Bash. I can copy-paste the Perl script to the terminal & ...
0
votes
1answer
20 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
0
votes
1answer
13 views

Does dnsmasq work for OS X? [on hold]

I tried installing it and then launching it, but none of the features work at all. Here is my dnsmasq.conf listen-address=127.0.0.1 address=/localhost.localdomain/127.0.0.1 ...
0
votes
0answers
5 views

Plasma Device Notifier thinks all my internal hard drive partitions are removable and always shows them

Since a few weeks ago, Plasma Device Notifier thinks all my internal hard drive partitions are removable and always shows them. If I go into it's settings and select to show "Non-removable devices ...
0
votes
0answers
15 views

using wget to download all audio files (over 100,000 pages on wikia)

I am trying to download all audio files in Wookiepedia, the Star Wars wiki. My first thought is something like this wget -r -A -nd .mp3 .ogg http://starwars.wikia.com/wiki/ This should download ...
1
vote
2answers
18 views

Changing root's passwords using setuid

Is is possible to change root's password using setuid? What I tried is writing a simple program which calls system("passwd root") owned by root and its setuid bit is set but it didn't work. The ...
0
votes
0answers
4 views

Installing out-of-tree kernel driver in Qubes OS NetVM

I have bought an Edimax USB wifi stick, which requires an out-of-tree (i.e. 3rd party) kernel module to be compiled for it to run on Linux. However, Qubes OS is a bit different to ordinary Linux ...
2
votes
3answers
319 views

The wc -w command outputs incorrect answer

I have to find how many times the word shell is used in a file. I used grep "shell" test.txt | wc -w in order to count how many times that word has been used, but the result comes out 4 instead of 3. ...
1
vote
2answers
46 views

Stop bash script with any key

I'm writing a custom gnome-terminal profile which I want to stop with any key I choose. After pressing the key, my intention is to complete all my commands at that moment and start su. I've tried ...
1
vote
2answers
14 views

Trying to direct variable contents into command gives Ambigious Redirect

I'm trying to write a script which tests the http response from various Node servers I have running and which then emails me if any respond with a 502 error from Nginx (meaning one or more server has ...
0
votes
0answers
19 views

Most efficient way to replace a line in a text document? [migrated]

I am learning to code in Unix with C. So far I have written the code to find the index of the first byte of the line that I want to replace. The problem is that sometimes, the number of bytes ...
-1
votes
1answer
22 views

How can I Log ssh login passwords attempts?

I need to log ssh passwords attempts. I read somewhere you could get this done by patching openssh but I don't know if that is the correct way to get this done. I am using Arch. EDIT: I want to get ...
0
votes
0answers
2 views

avconv commandline for downsampling HD video to SD

I'm trying to downsample a HD video recorded by TVheadend to SD size using the following command: avconv -i infile.ts -map 0:v -map 0:a:0 -map 0:a:1 -c copy -c:v mpeg2video -r 25 -qscale:v 2 -s:v ...
0
votes
0answers
4 views

NUT communicate with APC via SNMP

I am installing NUT on a Suse 11 server, and wish to communicate with my APC Symmetra via the network driver (SNMP). I have setup my ups.conf to include: [upsrack] driver=snmp-ups ...
0
votes
1answer
6 views

Why does mutt hang when running gpg in tmux?

I run mutt in tmux and when I run gpg to sign or encrypt, gpg shows a blank screen where I would expect to type my passphrase. I've straced gpg and it shows that it's hanging waiting on a socket ...
0
votes
0answers
18 views

Why does /etc/machine-id changes at reboot?

/etc/machine-id changes at each boot on my recent Debian Jessie install. The docs say it shouldn't: The machine ID is usually generated from a random source during system installation and stays ...
0
votes
0answers
2 views

Can Samba 3.5.16 handle 64 bit lock requests

I am having trouble with my win10 box sending lock offset requests to my Seagate Central NAS running Samba 3.5.16. The lock offset request is in 64 bit format. The response is success but wireshark ...

15 30 50 per page