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
7 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
11 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
18 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 ...
1
vote
1answer
14 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
3 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 ...
0
votes
2answers
18 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
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
11 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 ...
3
votes
3answers
172 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
10 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
13 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
16 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
11 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
7 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 [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
2answers
14 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
5 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
1answer
26 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
23 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. ...
1
vote
1answer
10 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
19 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
11 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
20 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
2answers
20 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 ...
0
votes
1answer
10 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
11 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
11 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
24 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
5 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
35 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
18 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
1answer
17 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
15 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
1answer
12 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
16 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
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 ...
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
16 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 ...