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

0
votes
0answers
8 views

XFCE login screen: All passwords are correct

Everytime I boot my computer or just log out, the random password I enter in the XFCE login screen, is correct (even when it's not). I'm running XUbuntu 14.04. I also have a second machine running ...
50
votes
10answers
51k views

Remove a certain line from Bash history file

How can I remove a certain line from history's database?
0
votes
1answer
7 views

Get current metadatasize for an physical volume

Is there a way to get the current metadatasize for a phyisical volume. I used [root@i-6b4fb096 ~]# pvcreate --metadatasize 10000 /dev/sda4 Physical volume "/dev/sda4" successfully created ...
0
votes
0answers
10 views

After a crash computer will not boot with btrfs drive

So since I started using btrfs, when my computer crashes (mainly because battery ran out but on any crashe i had up until now) it does not boot anymore (the issue seems that the kernel cannot mount ...
0
votes
0answers
3 views

How can I get the ID of an online disk in a ZFS pool?

I rotate physical disks in and out of my mirrored ZFS zpool (using ZoL) to use for offsite backups; to help streamline the process I've been using udev rules to respond to the drives being swapped. ...
0
votes
0answers
12 views

Lost username on a Debian box

The situation is like this: I logged in to my Debian box through SSH and just found it showing the message that there is no username for the current account. I tried to use whoami to see if the ...
0
votes
1answer
10 views

Alternate rabbitmq-server restarts fail - CentOS7

I have installed rabbitmq-server on a CentOS7 Virtual Machine. After the installation is done. I tried restarting the server. I noticed that every restart after a successful restart is failing. I ...
0
votes
1answer
8 views

How to use losetup to emulate an optical drive that can be a recording target

On a linux system, i am intending to convert some audio files (mp3) and write them to an audio cd. Instead of directly writing to an optical disk, i would prefer to somehow redirect the output to an ...
0
votes
0answers
3 views

udev rule to rename usb network interface don't work on startup

I have an embedded system that has a smsc9512 (USB 2 port hub with Ethernet converter) running a distribution generated with poky and kernel 3.0.20. I need to have a fixed name for the interface and ...
1
vote
3answers
5k views

webcam problem with skype on linux

I am runing ubuntu 9.10 and the latest version of skype but I have problem with webcam. When I trie the webcam with cheese it works fine but when I try to use the web on skype , skype crashes. can any ...
3
votes
2answers
902 views

Is there a cat alternative that supports unbuffered output?

I'm looking for a program to copy stdin to stdout while showing control characters (like cat -v) and without waiting for an EOF (the input is from a tail -f). I have GNU|Linux; the cat that's ...
0
votes
0answers
8 views

rsync --exclude option with wildcards and slashes

I have an rsync command that looks like this: /usr/bin/rsync -e ssh -prLtvz --ignore-errors --progress --exclude "/*/*/*" --stats --chmod=u+rwx,g+rwx,o+rx /foo/bar/baz targetloc:/root_path/dest ...
0
votes
2answers
71 views

gtk 3.14 file chooser: folders first

I just upgraded from fedora20 to fedora21 and now the gtk file picker sorts files and folders together. I much prefer the usual and previous behaviour of displaying folders first (and I enabled that ...
4
votes
4answers
969 views

How do I turn off or adjust the clever tab completion in Ubuntu (Programmable Completion)

When I am running various commands on the command line in Ubuntu and use tab-completion for files. The only files I am given are ones which have the appropriate extension for the command I am running. ...
1
vote
3answers
3k views

How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under ...
24
votes
3answers
19k views

How do I create a relative symbolic link in Linux?

I need a symlink that resolves relative to the directory it is placed in. What command is used to create such a thing?
1
vote
1answer
15 views

multicast dns \ service discovery through router

I am using Apple's mDNSResponder. It works in single network. Is there a way to make it work even if there is router between computer that browses for services and computer that is service provider? ...
0
votes
0answers
10 views

How do I configure Linux Iso-Image as bootable Thin-Client DVD

I have to find a solution for the special needs of my company and now i getting struggle, i have the following problem. The order: Create a bootable Linux DVD with special RDP settings. We have many ...
0
votes
1answer
13 views

Wget not getting cookies, not pulling back results in check.

I'm having a couple of issues when porting check scripts between a couple of servers. The script. #!/bin/bash hostname=$1 port=$2 retstatus=0 retStr= st=`date "+%s.%N"` if [ $# -ne 2 ]; then ...
0
votes
1answer
19 views

How to run a script on ssh login and run another script after the first terminates?

I'm trying to run a script/shell just after I login via ssh to my host with a "guestUser" the mission of this user is to connect to another remote host via ssh, I've created this user on my host: ...
0
votes
1answer
25 views

How to force a Linux DHCP client to get a different IP address [duplicate]

Situation: unconfigured network interface eth1. As root, I give command dhclient eth1, and get an IP. Now I want to change this IP from client side, force DHCP client to get a new address. Answers of ...
0
votes
2answers
22 views

How to handle duplicate files during runtime

we have a program which unzips a file and store the unzippied files in a directory. While unzipping, there may be a chance that the unzipped file come with the same name as we have unzipped as part ...
0
votes
1answer
28 views

cronjob not executing python script - tried strace

I'm having trouble making a python script run via cronjob. I can run the python script (it's supposed to connect to a database, pull a few records, save that to a csv, then email it) manually just ...
-1
votes
0answers
27 views

Toggling between two internet connections

I have the following two internet connections: a wired Ethernet connection (which goes through a proxy via a proxy config. URL) a wireless WLAN 802.11 g connection (has no proxy) My question is ...
1
vote
0answers
351 views

How can I call phones from my pc using a mobile phone connected to my pc?

I mean this question in abstract for usb/bluetooth connected featurephones and dumbphones. But also specially for this mobile phone: Motorola RAZR V3i I have computers running debian and ubuntu, can ...
0
votes
0answers
4 views

Unicorn and sidekiq automatically go down in gitlab

I have a gitlab in production running successfully for more than 2 years. Recently It started behaving weird. The unicorn automatically stops. I have done an upgrade to the recent stable thinking that ...
2
votes
2answers
2k views

rsync fails after server restart

Usually I use the command rsync -av --delete someroot/somedir user@remote_server_ip:/someroot/. on my development server to synchronize somedir to a remote server. It worked fine. But after the ...
0
votes
0answers
49 views

KSM RAM De-duplication - All Memory

I understand that Android KitKat uses KSM to reduce memory usage for low-ram phones and tablets. Depending on uses I can see KSM benefiting other Linux devices. Is there a way to enable KSM (or ksmd) ...
0
votes
2answers
22 views

sh -c in background

Original version: How to run sudo sh -c "command" in back ground In a terminal sudo sh -c "command" & starts in background but as soon as I press enter, the process exits [test@localhost ...
3
votes
2answers
3k views

Slow internet using Arch Linux

After a week or so of using Arch Linux I cant access the Internet. It takes around 5 mins to load Google (most of the other websites just give me a timeout), pacman’s downloading speed range between ...
3
votes
3answers
178 views

How to encrypt all—or part—of a USB hard drive that can be accessed by both Linux and Mac OS X?

I bought a new USB Hard Drive that I want to use as a back up for my Linux (Ubuntu 14.04 LTS at the moment) and my Mac Mini (running Mac OS X 10.9). I can do this perfectly at the moment, but I want ...
0
votes
0answers
6 views

https proxy setup in NAT-ed clients

I have network setup as follows: I have 2 PCs. A and B. A is connected to Internet, and A and B is connected by local network. B can also connect Internet through A by NAT setup. In A, the NAT setup ...
0
votes
0answers
12 views

Is there a tool that does what ccleaner does but runs from linux and cleans up windows profiles?

I'm trying to save a client from the cryptowall virus and am working through their workstations doing backups. I'd like to clean up their user profiles before backing up the c:\users folder so I ...
0
votes
0answers
7 views

Install software on IGEP COM BusyBox Linux board

I have the IGEP device with very stripped Embedded Linux on it which has almost no software installed. The first thing I tried to do was to configure Wi-Fi module using iwconfig. However the iwconfig ...
0
votes
1answer
12 views

At a loss, email failing to send

I am trying to send email from linux (Ubuntu v14), some email addresses it works, and some it's not, and I am completely lost. I am not a linux guy so it's kind of all new to me. Here's the log from ...
10
votes
5answers
23k views

command not found when using sudo

There are a few question on the site that seem related to my problem but I could not find a solution in any of them. My operating system is Ubuntu 12.04. I have mvn installed in ...
1
vote
0answers
22 views

ack.pl tool and ack.pl flags + how to ignore files with S attr

I am using the ack.pl tool in order to search string or IP’s in files The official site of ack.pl is - http://beyondgrep.com/documentation/ Example of ack.pl CLI ( want to find the string ...
0
votes
2answers
15 views

Cloning a Linux software RAID and LVM setup to another computer

I need to create a number of (almost) identical Linux machines (Debian Wheezy) with software RAID and LVM. I'm thinking of creating a base installation and cloning that one to all machines. I tried ...
0
votes
1answer
3k views

Ethernet issues in Linux mint.

After a hardrive crash I installed mint 17 LTS with many attending woes related to lack of drivers (two of my 8 usb ports can actually recognize devices plugged into them). I'm currently attempting to ...
-1
votes
1answer
29 views

More robust choice for filesystem [on hold]

I have to format a new external HD, 1 TB. I want to have an independent partition of ~300 GB which should be very robust against damage (last time I lost the entire HD since it fall down). Of course ...
0
votes
1answer
14 views

Laptop turned off without charged

I have a Asus N55SF laptop, and always when I unplug my device from the charger it immediately shuts down - the battery decreases from 100% to 1% in few seconds. Perhaps the problem is with my i7 ...
3
votes
2answers
97 views
+50

Use the 'fresh' / unused area of a rewritable DVD?

When re-using a rewritable DVD, I want to use the unused area of the disc. So for example, when I burn a 1 GB Linux distro onto a rewritable DVD, and then burn other distro(s) onto the same DVD, it ...
0
votes
2answers
20 views

Delete All Files Older Than Specified Time Within A Directory (Ubuntu)

I have a bunch of files in a directory with all different names and I want to delete all that are older than a specified time. Example: File1 File2 File3 File1 was made Mar 31 08:00 File2 was made ...
0
votes
0answers
18 views

Allow users to upload every kind of file through PHP script without security risk [on hold]

I want to allow users of my website to upload any file on the webserver. Is there any risk if they don't know where is the storage folder? Any advice to secure that? Thanks for your help.
0
votes
0answers
12 views

Strang, same simple awk script has different results on different machines

This is the strangest mystery ever -- same simple awk script has different results on different machines. The awk script is really simple: $ cat awk_test.awk BEGIN { troubleshoot = 1 } # GET: ...
0
votes
1answer
12 views

How to include a call to ncat to a bash script?

I need to flush a memcached instance from a bash script, I found the following command which do the job: echo 'flush_all' | ncat localhost 11211 But my problem is that the script doesn't continue ...
0
votes
1answer
41 views

Where's the editor: libplist-util and Ubuntu

I need to modify some compressed/binary plist files in an IPA. An IPA is an iOS's APK. Tere's a libplist-utils for Ubuntu and I installed them (I don't have access to my MacBook at the moment). ...
0
votes
1answer
15 views

How to access sda4 device/directory?

Our camera DVR is not recording anymore. The disk is full and the vendor has not been helpful in freeing up space. I am trying to figure out why the primary disk is full. I've tried accessing it ...
0
votes
0answers
35 views

How to properly remove localhost DNS settings on Mac so real world DNS resolution can happen

I’m having an issue removing some local DNS settings on my Mac that’s running Mac OS X 10.10.2 (Yosemite). I normally use the /etc/hosts file to direct requests from development sites to my guest ...
0
votes
2answers
248 views

CentOS 6.6 nVidia driver and CUDA 6.5 are in conflict for system with GTX980

I am installing the CUDA toolkit and nVidia driver on a machine with GTX980s and CentOS 6.6. According to nVidia I need a different CUDA toolkit (6.5-19 instead of 6.5-14) than normally offered on ...