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
17 views

Delay before the file transfer on Linux or Solaris

I would like to put delay before file transfer on Linux or Solaris. As far as i know scp commands has no delay option. scp file_name root@dest_ip:/dest_path So, how can i put delay (it can change ...
-1
votes
0answers
23 views

Bash - monitoring apache logs

The idea is not ban ips listed in ignoreip.txt but the script continues to ban the ips in ignoreip list. Someone help me fix this? In line 52: for IGNOREIP in cat $IGNOREIPS ; do #!/bin/bash # # ...
0
votes
2answers
15 views

How to download all file with name emp* using curl from a FTP site

How can I get all files downloaded from a FTP site directory with file name like emp*. Please suggest.
0
votes
1answer
59 views

Set up a home server with mini pc and linux

I want to have a linux (debian/ubuntu) home server, for my work/torrent/files access from my lan and wan. what I have now is a virtual pc (VBox) running on my desktop (windows), but I want a dedicate ...
0
votes
1answer
19 views

Do GUI and Terminal execution (of Back In Time/Grsync/other Linux apps) produce the same results?

I've opened Back In Time GUI and copied the whole rsync ... line from the last log into Terminal and executed it in Terminal. Question #1 is: if I were to do it the normal way (click 'Take snapshot' ...
0
votes
0answers
38 views

Linux message: Possible SYN flooding on port 25. Sending cookies

I have a Linux CentOS server online. At my console this message appeared: possible possible SYN flooding on port 25. Sending cookies. See SYN flood and SYN cookies. I have done an Apache JMeter ...
2
votes
0answers
66 views

“screen is terminating” for non-root

When I try to run screen as a non-root user I get: screen [screen is terminating] immediately, though it works fine for root ls -alh /usr/bin/screen -rwxr-sr-x 1 root screen 465K Jun 9 20:30 ...
1
vote
0answers
12 views

declare -A on RHEL 5

I am using an associative array on my RHEL 6 servers and I just tested the script on a RHEL 5 server and apparently -A is not supported for the declare command on RHEL 5: declare -A var -bash: ...
1
vote
0answers
29 views

sed, insert file before last line

The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test ...
0
votes
1answer
22 views

How can I check which ports are in use from the Linux command line? [duplicate]

I'm running a Node.JS application and need to figure out if something is using a certain port. How can I do this from the linux command line?
1
vote
1answer
54 views

Disable GUI on BeagleBone Black running Debian

The Debian image for the BeagleBone Black that they have on their website comes with a GUI by default. I'd like to completely disable the GUI, but in the simplest way possible. It is used as a ...
1
vote
1answer
101 views

How to get Alfa awus036nha to work with Kali Linux?

Im running Kali linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. Ive also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network ...
0
votes
2answers
58 views

RedHat Linux - ssh shows “connection refused” using one user and also root, but another user can connect

From server Y, user A tries to ssh to server X and gets Connection Refused. From server Y, user B tries to ssh to server X and is allowed through. From server Y, root tries to ssh and gets Connection ...
0
votes
0answers
12 views

iptables configuration on Windows Azure (CentOS 6.5) for endpoint load-balanced set

I created 2 VMs (CentOS6.5) on Windows Azure for Postgresql database and HA cluster, everything works fine except when I set iptables service on, the endpoint load-balanced set is down. for security ...
1
vote
0answers
19 views

partitioning and subvol strategy with btrfs

I'm new to btrfs and I'd like some advice on partitioning and subvolume strategy. The system is a light-duty web server, and assume it only has a single disk. With ext filesystems, I've always ...
0
votes
0answers
27 views

Dynamic/Static striping across BTRFS raid groups

I'm looking to set up a new storage server and would like to use BTRFS to protect against bit rot. Ideally, I would like a setup as a theoretical (btrfs) raid6 (both data and metadata) for every group ...
0
votes
0answers
17 views

Debian ARM and Brother DCP195C with CUPS

I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. ...
1
vote
1answer
23 views

Create folders alphabetically

How can I create every folder (A-Z) in Alphabet with the help of a shell script in Linux? I want to have the following folder structure (for illustration): /mnt/ext_hdd/A /mnt/ext_hdd/B ...
-1
votes
0answers
19 views

Linux healthy number of major page faults

I have a Solr process which has mapped 100 GB into virtual memory. When I run a load test on the query side, I read from /proc/<pid>/stat that the process has between 200 and 500 page faults per ...
0
votes
1answer
27 views

Unable to start bash script with shell_exec

I've been googling and trying to solve this problem with my php script for a few days now and I'm hoping someone here can see the problem I'm missing in getting my php script to kick off my bash ...
0
votes
1answer
39 views

How can I be sure that I've plugged a device into a USB 3 port?

I have a number of USB ports on my computer, some USB 2 and some USB 3. I want to plug a device into a USB 3 port. Unfortunately, they're all black so I can't use the usual "USB 3.0 ports are blue" ...
0
votes
0answers
20 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
0
votes
1answer
33 views

Trouble installing Burrows-Wheeler Aligner (Linux)

Please bear with me, I'm just getting into using both virtual machines and linux. I'm having trouble installing BWA (link) on my linux virtual machine. I've tried several methods, the most complete ...
0
votes
1answer
38 views

Can I set Tx power too high?

I have a high power WiFi card (AWUS036NH) which is capable of tx powers as high as 33 dB. Recently I've, ehm, accidentally, changed the corresponding regulatory domain to allow up to 40 dB. Now ...
0
votes
1answer
21 views

Is there a way to catch all invokations of hardlink creation and replace them with symbolic links?

Assume I have a program or build script (consider it a blackbox) which is creating hardlinks and run on Linux (Debian 7.4). If I want to experiment and find out whether the program would work with ...
0
votes
0answers
42 views

ssh works on IP get “ssh_exchange_identification: Connection closed by remote host” on FQDN

I have a new raspberry pi box running at my home. I decided that I will use it to access it by ssh from the web. I setup the NAT in the Router and everything else, from my Mac Book within the internal ...
0
votes
1answer
20 views

Setting include paths in LSF-bsub

I am running a big job on a HPC. But the installed programs for the job are old versions and I have the new versions in my home directory. I can log in to any node, export the path to the new versions ...
0
votes
1answer
45 views

How to spoof the MAC on a wifi, Linux Mint 17, with NM?

I can't find a reliable way to spoof my mac. If I use the "clone MAC address" on network manager (I use Linux Mint 17, Cinnamon), I can't connect to my wifi. I tried everything, unless I remove the ...
0
votes
1answer
16 views

Backing up recursively is not copying directories

I have the following line in a script to backup and it is not recursively copying all the directories, it gets the files but just lumps them all together. Can anyone tell me what is wrong with it? ...
0
votes
0answers
13 views

Are re-combined BTRFS incrementals identical to the original?

I have several systems running btrfs, and I'd like to use the btrfs subvolume send/receive features as a backup solution. I want to send daily incrementals to remote as efficiently as possible. That ...
1
vote
3answers
43 views

Backup a programming directory

I have a directory with many compiled C programs that I would like to back up. Right now they are named program.out but I would like to change this to just program. Would it still be possible to ...
0
votes
1answer
29 views

Slow LAN connection on one machine but not another

I am using the same ethernet cable on two different machines and getting two incredibly different results. The following tests were done on a Windows 7 desktop and a Linux laptop. On my laptop, ...
0
votes
1answer
11 views

Software to provide loopback at remote endpoint, and client software to test performance

NOTE: I'm not looking at using the lo loopback network interface. We're developing an embedded device that has its own internal Ethernet network, and a second network that is exposed to the outside ...
1
vote
1answer
28 views

Bash script - Trying get abuse email using whois command

How can I get only e-mail address from output? $ whois $IP | grep @ | head -1 notify: albert@xxx.sig.xxx.tw
0
votes
1answer
33 views

Can I restore a Unix server by copypasting system directories from a backup?

I messed up a Ubuntu server with lots of installed binaries, settings, etc. I'm going to have to reinstall Ubuntu, but I have a complete backup, hidden files and all, though not bootable. I'm hoping ...
0
votes
1answer
35 views

Grub Rescue in Windows8 -Ubuntu Dual Boot

I deleted 2 partitions on my hard disk and now I am unable to boot my pc. I searched and found that it is possible to boot without a CD, but the method is not working for me because I can't find the ...
0
votes
0answers
11 views

How can I make the run command prompt use my login environment?

I am running a new installation of Linux Mint and am wondering how I can make it so the Alt+F2 run command uses my login environment? I really just want it to use my PATH in order to be able to run ...
2
votes
1answer
31 views

Mounting disk(s) from RAID 1 array for data recovery

I'm having some problems with a Debian 7.5 stable (Wheezy) server. It is currently running at Rescue Mode. It has a 2 x 2000 GB HDD running in a RAID 1 array. My immediate priority is to be able to ...
0
votes
0answers
17 views

fuse + encfs, can mount but cannot unmount with fusermount

I created two directories in home, and mounted them with default configurations with encfs. That worked well enough, the file system is mounted and encrypted fine. The odd part now is that I cannot ...
-1
votes
0answers
27 views

Why Ii obtain this error when I try to compile and install a software on Ubuntu 14.04?

I am not yet a Linux guy and I am going crazy trying to install a software compiling it on Ubuntu 14.04. This are the only provided instruction to install it: Debian First, make sure that ...
0
votes
0answers
31 views

Batch replace non-ASCII characters in filenames

I'm looking for a shell script that will recursively replace non-ASCI characters with underscore or just remove them. The issue is that a drive with files, created on Linux, has to be used on ...
1
vote
0answers
16 views

Is there a way to use a “hardware fingerprint” to automatically mount an eCryptFS directory on boot?

I would like to have an eCryptfs directory "securely" automatically mounted on boot without logging in. My scenario is this: I have an embedded ArchLinux server (ARM-based) that uses a removable ...
2
votes
0answers
28 views

Stuck on GRUB command prompt after regular kernel update

I am running Debian Wheezy. Update Manager suggest to install kernel update. After update, I reboot system but instead of listing all the kernels (bootloader), it gave me a GRUB command prompt: ...
0
votes
1answer
32 views

Thinkad w540 docking station and Linux Mint

I have got Lenovo Thinkpad w540 and running Mint 16. When I dock the laptop into the docking station, everything freezes. I have to undock and wait until the login window is loaded. How should I go ...
-1
votes
0answers
14 views

Unable to run linux Angstrom on Beagle Board xM rev c

I'm trying to install Angstrom on my beagle board xM rev c, I followed a tutorial that i found on this site. But when i try to boot for the first time, i get the following lines : Timeout reached ...
0
votes
1answer
35 views

How can I delete the oldest directory in a directory?

I am writing a backup programm, and I need to execute a bash command to delete the oldest directory in a specific directory. I have found this command to print the oldest directory: find -type f ...
0
votes
1answer
27 views

Bash script analyse apache log

I need help with this script This script analyses apache_access.log through a filter.txt, if exist the term in filter the script will do something. My problem i think is in the first command "for", I ...
2
votes
0answers
12 views

How to use DVD+RW (UDF) both in windows and linux?

I have dvd+rw disk. I would like to create UDF file system on it to use with windows 7 (and newer) and gentoo both. How must I prepare media and what commands should use to mount it in linux? What I ...
2
votes
1answer
21 views

Can't get virtualbox VM to start on different host machine

I recently downloaded a VPS server image and got it working on my mac under virtualbox. However, I've now copied the ova export to my linux server and I can't seem to get it to boot on that - I keep ...
1
vote
0answers
17 views

Documentation: server diary [closed]

I would like to log what was changed on server and share it with my colleagues who should be also able to add their changes. We should be able to add manually comments and we would like to store ...