Search Results

Search: Posts Made By: bobby1015
1,624
Posted By migurus
If your system has cron facility add a line to...
If your system has cron facility add a line to your crontab:

30 5 1 * * diff file1 file2 > results

This means run diff on given fies at 5:30 AM on 1st of each month and place output into file...
1,639
Posted By PikK45
option 2 :D :D
option 2

:D :D
2,022
Posted By birei
Try: $ cat script.pl use warnings; use...
Try:

$ cat script.pl
use warnings;
use strict;

die qq[Usage: perl $0 <infile> \n] unless @ARGV == 1;

my $displacement = 1;

printf qq[%s\n], join qq[,], qw[Field Displacement Length];...
2,022
Posted By birei
Hi bobby1015, One way: $ cat infile ...
Hi bobby1015,

One way:

$ cat infile
00000
0000:0000
YYNNN
20120302
NAME:010:C
ACCOUNT NUM:015,00:N
DATE:008,00:D
#DATA#
ROGER 00000002346123720120302
MAX ...
4,002
Posted By bartus11
paste -d"|" file1 file2
paste -d"|" file1 file2
4,002
Posted By bartus11
paste -d"\0" file1 file2
paste -d"\0" file1 file2
24,418
Posted By methyl
Oracle have really messed up the Solaris manuals...
Oracle have really messed up the Solaris manuals site.

There are two versions of "du":
/usr/bin/du
/usr/xpg4/bin/du
According to the "man" pages for Solaris 10 they both accept "-hs" . If one...
1,264
Posted By robo
you can use find command to find the files by...
you can use find command to find the files by access or modification date
so use find command with -exec followed by
ls -ltr | grep 'Nov 16'
this may help you

not really sure with the...
4,004
Posted By Chubler_XL
uname -a is available on most *nix platforms and...
uname -a is available on most *nix platforms and gives some info on system type.
You could also try cat /etc/*{release,version}, or check the contents of /etc/motd.
2,896
Posted By BeefStu
The find command offers a lot options (files more...
The find command offers a lot options (files more than N days old, size
greater than N, different starting places). Depending what your needs
are you can use this in combination with the rm...
5,297
Posted By h@foorsa.biz
Just issue the command $ksh
Just issue the command
$ksh
5,297
Posted By ahamed101
[root@bt]-> bash [root@bt]-> echo $0 bash ...
[root@bt]-> bash
[root@bt]-> echo $0
bash
[root@bt]-> ksh
[root@bt]-> echo $0
ksh
[root@bt]-> sh
[root@bt]-> echo $0
sh
[root@bt]-> tcsh
root@bt:/tmp# echo $0
tcsh
root@bt:/tmp# csh...
5,297
Posted By vbe
by typing: ksh To be sure, you can always...
by typing: ksh
To be sure, you can always check with ps the pid returned by the command
echo $$
964
Posted By ahamed101
As per the requirement which states "I need only...
As per the requirement which states "I need only distinct/uniq values based on columns 4-7" (post #1), we have chosen coulumns from 4 to 7.

HTH
--ahamed
4,727
Posted By albator1932
It copies the file DEXD_110608.txt to the upper...
It copies the file DEXD_110608.txt to the upper level directory (..) under the name fpc5145 and the -p stands for --preserve=mode,ownership,timestamps :)
2,182
Posted By zaxxon
ls -la| grep "Aug 16"
ls -la| grep "Aug 16"
779
Posted By bartus11
This should work: sed -i 's/@//' file
This should work: sed -i 's/@//' file
4,624
Posted By aigles
#!/bin/ksh PROG=$0;export PROG ...
#!/bin/ksh
PROG=$0;export PROG
PATH=/usr/informent/dv03/bin:$PATH;export PATH
ORAUSER=`get_inf_env INFORM_DB_ACCOUNT`;export ORAUSER
BATCH_HOME=`get_inf_env INFORM_DATA_HOME`


Jean-Pierre.
4,624
Posted By bartus11
Well, this question should be directed to someone...
Well, this question should be directed to someone knowing of the application you are using. I would try setting it to the first directory and see what happens. If the script is not running properly,...
4,624
Posted By bartus11
Did you try this?find / -name "get_inf_env" -type...
Did you try this?find / -name "get_inf_env" -type fIt will take a while to finish but it will find it if it is present on your server.
4,624
Posted By bartus11
get_inf_env is not a variable, it is name of some...
get_inf_env is not a variable, it is name of some utility being executed. I think your task is to set PATH variable, so get_inf_env can be run in the script without specifying whole path. To do so...
35,906
Posted By william1872
ok, Looks like it didn't install then with...
ok,

Looks like it didn't install then with the setup, perhaps try re-running the setup this time choosing vi under setup, I haven't used Cygwin for some time myself.
15,703
Posted By yazu
echo $? If this script is a "right" script it...
echo $?
If this script is a "right" script it should return 0 with success and non-zero value with failure. (You can see return value - exit status - in $? variable, but you should check it...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 10:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy