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

1
vote
1answer
7 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
1answer
7 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 ...
0
votes
1answer
11 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 ...
0
votes
0answers
14 views

Allow users to upload every kind of file through PHP script without security risk

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
7 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
0answers
6 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 ...
-1
votes
1answer
27 views

More robust choice for filesystem

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
2answers
12 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 ...
-1
votes
1answer
12 views

Is there a way to rip DVDs & CDs on headless CentOS box?

Has anyone set up headless DVD & CD ripping on a CentOS box? I’ve seen a few posts and threads about other operating systems, but nothing about CentOS / Fedora / Red Hat, and nothing recent. I’d ...
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 ...
-2
votes
0answers
4 views

To which location on windows I need to import my public key from linux to setup password less SFTP transfer?

To which location on windows I need to import my public key from linux to setup password less SFTP transfer from linux to windows? My target is to transfer files via SFTP from linux to windows using ...
0
votes
0answers
14 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 ...
0
votes
0answers
9 views

NFS and physical storage used in client

I tried searching on the Internet information about NFS and the resources it uses, but I could not find a definitive answer to my question. I want to understand the following: Having two servers on ...
0
votes
0answers
21 views

Uninstalled Ubuntu 14.04 from my computer, Windows 8.1 bootloader is all messed up

I'm coming here for help because I've tried almost every different solution I could find on the internet for any problem that seemed remotely similar. To give backstory, I have an SSD and a HDD. ...
0
votes
1answer
7 views

what does CPU% means in `ps auxf` for processes with parent/child relationship?

When I use ps auxf to display process information with ASCII art process hierarchy. Processes with parent/child relation is listed as below. USER PID %CPU %MEM VSZ RSS TTY STAT START ...
0
votes
2answers
18 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
1answer
9 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
0answers
9 views

How to transfer directory from remote server to local server?

0 down vote favorite I have a remote server where SSH is disabled and i have only FTP access , on my remote server i have SSH enabled. I want now to download a directory of my remote server to my ...
0
votes
0answers
19 views

Is it safe to use a remote etc/hosts file?

We have 7-8 PCs that have IP addresses in the hosts file. Our issue is that these addresses can change (because we are tied in to corporate DHCP and have no control over this). What I am thinking of ...
0
votes
1answer
14 views

sh -c in background

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 app]$ sudo sh -c ...
0
votes
1answer
8 views

Switching Default Interface to Route Traffic

I want to switch primary network interface of my Ubuntu machine, I referenced this: http://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/. Here is my setting for experiments: I ...
0
votes
0answers
10 views

Building a mpich cluster with two nodes

I have searched the net for answers to the below questions to no avail. A few questions regarding a two or more node computer cluster. Can the nodes in a cluster be connected via wireless network if ...
0
votes
0answers
33 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
0answers
10 views

Changing user in a solaris script Sudo not an option

Sudo is disabled on my machine. I am creating a script that installs a server that must be installed as root but the profiles must be created as a different user I tried to use su - user - c But I ...
-1
votes
2answers
23 views

Windows Complete Backup

I'm looking to try Linux. How do I completely backup my Windows computer and put it into something like an ISO so I can boot from it later if I ever want to switch back from Linux to Windows? Will ...
0
votes
0answers
4 views

Samba On Linux: Allow Sharing Of Files In FUSE-Mounted Partition

I have this server at home with a single SSD with the following partition scheme: sda1 = 512 MB - EFI Partition sda2 = 512 MB - FAT Boot Partition sda3 = 3096 MB - Linux-swap sda4 = 20 GB - Ext4 (OS) ...
0
votes
0answers
33 views

How can I delete the content between two tags in a large xml file (>2GB)

The File in Question is XML but I want a Shell Script to remove all the binary (Base64) encoded images that are embedded. The files are generally huge (>2GB). I want to delete everything between: ...
0
votes
1answer
17 views

Linux symlink not working

I have been trying to do symlink but It does not work. This is all it gives me after I do the command ls -s /mnt/01A3D80750CDAFF9/Steam ~/.PlayOnLinux/wineprefix/Steam/ dimitri@dimitri-desktop:~$ ls ...
2
votes
2answers
16 views

How to configure pam to use with two different passwords?

Goal: I want to configure pam to use regular user password (pam_unix.so) and extra password. (with success only when I type both passwords correctly and deny (pam_deny.so) in case I type only one ...
0
votes
0answers
14 views

Can't access server using hostname from other PCs on the local network (OEL6)

I have an Oracle Linux 6.6 Server, namely oradb12c. I cannot ping, reach, connect this machine from local network using its hostname, but I can ping, reach etc it from local network using its ip ...
0
votes
0answers
6 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 ...
-1
votes
0answers
10 views

Can't send email with Postfix SMTP

I've setup a postfix server with dovecot and mysql. The server accepts emails from my gmail account and I can retrieve them with IMAP desktop client but I can't send emails. /var/log/mail.log Mar ...
0
votes
0answers
8 views

How to extend your monitor to a new X display

The setup is the following: My university provides monitors for groupwork that allow sharing your desktop via x11vnc -connect <address_of_the_monitor>. However, the desktop is then displayed ...
0
votes
3answers
42 views

du -sh : I don't get why these two results are different

I need to know the size of a folder and some of its sub folders. So I'm trying to use the du command. I cd into the right directory and then try (in bash) : [xxx@yyy TEST]$ du -sh . 4.1G . ...
2
votes
1answer
10 views

Cycling through files by filename in Midnight Commander

Sorry if I should have posted this as a feature request to mc developers somewhere. This is such a common and useful functionality I assumed it ought to be there, yet I can't find it. What I want is ...
0
votes
0answers
9 views

Can't resolve domain hosted on same server [migrated]

I have a dedicated server running Proxmox and a VM inside Proxmox running Debian 7. As I only have one IP, I'm using iptables to forward ports to the VM. The iptable rule looks like so: -A ...
0
votes
0answers
15 views

MySQL installed on debian (raspbian), is running in background, but “mysql: command not found”

I have a linux server running at home on a Banana Pi (very similar to a Raspberry Pi) with a few small websites and databases. Specifically; $ cat /etc/*-release PRETTY_NAME="Raspbian GNU/Linux 7 ...
-1
votes
0answers
24 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 ...
0
votes
0answers
6 views

OpenGL32 error with Wine/PlayOnLinux [Kali Linux]

Whenever I try to to run PlayOnLinux or issue a wine hl.exe -game cstrike command for playing Counter-Strike (1.6) I get the following error on my Kali Installation: A very similar error comes up ...
0
votes
0answers
19 views

use bluetooth headset with raspberry pi (raspbian)

yesterday i spent almost the entire day trying to get something working i expected to be straight forward: getting a bluetooth headset working with linux. I know that there is bluez as the linux ...
1
vote
1answer
15 views

How to match parameter and replace the value after “=” separator

the perl one liner command to replace Value in file is simple: perl -i 's/oldval/newval/g' file.txt but what should be the perl one liner syntax in case we want to replace the value on specific ...
0
votes
0answers
12 views

Printing colorful syntax highlighting to paper

I want to print out some code on paper including syntax highlighting. After some research, I found out, that I could do this in the command line with pygments and enscript, but don't know how to ...
0
votes
0answers
6 views

windows on linux KVM how attach a drive to windows VM

I use the following command to create my windows vm on redhat KVM. virt-install --os-variant=win2k8 --disk path=/var/tmp/virtio-win-0.1-100.iso,device=cdrom --network bridge=virbr1 --disk ...
0
votes
1answer
8 views

gnome-screenshot produces blank png files in mint 17

This produces a blank png file in mint 17, but works fine in ubuntu 12: gnome-screenshot Opening the resulting Screenshot file in the ~/Pictures directory shows completely blank image (all ...
0
votes
0answers
13 views

Unfortunately Blueetooth Share Stopped when setting AndroidX86 with Qemu

I am trying to run AdnroidX86 on Qemu Linux x64. Everything works, installation went fine but I keep getting the error abovre constantly which limits my interaction with the the virtual device because ...
2
votes
2answers
26 views

How can I get a list of all misspelled words in a text using Linux?

I have a text that has a number of misspelled words. I'd like to get a list of all those words, so for a text like this: This is just a normall line with some speling mistakes in it. It would ...
0
votes
0answers
6 views

How to enable bluetooth in Qemu? -Bt option throws and error

I am trying to enable bluetooth with Qemu when running an image (AndroidX86) but I am getting an error. According to the document I can just use the "-bt" switch but that is not recognized by the ...
0
votes
0answers
8 views

Is there a progress indicator for apt-get under Raspbian/Minibian? [on hold]

When packages are being downloaded via apt-get, there is a nice progress indicator at the bottom of the terminal. How come there is no progress indicator when it is selecting/unpacking/setting up the ...
0
votes
0answers
3 views

Using an IP address range with pppd over fibre dsl

I'm attempting to configure my router (a debian based linux system) to use an IP address range provided by my broadband provider (BT in the UK). I've been allocated some IP addresses and provided ...
3
votes
1answer
36 views

Is it a bad idea to trust Google Drive with my KeePass database? [on hold]

I'm concerned about synchronization and the possibility of overwriting the wrong file. I recently got it set up to synchronize between my laptop (on both Linux and Windows) and my Android phone. ...