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
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
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
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
I'm trying to get a redirect the requests from an url like myApp.myDomain.com 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
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."
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
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
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
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
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?
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
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
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
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
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
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
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
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
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