Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

0
votes
2answers
338 views

Unable to SCP to another IP

I am attempting to scp some files from one IP address to another. I entered the command: $ scp file baileyd@*IP*:/home/baileyd/doc and got the response: ssh: connect to host *IP* port 22: No route to ...
0
votes
2answers
63 views

Bash apt-get updater script via desktop laucher

I have a basic apt-get updater script that I am able to launch as root on GNOME3 via the main menu (alacarte). I'd like to be able to launch this script by double clicking via the desktop while signed ...
0
votes
2answers
1k views

How to compare two tables and find the difference between in Linux using shell script?

I have to compare two MySql database data, I want to compare two MySql schema and find out the difference between both schema. I have created two variables Old_Release_DB and New_Release_DB. In ...
0
votes
2answers
49 views

Replacing string in HTML with value from lookup file

Situation: I have a source HTML file, with some values which must be completed with data from another file. Value that must be enriched is between a unique tag. <Uniquetag>Mystring1</...
0
votes
2answers
243 views

Binding Timestamp with Hexdump?

I am running a script which is given below, sudo hexdump -v -e '1/1 "%02x\n"' /dev/ttyUSB0 | Many Pipes | gawk '{ print strftime(":: %s"), $0 }' Here the data is being hex dumped with timestamp ...
0
votes
2answers
118 views

Centralized system information

Does anyone know of a software capable of keeping track of Linux/UNIX systems configurations centralized on a server? Possibly with a web GUI and history capabilities? I am looking for something that ...
0
votes
2answers
149 views

python virtual environment

I have to install python package locally/globally on a machine using pip, so for I do not want to install pip on local machine. I can successfully create a new virtual environment using easy_install ...
0
votes
2answers
151 views

No WiFi on my laptop

I am using linux mint rosa. Wireless is Intel AC 8260 WiFi+bluetooth Intel dont appear to have any linux drivers for this module only all flavours of windows. Can I get this module working?
0
votes
2answers
497 views

Ubuntu - Uninstall preinstalled software

I have an Ubuntu derived Distro and I don't need most of the preinstalled programs. Not everything is listed within the Software Center, for example a Photo-Viewer and a Music Player. I deinstalled ...
0
votes
2answers
383 views

Automatic block threshold ips on linux server

What is recommended way to auto temporary block the IP addresses that have excessive hits on my Linux Server? Let's say I have IP addresses that have 6154 hits per day and I want to auto block such ...
0
votes
2answers
221 views

Linux: console blanks to white

This problem happens on a laptop with AMD e-350 APU and built-in radeon HD 6310 graphics. It runs Slackware64 version 14.0. On the console (VTs), KMS is used with the radeon driver. The problem ...
0
votes
2answers
75 views

Allow null password for file transfer from Sunsolaris machine to linux mchine?

I m trying to pull a file from a Solaris server to my Linux server and I did it successfully by using scp.I want to run this below command as a cronjob, How can I save password for this automation ...
0
votes
2answers
1k views

Errno 5 Input/output error when running yum check-update

I tried to update a server over SSH, but when I ran yum check-update I got an error: [error 5] Input/output error I think this means the RPM libraries may be damaged or corrupt, but I'm not sure ...
0
votes
2answers
264 views

High Load Average:Red Hat Linux: 2.6.32-504.16.2.el6.x86_64: VMware Platform

I virtual machine running red hat Linux and most of the time we see high load average on the machine causing interruption of services. 04:24:08 up 248 days, 11:14, 3 users, load average: 142.04, 79....
0
votes
2answers
236 views

x server radeon with multiple screens

I've a radeon r9 270x with four outputs, two DVI, one HDMI and one DisplayPort output. I'd like to configure the X server such that it has two screens, from a user's point of view it should provide ...
0
votes
2answers
56 views

What's that tool for capturing manual changes to a Linux system?

Help me beat my amnesia! Many moons ago I've used a tool that allowed me to capture manual (i.e. not done using Chef or Puppet) changes to a Linux system, store the information as a file and allow the ...
0
votes
2answers
38 views

Network Configration on Virtual machine

I am creating a Linux environment for learning purpose. I just installed ubuntu for base OS, and I installed centos(minimal) in Virtual box. My goal is to access the centos from ubuntu by Putty. ...
0
votes
2answers
2k views

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux a2plcpnl0360.prod....
0
votes
2answers
25 views

Access a Windows 2008 server HDD from Centos 6.7

One of my co-workers has a hard drive with Windows 2008 server that does not boot all and we need to access certain files in the OS so then it can boot properly. Does anyone know how can I access ...
0
votes
2answers
90 views

How can I add a while loop in this script to run only the case statement again?

this is a script I'm working on for my Linux class. I would like to add a while loop to rerun the case statement =. any help will be greatly appreciated. Here is my script #!/bin/bash DATE=$(date -d ...
0
votes
2answers
52 views

User-dependent packages/files in /lib

I have setup a 2-seat computer. I start one X11 server using the computer's onboard graphics card (intel) and another in the dedicated one (nvidia). Everything runs fine, except opengl. Currently, ...
0
votes
2answers
92 views

Debian : 2 Nic 2 different networks switches - kernel sees a bad network

Hello Here is the situation : - VMplayer with 2 physical NICs (network interface cards) on the Windows host - VM Debian 64bits - On VM settings: both NICs are configured to replicate on the physical ...
0
votes
2answers
307 views

RDP on Linux system

I want to know more about how Remote Desktop Protocol works on Linux system. Does RDP client on Linux (rdesktop, FreeRDP, etc) using same API as Windows remote desktop?
0
votes
2answers
73 views

Computer froze, now no OS will start

I was happily watching a TV show episode and 5 minutes later I am with a fried computer. I was using elementaryOS. I am going step by step with what just happened: I was using VLC when suddently the ...
0
votes
2answers
105 views

How to mount a separate drive as /home

I recently installed Manjaro Linux, an Arch based system. I didn't specify my drive /dev/sda6 as my /home in the setup. So now I have a /home in my / drive. How can I mount my /dev/sda6 as my /home? ...
0
votes
2answers
92 views

Running a Linux distro on a VM on a USB drive

I apologize if this isn't quite the right place to pose this question, but I couldn't find a more appropriate stackexchange site to ask this question. My goal is to have my USB drive loaded with a ...
0
votes
2answers
101 views

tomcat startup script

Could someone please tell me what does the below code implies ? NAME=`basename $0` unset ISBOOT if [ ${NAME:0:1} = "S" -o ${NAME:0:1} = "K" ] then NAME=${NAME:3} ISBOOT=1 fi This is ...
0
votes
2answers
7k views

Find command to check only for the last 10 minutes and not the whole folder

I have an nvr system that recording video surveillance into a file server (Debian). I made a Nagios plugin to check if the NVR system is recording correctly and send me a notification when it stops ...
0
votes
2answers
632 views

Debian Linux root disk getting full, need to transfer /var folder to another disk

One of the disks got out of space, however other disk is nearly empty. Need suggestions how to transfer biggest folder(/var) to the other disk and mount at /var. For now /var folder was in / partition....
0
votes
2answers
106 views

Problem with data comparison in if loop

I have 2 variables in bash. Using test i found out that one of them is integer and other one is string. I want to compare them and see if they are equal. I tried the following options. if [ "$a" -eq "...
0
votes
2answers
682 views

How can I change Ubuntu server IP Address to the web address?

How can I change Ubuntu server IP Address to the web address? For example, the address that I need to access on the browser is 192.168.x.xxx. How can I change to dev.robi.local? Thanks!
0
votes
2answers
729 views

Why is my dd slow when the blocksize is small?

According to articles on the web, mount with nobarrier will speed the disk up: Write small blocks of data to img (with barrier): SLOW # dd if=/dev/zero of=xfs.img bs=1024 count=20000 # mkfs.xfs xfs....
0
votes
2answers
145 views

Partition's file system, VFS and root file system

It's clear to me regarding the partition's file system and VFS but not for the root file system. Let's say I have a disk with 3 partitions which are swap, installation and home. Each partition ...
0
votes
2answers
290 views

Terminal emulator for Debian Xfce that will accept $TERM=linux, just like login console tty uses?

I recently discovered that if I log in to my Debian system without lightDM, just using the commandline prompt, and then instead of typing "startx" straight away actually use the commandline, the ...
0
votes
2answers
314 views

Are there any drawbacks/caveats to changing process priority on linux?

I'm writing a program launcher that uses nice to launch X applications with a higher than usual priority and while there's plenty of guides to using nice/renice there's not much discussion about best ...
0
votes
2answers
218 views

How to forward firefox graphics from remote to local system?

I have installed CentOS7 in virtualbox through vagrant. Both guest and host operating system is CentOS7. Guest operating system is minimum installation of centos7 with no graphics. On both system I ...
0
votes
2answers
66 views

Logging service

I have written java application that runs on several hundred Linux computers. Program creates log file using log4j logger. To make development better I need to collect log files from these systems and ...
0
votes
2answers
502 views

Possible fix?: ICEauthority Error With a Systemically limited File Permission Issue

First off, I would like to apologize ahead of time for such a completely absurd accident to happen to my computer. Essentially I wanted to change my Cinnamon-mint theme on linux. But I noticed that ...
0
votes
2answers
119 views

Cloning root filesystem of a virtualbox partition

I have a test virtualbox partition running CentOS 7. There are many configurations on this particular partition. Some particular configurations, I have forgotten. I need to transfer this virtualbox ...
0
votes
2answers
116 views

Installing new WD green hdd

I've purchased a new Western Digital Green Power 1TB 3.5 inch internal hard drive on eBay but I can't get any of my desktops to recognise it. Model number WD 10EURX. I'm using Linux Mint 17 Mate and ...
0
votes
2answers
863 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
0
votes
2answers
649 views

SD-Card doesn't work anymore

I have a SD-Card and it doesn't work anymore. If I enter dmesg, this console will show this: [ 646.467407] mmc0: new SD card at address d555 [ 646.468578] mmcblk0: mmc0:d555 SD032 30.6 MiB [ 646....
0
votes
2answers
168 views

makeing a script to change Java SDK

I actually have the script running, but I think it's not very efficient and the only way to get it to take is to run it as "source change-java.sh" Is there a way to get it to not have to output to a ...
0
votes
2answers
293 views

Analyse high load root cause

This is a cents 5.7 32bit VM running inside a vmware 5.5. host. I see high values of load average with low CPU usage. The VM has 4 vCPU’s and load sometimes reach 20. When I run vmstat I see high ...
0
votes
2answers
120 views

Unable to search a file location

i am unable to locate files or directories while executing below commands. getting below error: $ locate httpd locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
0
votes
2answers
136 views

selectively moving partially matched files to different directories

I am working in a Linux server where a parent directory has 100s of partially numbered files, e.g GGG12345_abb.txt GGG12346_abc.txt GGG12347_cbx.txt . . GGG19045_jha.txt each of which is ...
0
votes
2answers
70 views

output in iptables

I have added the rule to iptables file, however the command does not show it. $ sudo less /etc/sysconfig/iptables Generated by iptables-save v1.4.7 on Fri Oct 24 13:28:48 2014 *filter :INPUT ...
0
votes
2answers
657 views

M17: Trying to mount Windows 10 .iso onto partition via terminal, getting “block device ? is write-protected, mounting read-only”. Can I get a help?"

I have Linux Mint 17.1 and am trying to dual boot Windows 10 Technical Preview OR install it on my other hard drive. Extra easy damage-control for you guys- I do not care if I lose any data, as long ...
0
votes
2answers
322 views

Untar and gzip from multiple sub directories

I have a directory which consists of multiple sub-directories. Each subdirectory has a tar.gz file which on untar gives two files namely R1.fastq and R2.fastq. I want to untar the tar file and ...
0
votes
2answers
82 views

is there a way for solaris system to get every single piece of info of disks?

the project currently i am working on require me that fetch all info installed in the system, like total capacity, form factor, ssd or hdd, rotational speed, interface type, etc. i searched a lot and ...