Search Results

Search: Posts Made By: udaykishore
1,931
Posted By udaykishore
for listing others directories , The Other...
for listing others directories ,
The Other user should create the directory with rwx--x--x permissions ,Enabling any user to list the directory contents.
x - Directory -listing permissions
x -...
8,373
Posted By udaykishore
test it by printing
For testing , U make one more entry in crontab to list those filenames which are modified morethan 5 days like this.

01 21 * * * find /export/app/datafeed/flus/archive -mtime +5 -print...
5,256
Posted By udaykishore
executing commands in child shell
I have to execute some commands after executing one command ( cleartool setview Tagname)
Problem is that I write commands in script like this.

echo "test1"
cleartool setview tagname
echo...
2,512
Posted By udaykishore
current_dir ='ps -o user|grep -v'USER'|uniq'...
current_dir ='ps -o user|grep -v'USER'|uniq' #this would print the user id "

v_name=`date +%m%d%y`

Assuming current_dir has username and v_name has date and time.

file name u should use
...
1,798
Posted By udaykishore
U have to use awk -f filename , if ur using shell interpreter
1 #!/bin/sh
2
3 awk '
4
5 {
6 if((index($1,"@") > 0))
7 {
8
9 i = index($1,"@");
10 printf("username is : %s\n",substr($1,1,i-1));
11 printf("site name is :...
33,540
Posted By udaykishore
u can use find (-mtime/-atime/-ctime) feature
U can use find command .
it has various options
-mtime 3 --to find files modified exactly 3days ago
-mtime +3 --to find files modified more than 3days
-mtime -3 --to find files modified within...
92,380
Posted By udaykishore
U can use egrep
To grep multiple words in file, u can use egrep.

/uday> egrep 'word1|word2|word3|word4' filename

Uday
7,957
Posted By udaykishore
use cat part* > filename
Normally in Unix u can join files by cat .

keep all parts of file in one directory and after splitting ur file parts name will be like xaa,xab,xac etc if u have not used any specific file name
...
1,704
Posted By udaykishore
U can use -level along with command
-level 0 --Current dirctory only
-level 1 --Current and sub directory
-level 2 --current,sub,sub-sub directory

Check Syntax of this using -level
3,955
Posted By udaykishore
Make Entry in .rhosts
In previous post ,I have written that make entry in .rlogin ,it is .rhosts file.
If U make entry in .rhosts file with IP address and username.
Remote Commands are allowed from <IPADDRESS> for...
21,965
Posted By udaykishore
Is it between Unix and Windows machines ?
Is it between Unix and Windows machines ?
12,816
Posted By udaykishore
u have to use rsh concept
using rsh , u can execute the commands on the Remote server.
check rsh syntax.
Using rsh u can execute the script file on Remote Server,U have to write the logic of doing unzipping and whetever in...
Forum: AIX 06-02-2006
22,504
Posted By udaykishore
I have faced this problem once in AIX for Oracle...
I have faced this problem once in AIX for Oracle user.
this options should be set while creating user itslef.
I think if u change now,it will not work.
U have to execute some scripts after...
3,955
Posted By udaykishore
u can use .rlogin concept
On the destination Server ,
if u make entry in the .rlogin file for corresponding Source Ipaddress and username .

<Source IP address> <Username>

when u do ftp from
<Source IP address> ...
2,825
Posted By udaykishore
'\n' can be used in Unix scripts also as in C
'\n' can be used in Unix scripts also like in C

I think
var=$var" "$eachList" \n"
works fine
17,448
Posted By udaykishore
U can use tar cf with zip option for better Compression
U can use tar cf with zip option for better Compression
12,739
Posted By udaykishore
Check the working directory
if test.sh don't have execute permissions
it will give error
ksh: test.sh: cannot execute
but u r getting error canno found.
U check current working directory by
pwd
then check where the...
2,598
Posted By udaykishore
U can Try with Hummingbird Exceed
U can Try with Hummingbird Exceed ,
we can configure it accordingly
180,073
Posted By udaykishore
Shell features Compare
Bourne Shell --Very old Shell,not that many Functionalities

C shell -- No VI Command line editing ,follow C rules.

Korn shell -- Have features of both Bourne and some of C, and has Powerful VI...
Showing results 1 to 19 of 19

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