Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

2
votes
1answer
32 views

Does the following mean my SSD is about to fail?

[iceguru@stuxnet ~]$ sudo smartctl -a /dev/sda smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.14.21-1-MANJARO] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, ...
-4
votes
1answer
30 views

Shell script for going through files and deleting or compressing them

List, one at a time, all files larger than 100K in the /home/username directory tree. Give the user the option to delete or compress the file, then proceed to show the next one. Write to a logfile ...
0
votes
1answer
9 views

unable to use ssh-1 despite protocol being 2,1 in sshd_config file

When I do telnet localhost 22 I get SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1 back. Since my sshd_config file has Protocol 2,1 in it (vs Protocol 2) shouldn't I be getting SSH-1.99-OpenSSH-6.6p1 ...
0
votes
0answers
13 views

linux gaming mouse - seperate vertical and horizontal DPI adjustment [on hold]

One feature of gaming mice on windows was the ability to separate DPI settings for vertical and horizontal axis. This was configurable through software such as Logitech's and Razers. For example ...
0
votes
1answer
16 views

iptables on debian blocking git pull, http api requests etc

I am using IPTables on an API server to block all incoming traffic except for SSH, HTTP and HTTPS. I need to have full access on the loopback interface to run beanstalkd amongst other things, and need ...
0
votes
1answer
9 views

set not to use vpn for specific urls (ip range)

How to config my PPTP VPN connection to being used for all traffic, except specific IP range (or urls)? I'm a linux newbie with no network knowledge.
0
votes
0answers
10 views

Find real size of Windows/winsxs folder in Cygwin

I'm running Cygwin with the default installation. I'm a complete noobie to Linux & Cygwin. I just figured out how to find all hardlinked files in my c:\windows\winsxs folder. (Navigate to ...
1
vote
1answer
10 views

Is it possible to mount VHD image over smb with ftp backend?

Let's say I mount remote ftp server folder to a local folder using fuse. Then I setup samba and create a share pointing to local ftp folder. Can I place a VHD image on that share and then mount it in ...
0
votes
0answers
7 views

How to recognize the start and end of a zpool partition on byte/HDD block level or with broken GPT?

In case the GPT of a HDD has been deleted and possibly some partitons, but not the one that should be found with the answer to this question (because it is right in the middle of the HDD and writing ...
4
votes
1answer
184 views

Not sure gzip has decompressed the whole file

I am decompressing a list of files using gzip: At any time it skips from one file to the next, I read (I am using the verbose option): star_60out.txt.gz: 91.0% -- replaced with star_60out.txt or ...
0
votes
0answers
6 views

How to boot xen guest with efi?

I am using Xen 4.4. My dom0 is the latest Gentoo, with grub-EFI booting. I want to create a Windows hvm. Currently, the vm I created can boot from an ISO and install windows. But if I point the disk ...
0
votes
1answer
21 views

PHP site doesn't work on Linux Mint

I started using a Linux Mint and I'm having a little problem. I have a project, where the main folder contains PHP files, and inside this folder there are other folders with images, JS files and CSS ...
3
votes
1answer
32 views

How can I check whether my NTP daemon has PPS support?

I have already read about compiling NTP with timepps.h provided to get PPS support. Is there an easy way to check the already precompiled or rather installed version of an repository (Ubuntu 14.04.1, ...
0
votes
0answers
21 views

Change login screen after screen lock/suspend in mint 17

Is it possible, and i that case how, to change login screen after I have suspended my mint 17. The problem is that after I have locked/suspended I get just black screen. To get the login manager i ...
0
votes
0answers
12 views

Use cloud-init with VirtualBox?

Cloudinit is used by many cloud images e.g. on EC2 to obtain their initial configuration, like IP address, ssh keys and the like. Is there a way of using it with VirtualBox in a similar way? I'm ...
0
votes
0answers
5 views

USB Target mode multiplexer for video feeds

We have proprietary (not ours) windows software that processes video from one camera connected via USB. We would like to analyze feed from many (10+) cameras by rapidly switching video source. Usage ...
0
votes
1answer
26 views

Awk script to run a command based on condition using 'if'

I have a piece of code here that basically takes a file called 'srcip' (which is just a list of IP addresses) and compares it to my '~/db' file which is just a tab delimited IP HOSTNAME database of ...
0
votes
2answers
14 views

Unable to establish connection between host-server-host on the same network

Can anybody please tell me what stupid thing is it that I'm doing which makes it impossible for me to ping between hosts in a following HOST1-ROUTER-HOST2 config explained below: I've got one PC - ...
0
votes
1answer
32 views

is there a way i can either insert a character into a line or substitute and arbitrary character with itself plus some other carachter(s) in sed?

like say i have a string of numbers that constitute a phone number and are like so ########## and i want to format them like : ###-###-#### insert only puts in new lines, and i dont know how to ...
0
votes
1answer
14 views

How can I make printf print unicode characters saved in a variable?

I have this code to print a horizontal line using unicode character \u2501: #!/bin/tcsh set horz_line = "'" foreach x (`seq 1 1 80`) set horz_line = "${horz_line}\\u2501" end set horz_line = ...
0
votes
2answers
35 views

How can I find wget processes older than one day in unix?

Using this command I can find all the processes for wget: ps -aef | grep -i wget But I want a command or a script which can provide me the processes older than one day for wget and kill them.
1
vote
2answers
30 views

Alter output of every command

I'd like to know if there's any way of altering output of every command I execute in terminal. The purpose is to make the output formated for my markdown howto's. E.g. ls -la .*z #>-rw-r--r-- 1 ...
1
vote
0answers
15 views

Why would windows nfs server translate all hyphens in filenames to colons?

I realise this is quite a specific question but I am using an nfs filesystem that is served by a windows server. I am mounting it from centos 6.5 (linux). The nfs settings are ...
0
votes
0answers
48 views

CentOS 7 can't get IPv4 address from DHCP server

I have classroom full of computer running CentOS 7 and only one computer can't get IPv4 address from DHCP server during boot, because NIC is not yet up, when dhcp client tries to get IPv4 address from ...
1
vote
1answer
34 views

what to do next after manually installing a program in Linux

Because I don't have the administration permission on the Linux server, so I have to install all the software with configure, make, make install to a local directory so as to avoiding permission ...
1
vote
1answer
14 views

autocommand BufRead not working in vim when saving an empty buffer

I'm trying to use autocmd to get some filename-specific mappings. I followed some instructions online and write the following thing in my vimrc: autocmd BufRead,BufNewFile special.txt (some mappings ...
-2
votes
0answers
16 views

Recommend local server for 50 user [closed]

I am new to the server side. I am asked to setup a local server for 50/60 users max. The server will be running linux, mysql and a java application server (for a CRUD application, using spring, ...
0
votes
0answers
17 views

Broadcom 43142 Bluetooth not working

I am using a Lenovo B590 running Debian Jessie ❆ ~ け (ke) ➭ lsusb Bus 004 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader Bus 004 Device 003: ID 2516:0004 Bus 004 Device 002: ID ...
-2
votes
0answers
20 views

My lab has 6k$ to spend on a new computer, need configuration advice [closed]

New computer will be used for bioinformatis things. The requirements are: a lot of HDD space; a lot of RAM; usb 3.0 ports; one or more thunderbolt port; LAN connection; decent video card (ability ...
0
votes
0answers
24 views

logstash-forwarder failed to tls handshake cannot validate cert because it doesnt contain any IP SANS

I have a logstash / elastic search / kibana server on ubuntu 14.x 64bit. I have a few other servers with the same spec using logstash-forwarder, and everything is working as expected. However, when ...
0
votes
1answer
25 views

MEncoder & Youtube-upload Scripts retry if they fail

I have a script that encodes a video every day (cron job) and this video is uploaded to youtube just after its creation. Although sometimes these scripts fail. How can i make the script to retry ...
0
votes
0answers
5 views

Ubunthu: Mounting of external drive during startup stopped working after I unmounted in nautlius

I have mounted an external drive by specifying this in /etc/fstab # NTFS external drive /dev/sdb1 /media/seagate ntfs-3g uid=erik,gid=data_rw,umask=0022 0 0 This worked fine for several months ...
1
vote
1answer
19 views

Error on apt update: unable to connect to ftp.it.debian.org:http:

I have Debian Wheezy with kernel 3.2.0-3-amd64. Suddenly, from this morning (I'm italian), it's impossibile to correctly update the system via apt-get update. The system hangs on backport mirror deb ...
0
votes
1answer
21 views

Dual boot Win8.1 and Linux mint messed up

I have the following setup: sda: 1 partition for win programs (NTFS), 1 partition for data (NTFS), 1 partition for Linux Mint (ext4), 1 swap partition sdb: 64gb SSD with W8.1 ...
0
votes
2answers
30 views

linux cat into file including exiting code all from copy+paste

Can I print out a code to STDOUT that would mimic the behavior of Ctrl+c inside cat? E.g. I would like my script to print out the cat command followed by the content of the file like this: cat > ...
0
votes
0answers
23 views

How to create bootable USB in Linux without root access?

My laptop HD died (continuously getting grub-rescue screen with attempt to read or write outside hd0 error), now I dont have a bootable CD/USB and all PCs at my workplace have non-root access (so ...
1
vote
0answers
29 views

ssh connection sporadically hangs

Whenever I ssh to elsewhere, the connection is fine for 1-10 minutes, then hangs: no error messages, just stops accepting input. I can exit (CR-~-.) but that's it. I can't find anything suspicious ...
1
vote
0answers
16 views

Touchpad feedback in linux?

How to execute a command on every touchpad tap? I am constantly losing clicks (taps) on my touchpad, and situation doesn't seem to improve with new updates. I want to add a click sound for each ...
2
votes
0answers
46 views

Not able to create a user account in Linux Mint 17 Qiana with Mate desktop

Recently I installed Linux Mint 17 Qiana with Mate desktop, downloaded from the Linux Mint website. All works fine but I am not able to create new user in "Users and Groups" GUI tool. Opened "Users ...
1
vote
1answer
18 views

Setting up remote git repo that is on an encrypted drive?

I would like to set a remote git repo that I will be pushing to regulary, which is easy to do. But I want to set up this remote repo to be on a LUKS (Linux Unified Key Setup) formatted drive (via ...
1
vote
1answer
37 views

Lost boot from the hard drive after installing kali linux

I have tried to install Kali-linux with Windows 8.1. So I disabled fast and secure boot and installed the Kali normally but when I restarted my PC after the installation, it tell me: "Reboot and ...
12
votes
1answer
586 views

hexdump vs actual file contents

When I do hexdump filename.txt I get the following as output: 00000000 ac5a 5afb c08d 5d15 26d0 2491 e8c9 8917 00000010 When I do <?= bin2hex(file_get_contents('filename.txt')); ?> I get ...
1
vote
0answers
10 views

save alsamixer input source centos 6

I am not able to save the input source of my alsamixer. Every time I reboot the system the input source is set back to front mic. I want it to stay as rear mic. I tried alsactl store I disabled ...
1
vote
0answers
30 views

netperf udp with small packets on 10g link is bounded by ksoftirqd

I want to fill a 10Gbps link with very small udp packets (64B). I use the following command for i in 1 2 3 4 5 6 7 8; do netperf -H 192.168.56.2 -p 12865 -t UDP_STREAM -l 60 -C -c -- -m 64 -s 16M ...
0
votes
0answers
44 views

Ho do you stop and start php-fpm?

Ok I'm trying to install Ion Cube on an AWS instance created by Bitnami: https://aws.amazon.com/marketplace/pp/B007OUYR4Y/ref=srh_res_product_title?ie=UTF8&sr=0-4&qid=1413489962522 ...
0
votes
1answer
14 views

Passwordless linux account converted to Chroot jailed sftp now requires password?

I created a user and did an RSA key exchange for a passwordless connection. This worked. I also created a chroot jailed sftp only user. This also worked. I then created a third user. I set up the ...
0
votes
0answers
11 views

Unable to assign address to webhost

I am following this video http://www.youtube.com/watch?v=l86W-WKzhBo. At 6:16 he assigns web1 and web2 to 61 and 63. He was able to ping it afterwards. I however cannot ping it. The Destination is ...
0
votes
1answer
12 views

Add blurb to bottom of each comment section of matlab file in linux

I feel like there is a sed or awk magic that will do this. A matlab file is laid out as function [asdfasdf] ... %comments! %moar comments! ... % % code I would like to add an additional comment ...
0
votes
0answers
14 views

ssh sessions becoming unresponsive, server still shows user logged in

I have been having this problem with several servers that I manage. I log in via SSH and leave my terminal window open for an hour or so while working on something else. When I bring the terminal ...
0
votes
1answer
16 views

Change service apache2 on linux

I'm on ubuntu 12.04. The default exe location for service apache2 (usage ex: sudo service apache2 start) currently points at /etc/apache2/bin/httpd, but that will not modify the current running ...