01-17-2008
I assume OS are same both in your PC and laptop,since all executables are not platform independent it will through error if OS is different.
You have to copy the files in binary mode,since executable files are in binary format.Better 'ftp' the file in binary mode.
Regards
Dileep Pattayath
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am newbie in unix and just started learning it. I want to know what is the difference between an executable file and a file (say text file). How to create executable file? What is the extension for that? How to differentiate ? How does it get executed?
Thanks (1 Reply)
Discussion started by: Balaji
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How can we execute a Unix file (shell script), which had given "Execute" permission using
chmod +x file1
If i want to execute that file.
prompt>./file1
Hello
How can i make the file permission or something else. such that i can execute it using
prompt>file1
Hello
Note :... (9 Replies)
Discussion started by: anent
9 Replies
3. UNIX for Dummies Questions & Answers
hello Folks,
once we compile any C code on Linux, we run the code using "./a.out"..
but can we have an executable for every program so that we can run the code directly without compiling the code every time.
just run the executable and get the output!
Thanks! (7 Replies)
Discussion started by: compbug
7 Replies
4. Programming
I've created a c program and compiled it with gcc, in unix.
The file name is abc.c and it is run by typing the command ./abc
I have another program which creates a child process, and I need this abc program to run on that child process. I've tried execvp(), but it doesn't work.
How can I run... (2 Replies)
Discussion started by: sdsd
2 Replies
5. UNIX for Advanced & Expert Users
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
Discussion started by: alexcol
8 Replies
6. Shell Programming and Scripting
Hi,
I want to know that how can i read the content of a .exe file??
Thanks (1 Reply)
Discussion started by: ss_ss
1 Replies
7. Programming
Hi all,
I have modified a C file and executed it. While executing the executable file for that C file, it shows à is cannot be printed.
I have given isprint(à) to test it. When I copy the old executable file and execute it it shows it can be printed.
Then I retain the C code back and executed it... (1 Reply)
Discussion started by: sivakumar.rj
1 Replies
8. Shell Programming and Scripting
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies
9. Solaris
Hi
When i m trying the boot the system with Primary HDD (c1t0d0s0) -- its solaris 10
I m getting an error "file just loaded does not appear to be executable".....So will anyone share the steps to recover from this stage
I also tried to build the corrupted superblock from below command but... (0 Replies)
Discussion started by: taruntan
0 Replies
10. Solaris
Hi!
What are executable file formats in Solaris? Can someone please share it?
Thanks! (3 Replies)
Discussion started by: Klyde
3 Replies
LEARN ABOUT HPUX
getfilexsec
getfilexsec(1M) getfilexsec(1M)
NAME
getfilexsec - display security attributes of binary executable(s)
SYNOPSIS
filename...
DESCRIPTION
The command displays various extended security attributes associated with binary executable files. These attributes include retained priv-
ileges, permitted privileges, and compartment and security attribute flags. See privileges(5) and exec(2)
Options
The command supports the following options:
Displays the compartment name of the file(s).
Displays security attribute flags.
The only currently defined flag is the privilege start flag.
Displays the minimum permitted privileges.
Displays the maximum permitted privileges.
Displays the minimum retained privileges.
Displays the maximum retained privileges.
If no options are specified, all extended security attributes of the binary file(s) are displayed.
Operands
supports the following operand:
filename Binary executable file. All file names given as arguments must be binary executables. Files of other types (for example,
script executables, text files, and so on) are not permitted.
Security Restrictions
The user invoking this command must be able to open the directory in which the binary executable files are present.
RETURN VALUE
returns the following values:
Successful completion.
The attributes are displayed.
An error occurs.
An error can be caused by an invalid option or inadequate permissions to perform the operation.
EXAMPLES
Example 1: Display the maximum permitted privileges and privilege-aware flag of binary executable file
Sample output:
/web/java:
Flag: start_nil
PermittedMaxPrivileges: CMPTREAD, CMPTWRITE
SEE ALSO
setfilexsec(1M), exec(2), compartments(5), privileges(5).
getfilexsec(1M)