10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
In our project we have several unix scripts that trigger different processes. These scripts write logs to a particular folder 'sesslogs', create output data files in a separate directory called 'datafiles' etc. Usually L1 support team re-run these scripts . We donot want L1 support team to have... (14 Replies)
Discussion started by: waavman
14 Replies
2. Red Hat
Hi All,
What is the use of execute permission for a folder.
I know "for execute a file(script file) we have to provide execute permission to that respective file".But what is the use to give execute permission to folder.Is it equal to read permission ?
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
3. Debian
Hello,
I need to install a program from a DVD. It uses a sh script called setup.
root@ragnok: head -2 /media/cdrom0/setup
#!/bin/sh
root@ragnok: ls -l /media/cdrom0/setup
-r-xr-xr-x 1 root root 4688 Nov 8 08:38 /media/cdrom0/setup
root@ragnok: /media/cdrom0/setup
bash:... (2 Replies)
Discussion started by: snorkack59
2 Replies
4. Shell Programming and Scripting
I'm new into unix.
My question: is possible to write a shell script which will ask for the
ORACLE_HOME, ORACLE_SID, USERNAME, PASSWORD to connect to Oracle db.
In generally we have to set the ORACLE_HOME in .profile file. And after putting the 'sqlplus' command it asks for the username &... (6 Replies)
Discussion started by: priya001
6 Replies
5. Shell Programming and Scripting
To perform a black box testing and get users' feedback, we are planning to deploy a script in a common location and ask users to execute the script. However we do not want them to have a look at the script until the testing is done. I know this is against the open source concept, but it will be for... (7 Replies)
Discussion started by: krishmaths
7 Replies
6. Shell Programming and Scripting
Hi all,
passwd <username> < /var/adm/passwd.txt
cat /var/adm/passwd.txt
abcd1234
abcd1234
when I run this from the script, it comes with:
New password:
It is not able to pick from the location /var/adm/passwd.txt.
thanks in advance. (6 Replies)
Discussion started by: solaix14
6 Replies
7. Shell Programming and Scripting
Hi,
I need to provide execute access to certain users and not to all users
For ex: if ther is a file /home/august/aug.sh.
and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies
8. Shell Programming and Scripting
This might be very silly question but i dont know y is it so...
i Have script
I have Given the permissions in the following manner...
-rwxrwx--x 1 root system 3 Jun 08 15:46 temp
I want no one to see what is present in that but should be able to execute it..
but when... (3 Replies)
Discussion started by: pbsrinivas
3 Replies
9. Shell Programming and Scripting
how can a script run without execute permissions.
when i run myscript as :
sh a.sh
it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)
Discussion started by: Raom
1 Replies
10. UNIX for Dummies Questions & Answers
I am logged in as root and am trying to execute a file called x_cleanup_equdata but keep getting the message
ksh: x_cleanup_equdataNEW: 0403-006 Execute permission denied.
I did FTP this file from another server using GET, would this make the difference?
I tried chmod 666 but still no luck. ... (2 Replies)
Discussion started by: markbeeson
2 Replies