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
1answer
9 views

Show the encryption method used on a Zip file in Linux?

I’d like to see what encryption method was used on a Zip file on Linux in order to verify that my archive was encrypted correctly. How can I do this? See the following posts for reference: This ...
0
votes
0answers
15 views

Linux desktop died … how can I tell what caused it?

I just built a desktop from scratch with a ASRock z97/ac motherboard and I came in this morning to see that it was dead with a '00' on the motherboard. We had some thunder last night, but we I have my ...
0
votes
0answers
9 views

All systemd states

systemd's state is composed of 3 subcomponents (LOAD, ACTIVE, SUB); what are the different values that these subcomponents can take? I know LOAD can be "loaded", ACTIVE can be "failed", and SUB can be ...
0
votes
0answers
13 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 ...
0
votes
0answers
7 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
13 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
1answer
23 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
9 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 ...
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
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
0answers
11 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
22 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
26 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
16 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
5 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
24 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
7 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 ...
3
votes
3answers
182 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
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 ...
0
votes
1answer
16 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
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
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 ...
-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
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 ...
-1
votes
1answer
14 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
6 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
29 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
10 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
12 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
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
1answer
13 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
10 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
23 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
13 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
12 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
1answer
38 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
6 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
19 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
18 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
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 ...