Is there an command in windows to chmod a file to 666 so that when I mount a NAS on solaris, the user can read/write/remove the file from unix server?
Traditionally, we invoke ftp from unix to windows, get the file and remove it. With a NAS, can windows chmod the file 666 so that unix can edit... (2 Replies)
Can I find wether a particular file exist and size greater than zero in one line command.
similar to this
if &&
something in one if test .... e.g. if
1.) is it possible ? ... if yes how
2.) what would be the return type in case there is success or failure. I mean if both are... (4 Replies)
Hi,
I know how to use the test command ( ...) to find a single given name file.
However, I have a case in which I have a directory with one file and one sub-directory. I know that the file starts with "fub".
The command doesn't work if i call the file "fub*" as it doesn't understand I meant a... (2 Replies)
I have the following data stored in a file.
1 /home/file13 /home/file2
2 /home/file41 /home/file654
3 /home/file61 /home/file45
4 /home/file81 /home/file43
...
I want to print the first column provided the files represented by the second and third column exist.
How to do that? (3 Replies)
hi frnds,
please help ... what will happen with below command if destination path does not exist on the system....
find /var/adm/cft* -mtime +1 -exec mv {} /global/ \ in unix
its remove all my files from the system from soruce file ... how is it possbile (1 Reply)
Hello,
i want to script on sh to check from a path if the directory exist and isn't empty.
I explain:
path is : /aaa/bbb/ccc/ccc_name/ddd/
Where the cccc_name is in a list, so i think it's $1
My command
find -name /aaa/bbb/ccc/$1/ddd/ didn't work because my $1 is the same and not... (5 Replies)
Hello Everyone,
Coming again for your help to solve the below error:
In a script, i had created a temp table (Temp_table) and loaded the data in it using bcp command (performed successfully) and I wanted to move it to the preferred table (called Main_table) for further use. hence I have added... (7 Replies)