hello everybody, I've got strange problem with cut
I wrote script, there I have row:
... | cut -d" " -f3,4 >! out
cut recieves this data (I checked it with echo)
James James 033333333 0 0.00
but I recieve empty lines in out, can somebody explain why?
...
What is the delay load equivalent in unix based system.
I have a code foo.cpp, While compiling with gcc I link it to shared objects(totally three .so files are there.).Each of the .so file for different option.
./foo -v needs libversion.so
./foo -update needs libupdate.so
I need the symbol for those libraries should be resolved only a...
somebody knows what does this error mean?
Missing -. in google I found nothing about this
...
I know that FTP does not support transferring and retaining file date/time stamps
Wondering if anyone has any ideas/scripts (Shell/perl) that would retain a transfered file's timestamp after a put operation?
...
I'm running a CentOS 5.0 server with root access. The /var/www folder was originally set recursively with root as the owner and group. So I did a chgrp -R webdevs /var/www and a chmod -R g+rwx /var/www command to give all members of the webdevs group read/write access. These changes work as required for all preexisting files. However, ...
Hey, so I know there are somewhat similar questions on here, but I haven't been able to get a helpful answer (not that they're not helpful, just not for my specific question) on another thread.
Also, I'm not quite sure this isn't a SF question, but here goes:
I recently was working on a VPS that had php sans curl. I've tried working ar...
Hello,
I'm trying to make a Terminal Unix command with XCode, and I'm having a little trouble...
What I've been doing is creating a "Standard Tool" written in C in XCode, then copying the produced executable to Developer/Tools/.
What am I doing wrong?
Thanks for any help in advance.
...
REMOTE SERVER
remsh remoteserverhostname -l remoteusername find /tmp/a1/ | cpio -o > /tmp/paketr.cpio
LOCAL SERVER
rcp remoteserverhostname:/tmp/paketr.cpio /tmp/aaa
cpio -idmv < /tmp/paketr.cpio
i'am trying to get and create directory structure from remote server to local server
i can do this with following command list
but i wonder ...
i want to preserve file ownership when copying file with cpio on hp-ux
can you help me
i am running this command with non root user
...
I have a shell script, with a list of shell variables, which is executed before entering a programming environment.
I want to use a perl script to enter the programming environment:
system("environment_defaults.sh");
system("obe");
but I when I enter the environment the variables are not set.
...
Hi,
I want to merge lines such that the merged lines are aligned on the same boundary.
UNIX paste(1) does this nicely when lines all meet at the same tab boundary, but when lines
differ in size (in the file that lines are being merged into), the text comes out awkward.
Example of paste(1) that has the desired effect:
$ echo -e "a\nb\n...
I have an old customer list of 4,000 businesses. I want to determine if the phone numbers associated with each listing are still working (and therefore the business is probably still open).
I can put each number in whitepages.com and check them one by one... but want to automate the results. I have looked at their API and can't digest i...
Hi,
I am currently writing my own shell program. My current shell can just execute commands.
I want to go a step future and execute vi from this new shell. I am trying to understand the internals of how a vi editor works , but no good articles on net.
Any pointers or links would be helpful.
Thanks
...
I have an application with fairly high traffic (20K req/min) running on the JVM with a Jetty servlet container on Ubuntu. Below is my Jetty configuration:
10
20
2000
2
When I analyze the network traffic, I realize that sometimes it is taking long to establish TCP connections on the port that Jetty is runn...
Hi,
Is there an alternative to scp, to transfer a large file from one machine to another machine by opening parallel connections and also able to pause and resume the download.
Please don't transfer this to severfault.com. I am not a system administrator. I am a developer trying to transfer past database dumps between backup hosts and ...
I have a for loop to get the list of PID's and kill each PID. I want to display the entire line of PS output and write it to the /tmp/outfile . But from each line of PS output each field(PID,PPID,...) is written along with a new line in the /tmp/outfile. So if PS output has three lines as output i want to log these three lines into ...
Hiya,
I want to allow some trusted users to scp files into my server (to an specific user), but I do not want to give these users a home, neither ssh login.
I'm having problems to understand the correct settings of users/groups I have to create to allow this to happen.
I will put an example;
Having:
MyUser@MyServer
MyUser belongs t...
Appending can be done using tee command.
cat file | tee -a >> *
Is there a way to do a prepend/insertion?
Thanks.
...
I am attempting to install an application. During compilation it fails with the following error:
/usr/bin/ld: cannot find -lemu
I have installed the libemu library, and it now currently resides in /opt/libemu/. However, when I try and compile my application the library is not found. Is there any way to correct this?
EDIT: It also l...
I have a program which continually receives data from an external source and prints it to the terminal. I am now trying to create a GUI to display the received data. Is there some way for me to do this without changing the pre-existing code (that is the old code calls a print statement and what is printed gets displayed in the GUI)?
...