I have a file cleanlogs_imgp01_files which has the contents as follows,
And when i execute this, I get the following output.
But the /opt/elf/logs have all permissions. The log files resides inside the directory also has execute permission.
Can anyone explain why this error is occurring?
Note - Only cold_log's are present only in the Logs directory, so for other logs not found cannot be looked in
Moderator's Comments:
Please use CODE TAGS and a descriptive subject for your threads
Hi,
I want to use the "SU" command in script it is asking me to enter the password manually.
pleas the say the syntax of su command in single line that includes username/password. :) (3 Replies)
crw-rw-rw- 1 root root 1, 5 May 6 1998 /dev/zero
brw----rw- 1 root floppy 2, 28 May 6 1998 /dev/fd0H1440
In the above permission what is above C and B indicates?
Thanks (1 Reply)
Hi,
I am creating two shell scripts for Database backup and the output has to be routed to nohup.out file.
We will also be running the scripts in the background as
nohup.out <script_name> &
Do I manually need to create a nohup.out file in the directory from where the scripts are going... (1 Reply)
Hi, I have a file which contains below info :
$ cat test_file
kenny
denny
kite
I want to get all th file names which starts with k. Hence i used below command but the result was not up to the mark :
$ grep 'k*' test_file
kenny
denny
kite
Can someone please explain me why this is... (1 Reply)
:confused:
Hi All,
i am new to unix....so i am not sure whether i am asking the related question with our forum..
My question .....Can anyone explain me about the CGI script
is it something related to Unix or Linux or some other language.
Thanks in advance
Sha (1 Reply)
I just now read the doc in https://www.unix.com/tips-tutorials/35535-understanding-unix-timekeeping.html
Need clarification that half of the files in any directory is shown in below pattern in which time stamp pattern is highlighted
And half of the files are shown in different pattern... (2 Replies)
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
Hi All,
I am using Korn Shell HP UNIX and i am writing my scripts with filename extension as ksh or sh ..
I want to know what is the difference if i am giving ksh and sh
Other thing when we execute the shell script either we make it as executable and run directly else we give '.' or 'sh'... (2 Replies)