• Why linux split program have weird behavior with large files >20GB? 2019-01-13

    I'm doing the next statement on my ubuntu: split --number=l/5 /pathToSource.csv /pathToOutputDirectory If i do a "ls" [email protected]:/pathToOutputDirectory> ls -la total 21467452 drwxr-xr-x 2 myUser group 4096 Jun 23 08:51 . drwxrwxrwx 4 m

    Tags: linux, split
  • Infinite loop issue when passing answers 2018-12-31

    I want to only pass the first answer to a function echo "y" | install and let the choice to the user to answer the next questions , but when i do that i get a infinite loop. --------------Solutions------------- When using pipes, the shell change

    Tags: shell, unix, linux, bash
  • Dominon KX232 (I). not able to use keyboard 2018-12-22

    I'm having an issue with my Dominon KX232 (I). I'm connected on port1 to my server via P2CIM-PS2. I'm getting video from server, but I'm unable to use keyboard or mouse. I tried connecting P2CIM-PS2 to a Debian Server or a Windows Server, but I get t

    Tags: hardware, linux, kvm
  • NAS cifs mount on linux 2018-12-15

    I'm using centos 6, I got a nas with basic file sharing on it. and I've mounted one folder on my centos. Now here is the weird part.. I can create files on it, and read existing files. but I cannot move files to that mounted dir, I cannot cp files fr

    Tags: linux, mount, cifs
  • Redirect hostname to specific path with Apache 2018-12-10

    I'm trying to get a redirect the requests from an url like to a specific file on the server like /var/www/html/myApp/index.php. I need the user to keep seeing the URL he used to get there. What's the best approach? .htaccess or per

    Tags: linux, apache, mod rewrite, redirect, .htaccess
  • Suppress windows cmd for system command in Perl 2018-12-09

    I am using a system command in Perl to execute java. I have formed an array @args that have different options to execute a jar file. Something like below: $args[0] = $rootpath."/jre/bin/java"; $args[1] = " -jar \"".$rootpath."

    Tags: windows, perl, linux
  • RPM to invoke browser post installation 2018-12-03

    I am creating an RPM installer for centos 6.5, After installation i want the RPM to invoke the browser and show the installation report. This installation report shows the details of how the installation went. Including errors and warnings that occur

    Tags: linux, rpm, rpmbuild, rpm spec, centos6.5
  • "$ make check" is returning only FAILED for each check 2018-11-25

    I downloaded a .tar of source code to build into my user directory in cygwin. I then issued the following commands from Cygwin using the bash shell: ./configure make make check The make check program then proceeds to tell me that everything it checks

    Tags: linux, cygwin, gnu make
  • Read output from ttyUSB0 2018-11-24

    After installing one relay board in respberry pi I tested with success some commands to open and close the relays but I found one problem. I do not receive the status of the eight relays or the status of single relay. How can I fix this? The permissi

    Tags: linux, bash, raspberry pi, raspbian
  • Error running bash script in supervisor 2018-11-18

    I have a bash script that makes some work supervising network stuff, it works great when I run it manually, but when I put it in supervisor the ifs and the whiles does not work, just stops before any of those programming sentences, echos, running cat

    Tags: shell, linux, bash, debian, supervisor
  • www-data user start session in dbus 2018-10-31

    Refering to this question I found out that the www-data user cannot write a session to the dbus under Ubuntu 14.04. How can I make the user be able to start such a session?

    Tags: linux, console, dbus, ubuntu 14.04
  • Configure httpd.conf to add new site on Apache Red Hat Linux

    Configure httpd.conf to add new site on Apache Red Hat Linux 2018-10-20

    I have linux server (Red Hat Enterprise Linux Server release 5.3 (Tikanga)) with apache installed. It is already used for browsing some documents. Now I would like to add a new Directory (with a html page), so whenever the directory is browsed it can

    Tags: linux, apache, httpd.conf
  • Installing OpenSSH on Ubuntu 14.04 2018-10-05

    I'm trying to install openssh in Ubuntu 14.04. I downloaded the tar.gz file, unpacked it, and ran ./config. I got this error message: \*** Can't find recent OpenSSL libcrypto (see config.log for details) *** I looked online, and it was suggested that

    Tags: linux, ubuntu, openssh, openssl
  • python urllib3 pip install error linux 2018-09-16

    I am trying to install urllib3 using pip and get the error posted at the bottom of this message. I have wrestled with the issue for a few days days trying many things I have found online now without success, so I am finally posting here. Unfortunatel

    Tags: linux, python 2.7, failed installation, pip, urllib3
  • Running Local Script On SSH Server 2018-09-12

    I'm using Linux to log into a server using ssh. Once I'm logged in, I would like to execute a local Python script which uses netcat to run some program on the remote machine (it is therefore required to be logged in to access it). Locally I can type

    Tags: linux, bash, ssh
  • is ubuntu still installing im just getting the wallpaper

    is ubuntu still installing im just getting the wallpaper 2018-08-25

    I'm using VirtualBox and I'm trying to install Ubuntu 32 bit and after I get past the part of clicking installing and the message saying it will use the following partitions to install and I hit continue but now so far all I'm getting is the wallpape

    Tags: linux, ubuntu, virtualbox
  • linux cron truncate large file 2018-08-16

    I have a large csv file that I need to reduce to the last 1000 lines through a cron job every day. Can anyone suggest how to accomplish this? What I have so far are two commands but do not know how to combine them For deleting lines from the begginin

    Tags: linux, bash, csv, cron
  • How to use a command from awk in the right way 2018-08-14

    I have the next command : awk -v M="$variable" -v B=$"version"-v R="Pass ok" -v K="1" 'BEGIN {FS=","; OFS=","} $1==M {$14=R} {$3=B} {$23=K} {print}' file1.csv > file2.csv and i dont know why i

    Tags: linux, bash, awk
  • How to get device name of usb storage device? 2018-07-19

    As we know, currently on Ubuntu or lots of other Linux distributions, after an usb storage device is inserted, a /dev/sdX device will be created and the partitions will be automatically mounted. How can I know what is the correct X for this usb stora

    Tags: storage, linux, usb, device
  • script doesn't start on boot with init 2018-05-27

    I have the following script #!/bin/sh # chkconfig: 345 99 01 # description: some startup script ### BEGIN INIT INFO # Provides: weblogic # Required-Start: $local_fs $network $remote_fs # Required-Stop: $local_fs $network $remote_fs # Default-Start: 2

    Tags: shell, linux, bash, init

Copyright (C), All Rights Reserved.

processed in 0.118 (s). 7 q(s)