Visit Our UNIX and Linux User Community

Full Discussion: Executing a Shell Script
Top Forums UNIX for Dummies Questions & Answers Executing a Shell Script Post 302085455 by slayer666 on Thursday 17th of August 2006 10:29:05 AM
Old 08-17-2006
take it this way

000 = 0 non
001 = 1 read
010 = 2 write
011 = 3 read 'n write
100 = 4 execute
101 = 5 read 'n execute
110 = 6 write 'n execute
111 = 7 read write 'n execute

chmod <user #><group #><others #> <filename>
Test Your Knowledge in Computers #836
Difficulty: Medium
SOAP is a data serialization specification.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shell script is not executing

Hi, I am trying to execute the below shell script: script name(ss1). ss1 was given permission - 744 before executing. name: ss1 #ss1 #usage:ss1 ls who pwd :wq I tried to execute $ss1 (Enter) Its not executing.... It says that ss1 is not found: echo $SHELL. The o/put i got is... (5 Replies)
Discussion started by: dreams5617
5 Replies

2. UNIX for Advanced & Expert Users

Executing a shell script from windows;script present in unix

I need to execute a shell script kept in unix machine from windows. User id, password area available. For eg. There's a shell script wich moves all the logs kept in my home directory to a directory named LOGS. Now i need to get this done through windows; either using a batch file, or java... (4 Replies)
Discussion started by: rajneesh_kapoor
4 Replies

3. Programming

Executing shell script from PLSQL

Hi All, I have a requirement to mv a file in unix from plsql procedure. for that i have created a java host procedure, a host_command, given all grants as per ORACLE-BASE - Oracle8i Shell Commands From PL/SQL but i am getting an error ""Process err :/bin/sh: mv Not Found"" kindly let me... (1 Reply)
Discussion started by: aryan_styles
1 Replies

4. Shell Programming and Scripting

Executing shell script files

Whats the difference between executing a file such as as: ./ as apposed to sh i've noticed that a simple while loop will not execute for the 2nd way of doing it, but will for the first. Also what do you guys all recom (6 Replies)
Discussion started by: linuxkid
6 Replies

5. Shell Programming and Scripting

Executing Procedure from shell script..

Hello, I created a sql file to create a Procedure, and it was successfully created. I created a sql file to execute the procedure, and it did without any errors, but i dont see the data been updated. The Execute procedure.sql script is: BEGIN set serveroutput on size 1000000 execute... (5 Replies)
Discussion started by: msrahman
5 Replies

6. Shell Programming and Scripting

Executing a shell script

LD_LIBRARY_PATH=~/tme-0.8/bus/multibus:~/tme-0.8/bus/sbus:~/tme-0.8/dist/softfloat/softfloat/bits32:~/tme-0.8/dist/softfloat/softfloat/bits64:~/tme-0.8/generic:~/tme-0.8/host/bsd:~/tme-0.8/host/gtk:~/tme-0.8/host/posix:~/tme-0.8/ic:~/tme-0.8/ic/ieee754:~/tme-0.8/ic/m68k:~/tme-0.8/ic/sparc:~/tme-0.8/... (1 Reply)
Discussion started by: lucky7456969
1 Replies

7. Shell Programming and Scripting

Executing a shell script using sh

Platform : Solaris 10, RHEL 5.4, OEL 6 I've noticed that some of my colleagues execute scripts by typing sh before the script name sh myscript.shI always execute a script by typing the script name and typing enter provided PATH variable has . (current directory) in it (and... (1 Reply)
Discussion started by: John K
1 Replies

8. Shell Programming and Scripting

Executing shell script from desktop

Hello All, Is there a way that I can have wrapper place in my desktop and when I run it, it connect with my server and do the action. If this can happen, Can I know how to get started Thanks (3 Replies)
Discussion started by: mirwasim
3 Replies

9. Shell Programming and Scripting

Why we use -f while executing any shell script?

Hi All, I wanted to know why we use the '-f' option while executing script. in my case... -f any_evts 02 2014 abcd = Scriptname -f = dont know any_evts = Some file or string 02= month 2014 = year So in above pleas ehelp to understand here -f and other arguement like... (1 Reply)
Discussion started by: ajju
1 Replies

10. Shell Programming and Scripting

Error while executing the shell script

Hi Gurus, The following script fails with the error 'command not found' while trying to execute. As the error indicates, the script fails at ROW#30 where the EOF is defined for SQL statement. It appears that the script is trying execute the lines in the SQL output written to ta spool file.... (7 Replies)
Discussion started by: svajhala
7 Replies
Types(3)							    globus xio								  Types(3)

Types - Defines #define GLOBUS_XIO_FILE_INVALID_HANDLE Enumerations enum globus_xio_file_flag_t { GLOBUS_XIO_FILE_CREAT = O_CREAT, GLOBUS_XIO_FILE_EXCL = O_EXCL, GLOBUS_XIO_FILE_RDONLY = O_RDONLY, GLOBUS_XIO_FILE_WRONLY = O_WRONLY, GLOBUS_XIO_FILE_RDWR = O_RDWR, GLOBUS_XIO_FILE_TRUNC = O_TRUNC, GLOBUS_XIO_FILE_APPEND = O_APPEND, GLOBUS_XIO_FILE_BINARY = 0, GLOBUS_XIO_FILE_TEXT = 0 } enum globus_xio_file_mode_t { GLOBUS_XIO_FILE_IRWXU = S_IRWXU, GLOBUS_XIO_FILE_IRUSR = S_IRUSR, GLOBUS_XIO_FILE_IWUSR = S_IWUSR, GLOBUS_XIO_FILE_IXUSR = S_IXUSR, GLOBUS_XIO_FILE_IRWXO = S_IRWXO, GLOBUS_XIO_FILE_IROTH = S_IROTH, GLOBUS_XIO_FILE_IWOTH = S_IWOTH, GLOBUS_XIO_FILE_IXOTH = S_IXOTH, GLOBUS_XIO_FILE_IRWXG = S_IRWXG, GLOBUS_XIO_FILE_IRGRP = S_IRGRP, GLOBUS_XIO_FILE_IWGRP = S_IWGRP, GLOBUS_XIO_FILE_IXGRP = S_IXGRP } enum globus_xio_file_whence_t { GLOBUS_XIO_FILE_SEEK_SET = SEEK_SET, GLOBUS_XIO_FILE_SEEK_CUR = SEEK_CUR, GLOBUS_XIO_FILE_SEEK_END = SEEK_END } Define Documentation #define GLOBUS_XIO_FILE_INVALID_HANDLE Invalid handle type. See also: GLOBUS_XIO_FILE_SET_HANDLE Enumeration Type Documentation enum globus_xio_file_flag_t File driver open flags OR together all the flags you want. See also: GLOBUS_XIO_FILE_SET_FLAGS Enumerator: GLOBUS_XIO_FILE_CREAT Create a new file if it doesn't exist (default) GLOBUS_XIO_FILE_EXCL Fail if file already exists. GLOBUS_XIO_FILE_RDONLY Open for read only. GLOBUS_XIO_FILE_WRONLY Open for write only. GLOBUS_XIO_FILE_RDWR Open for reading and writing (default) GLOBUS_XIO_FILE_TRUNC Truncate file. See also: GLOBUS_XIO_FILE_SET_TRUNC_OFFSET GLOBUS_XIO_FILE_APPEND Open file for appending. GLOBUS_XIO_FILE_BINARY File is binary (default) GLOBUS_XIO_FILE_TEXT File is text. enum globus_xio_file_mode_t File driver create mode OR these modes together to get the mode you want. See also: GLOBUS_XIO_FILE_SET_MODE NOTE: for Win32, you only have a choice between read-only and read-write. If the chosen mode does not specify writability, the file will be read only Enumerator: GLOBUS_XIO_FILE_IRWXU User read, write, and execute. GLOBUS_XIO_FILE_IRUSR User read. GLOBUS_XIO_FILE_IWUSR User write. GLOBUS_XIO_FILE_IXUSR User execute. GLOBUS_XIO_FILE_IRWXO Others read, write, and execute. GLOBUS_XIO_FILE_IROTH Others read. GLOBUS_XIO_FILE_IWOTH Others write. GLOBUS_XIO_FILE_IXOTH Others execute. GLOBUS_XIO_FILE_IRWXG Group read, write, and execute. GLOBUS_XIO_FILE_IRGRP Group read. GLOBUS_XIO_FILE_IWGRP Group write. GLOBUS_XIO_FILE_IXGRP Group execute. enum globus_xio_file_whence_t File driver seek options. See also: GLOBUS_XIO_FILE_SEEK Enumerator: GLOBUS_XIO_FILE_SEEK_SET set the file pointer at the specified offset GLOBUS_XIO_FILE_SEEK_CUR set the file pointer at current position + offset GLOBUS_XIO_FILE_SEEK_END set the file pointer at size of file + offest Author Generated automatically by Doxygen for globus xio from the source code. Version 3.3 Mon Apr 30 2012 Types(3)

Featured Tech Videos

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