0
votes
1answer
4 views

Music Player Daemon MPD - Lagging HTTP stream

HTTP stream from my MPD lags, i.e. audio from Pulse and HTTP output are not in sync, with HTTP output lagging Pulse. This also means that starting/pausing/stopping music from MPD is not reflected ...
0
votes
1answer
4 views

Setting up command promt in tcsh to show only last 3 working directory instead of complete path?

I have command prompt in tcsh that shows current working directory. but problem is command prompt become very big once i am in deep hierarchy of folders. How do i set command prompt to show lets say, ...
1
vote
1answer
8 views

Can I make it so that new users created will have an expired password by default?

I want to make it so that if anyone creates a new user on my system that user will be forced to set a password during their first login. I can't find anything in /etc/login.defs that will do it. I ...
1
vote
0answers
5 views

Encrypt casper-rw file for use with Easy2Boot

I have created an Easy2Boot multiboot USB drive. Currently it contains two ISOs - Kali Linux 2016 and Linux Mint. I have created persistent ext2 filestore for both ISOs and configured them using the ...
0
votes
0answers
7 views

dpkg-deb: conffile does not appear in package

I'm trying to build a debian package using debuild. It gives me the following error: dpkg-deb: error: conffile `/etc/sudoers.d/dhis2' does not appear in package This is the tree structure for ...
0
votes
0answers
19 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
1
vote
1answer
14 views

Best way to delete select email messages from mbox file using script

I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from ...
3
votes
0answers
12 views

wpa_supplicant problems

I am working on a device without NetworkManager or other niceties and am trying to connect to a WPA2 network. For some reason, wpa_supplicant fails to associate properly to all the networks I have ...
0
votes
0answers
9 views

Raspberry PI, X.org and Chrome - remote launch over SSH

I want to use my RaspberryPI as a console to render some charts on the external monitor. I want to be able to login to my RPi over SSH, start a remote X session with the browser (chrome) only to open ...
0
votes
0answers
3 views

LXDE (Debian) doesn't start correctly after kernel mode setting (grub) Help!

Our brand new Debian server caused some java problems that made me test the boot option GRUB_CMDLINE_LINUX="nomodeset" After that, the server boots, I can also graphically login - and then nothing ...
2
votes
4answers
131 views

Have rm not report when a file is missing?

I have a bash script that I want to removed files from various directories. Frequently, they won't be there because they weren't generated and that's fine. Is there a way to get the script not to ...
2
votes
2answers
19 views

How can I auto-close dropped SSH connections?

When I work on my server remotely, sometimes my SSH connections get dropped due to network issues. When I re-connect to my server, the dropped sessions remain open. I can see them when I run w. I'm ...
1
vote
1answer
8 views

Which services should be stopped by preinst vs. prerm scripts?

The debian manual (https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-maintscripts) says the following about preinst: Many 'preinst' scripts stop services for packages which are ...
0
votes
1answer
15 views

How to Recompiling the Kali Linux Kernel ( real tutorial 4/2016 )? [on hold]

I was follow this tutorial : http://docs.kali.org/development/recompiling-the-kali-linux-kernel , and it not helpful . Basicl I finish in this step: http://imgur.com/a/3AuHs . But in step Configure ...
0
votes
0answers
11 views

Qubes OS and .deb packages [on hold]

Qubes Project(variant of Xen Project) is a beautiful OS. However, I don't see a file manager for templates. So how do I drag over (say, by usb, and where to!? dom0!?) a .deb file or .rpm to start the ...
0
votes
0answers
35 views

why does cygwin and putty write a tilde on its own? [on hold]

I would like to know how can I stop cygwin and putty writing a tilde on its own. When I use vim with these programs on windows 7 I get this annoying tilde written.
-2
votes
0answers
17 views

Writing a pseudo code to create a user [on hold]

I have created a shell script which can create users and I was wondering if someone can write a pseudo code to create a user for me I have read some websites but still don't really seem to understand ...
-2
votes
0answers
9 views

Grammarian won't uninstall

Im trying to uninstall an annoying app on my Mac called Grammarian Pro X and the uninstaller doesn't work with my version of OSX 10.11. You can uninstall the main app but there is still bits of the ...
-2
votes
1answer
13 views

unable to start or stop vsftpd

When I try to start vsftpd it fails. When running netstat -anp | grep :21 I get the following result: tcp 0 0 :::21 :::* LIST EN 4046/proftpd What can I do to make sure that vsftpd starts and ...
-1
votes
0answers
4 views

Intel 4400 Multi screen problems

So I have a Dell Inspron 15 with a i3 processor and intel 4400 graphics. I have just installed debian 8 (jesse) and when I plug in my monitor, the laptop flickers for a second and then goes blank. The ...
-1
votes
2answers
21 views

How to convert rows to columns based on cloumn value in awk in unix

I have data like below dn: uid=032096,OU=Customers,OU=People,O=B2C objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user objectClass: inetOrgPerson objectClass: ...
0
votes
0answers
12 views

Where is my 7za data being written to

I have a weird question about 7za on Centos 7. I am adding a file to a 7za archive using the following command (the total size of the directory is around 40GB) /usr/bin/7za a -ppassword -t7z -mmt=off ...
0
votes
0answers
5 views

Mounting samba directory changes all file permissions to user who mounted it

I have a xubuntu 14.04 client, a debian 8 Samba File server and an external Active Directory service. I log in as user1 on the client authenticating against the ADS with winbind. My home directory ...
0
votes
0answers
13 views

What is the correct approach to update linux kernel? [on hold]

Currently I use Ubuntu 14.04, 4.0.0-040000-generic. Hardware: intel i3-6100, motherboard asus b150m-c, video card AMD R7850. I've got an issue with Xorg, which led me to updating video drivers, whose ...
2
votes
1answer
42 views

Replace values in file

I have a files: $cat file1.txt 1234|W 1345|S 8427|D 2132|C 3243|V and my sql file is : $cat select.sql SELECT * FROM CUSTOMERS WHERE ID IN (FLAG); and I have a shell with the next ...
-1
votes
1answer
11 views

How to fix install Comondo antivirus in kali linux?

I want to install a antivirus software in kali linux. I find a software name Comondo : https://www.comodo.com/home/internet-security/antivirus-for-linux.php. I download deb file and run but failed, ...
0
votes
0answers
10 views

I'm able Start Service With init.d script, however doing service <service name> start does not work

I'm able to start a service with an init.d script, however doing service <service name> start does not work. For e.g. /etc/init.d/haskal start, the service is starting fine and service haskal ...
1
vote
1answer
26 views

Create table with frequency of unique names retrieved from multiple .csv files

I have 32 CSV files containing fetched information from a database. I need to make a frequency table in TSV/CSV format, where the names of the rows are the name of each file, and the names of the ...
2
votes
1answer
28 views

File execution is denied

I just can't execute any file. For example: And I use zsh now,bash has the same problem.
0
votes
2answers
9 views

Do I really need -dmS option in screen to run background job stably even log out?

I saw many place introduce screen to run background job stably even log out. They use sreen -dmS name According to screen -h, this option means -dmS name Start as daemon: Screen session in ...
0
votes
2answers
17 views

How to improve Solaris Server Configuration [on hold]

As a programmer I have limited knowledge of the ins and outs of Hardware configuration. I've been tasked with assisting in server tuning. I understand tuning a server for peek performance varies per ...
0
votes
0answers
13 views

PSCP - why can't it find the file when using non-admin credentials?

I am trying to make a batch script to get files from Windows vm to Ubuntu vm so I decided to use pscp. when I put pscp -l admin -pw pswd C:\path admin@IP:/path the files transfer fine but I don't ...
0
votes
0answers
12 views

Problem in writing to a File after Power on/off?

I am writing the content of my script to a .log file using > operator. I am doing it on a Raspberry Pi. After a Power on/off if I try to execute the script it doesn't write to the file. I then ...
2
votes
1answer
12 views

What does the process /usr/libexec/packagekitd do?

This process keeps hogging my bandwidth: What does this process do? Is it safe to kill it? Is is safe to remove the package as a whole( to prevent it from starting up ever again) Or should I just ...
-2
votes
0answers
14 views

How to encrypt a drive with a system and data already on it? [on hold]

Is there a way to encrypt all partitions of a running drive without erasing anything? OS: Archlinux Type of Encryption: The best one to fit to that type of situation
0
votes
1answer
12 views

pointing Linux DNS server from one sub domain to another subdomain

I have DNS server to my domain abc.com. Need to point my sub domain xx.abc.com to another subdomain xx.def.com. As it's hosted in xx.def.com, I will get any IP, so they will provide only subdomain ...
1
vote
1answer
20 views

copy array with array name inside string in bash

In bash 4.3 script, I have variables: environment="local" config_local=("a" "b" "b" "d") copy_from="config_${environment}" I want to copy values from array with name stored in copy_from to another ...
2
votes
1answer
11 views

Non-GUI based pin-entry for gpg

I'm in the process of remotely viewing and selecting hundreds of images, some of which are encrypted with a symmetric key. I log in to the remote desktop machine using ssh. The viewing is not fast, ...
0
votes
1answer
20 views

Hosted apache2 website visible on internet [on hold]

I want to know how do I make a website visible on internet hosted in my local machine using apache2 as a web-server. I'm completely new about this topics, and the thing is (just for practice and learn ...
0
votes
1answer
15 views

extend Disk space

i want extend my disk space : #df -h Filesystem Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev tmpfs 403M 17M 387M 4% /run /dev/sda1 19G 18G ...
0
votes
0answers
10 views

Qemu/KVM, windows guest password prompt

Ubuntu 16.04 Qemu/KVM Windows 8.1 guest SSH from remote host into hypervisor, run virt-manager. Get prompted for creds: user1@hypervisor, authenticate successfully. Open guest, get prompted for ...
1
vote
2answers
34 views

how to move set of files in one-liner [duplicate]

I wanted to move 1000 files in a directory to another dir. I can do it if I'm in the original dir but if I try this mv $(ls /home/jeremy/source|tail -1000) /home/jeremy/dest from elsewhere, the ...
1
vote
0answers
20 views

non-blocking/multi-threaded cat

cat is blocking from what I see in the code, i.e. it uses blocking read() and then it uses blocking write(). I want to call some tool where I disable all stdout buffering by purpose (e.g. like ...
1
vote
0answers
37 views

fedora 24 won't boot after dnf upgrade

Last night i did a upgrade on my fedora 24 alpha install and when booting first time today i just ended up with a black screen. Then i tried booting into rescue mode, which left me with a shell after ...
0
votes
1answer
6 views

How do I change the location where screenshots are saved in Linux Mint 17 Cinnamon?

Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/ How can I change this location?
3
votes
2answers
14 views

stdbuf supposed behavior for subprocesses

I didn't exactly find something about the following in the man-page. How is the supposed behavior in subprocesses spawned by a process which was itself spawned by stdbuf? E.g.: stdbuf -oL myprog ...
0
votes
1answer
27 views

In UNIX, how do I send a file back to it's original location after outputting it somewhere else? [on hold]

If I send a file into a directory using an output, is there a way to bring that file back to it's original location using a shell script?
0
votes
0answers
3 views

How can I prevent imwheel from allowing some scrolling events to “pass-through”?

After much troubleshooting, I finally found a way to map Shift+Mouse-wheel to horizontal scroll, using imwheel. The pertinent part in ~/.imwheelrc is as follows. ".*" Shift_L, Up, Button6, 10 ...
8
votes
1answer
240 views

Cloned system + network interfaces

I'm currently in a little bit of a pickle. I've made an image of my system and I have given it to someone to run. They have successfully flushed their system with the image and are running it. The ...
1
vote
0answers
18 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:13 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-TP-1602... Apr 29 18:28:14 ArchPad network[320]: Starting network ...

15 30 50 per page