Sponsored Content
Full Discussion: Unix File Access Right
Top Forums UNIX for Dummies Questions & Answers Unix File Access Right Post 302565850 by jessy83 on Wednesday 19th of October 2011 01:30:20 AM
Old 10-19-2011
Unix File Access Right

Hi ygemici,

Thanks for your explanation.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using Access on Unix

Hi everybody, my question is how to run an Access Database under Unix? I need to do that for a Web Application. Links or anything about this topic would be helpful!!! thanx luna (3 Replies)
Discussion started by: luna
3 Replies

2. UNIX for Dummies Questions & Answers

Need Someone With Access To Unix Terminal

Any chance someone could look up the Whois for www.weddingchannel.la and www.art.la at the following link: whois -h whois.afilias-grs.info domainname.la Thanks in advance!!! rdm (4 Replies)
Discussion started by: rdm
4 Replies

3. UNIX for Dummies Questions & Answers

how to share the unix file for other client 's access

Hi , I am new to the unix . And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example", what shall I do thanks :) (2 Replies)
Discussion started by: floopw
2 Replies

4. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

5. Shell Programming and Scripting

How do I access the create date from Windows after the file has been FTP'd to UNIX ?

I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation. At the end of each day, these log files are FTP'd to a directory on a UNIX box. When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Discussion started by: gavman99
2 Replies

6. Shell Programming and Scripting

file access in unix..please help

Hi im using solaris. In ma unix system i had a perl file called cleanup.pl which deleted all my files in my system.Is there a way to know when this file was accessed( rather executed ) and by which user ???? basically i wan to know a way to know which user had accessed( or run the particular perl... (1 Reply)
Discussion started by: Anuj8584
1 Replies

7. Programming

Unix File has 000 access when written

Good day! I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
2 Replies

8. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

9. Virtualization and Cloud Computing

Need to use UNIX to access a file from "the cloud"

Normally files are given to us via FTP and we use a program (DMX) to pull that file into our database. I have been told that we will be receiving a new file via "the cloud" and I need to prepare a method to access and otherwise process this file using UNIX/LINUX. I realize my request raises more... (1 Reply)
Discussion started by: craigwg
1 Replies
ARCH(1) 						    BSD General Commands Manual 						   ARCH(1)

NAME
arch -- print architecture type or run selected architecture of a universal binary SYNOPSIS
arch arch [-32] [-64] [[-arch_name | -arch arch_name]...] [-c] [-d envname]... [-e envname=value]... [-h] prog [args ...] DESCRIPTION
The arch command with no arguments, displays the machine's architecture type. The other use of the arch command it to run a selected architecture of a universal binary. A universal binary contains code that can run on different architectures. By default, the operating system will select the architecture that most closely matches the processor type. This means that an intel architecture is selected on intel processors and a powerpc architecture is selected on powerpc processors. A 64-bit architecture is preferred over a 32-bit architecture on a 64-bit processor, while only 32-bit architectures can run on a 32-bit processor. When the most natural architecture is unavailable, the operating system will try to pick another architecture. On 64-bit processors, a 32-bit architecture is tried. If this is also unavailable, the operating system on an intel processor will try running a 32-bit powerpc architecture. Otherwise, no architecture is run, and an error results. The arch command can be used to alter the operating system's normal selection order. The most common use is to select the 32-bit architec- ture on a 64-bit processor, even if a 64-bit architecture is available. The arch_name argument must be one of the currently supported architectures: i386 32-bit intel x86_64 64-bit intel Either prefix the architecture with a hyphen, or (for compatibility with other commands), use -arch followed by the architecture. If more than one architecture is specified, the operating system will try each one in order, skipping an architecture that is not supported on the current processor, or is unavailable in the universal binary. The other options are: -32 Add the native 32-bit architecture to the list of architectures. -64 Add the native 64-bit architecture to the list of architectures. -c Clears the environment that will be passed to the command to be run. -d envname Deletes the named environment variable from the environment that will be passed to the command to be run. -e envname=value Assigns the given value to the named environment variable in the environment that will be passed to the command to be run. Any existing environment variable with the same name will be replaced. -h Prints a usage message and exits. The prog argument is the command to run, followed by any arguments to pass to the command. It can be a full or partial path, while a lone name will be looked up in the user's command search path. If no architectures are specified on the command line, the arch command takes the basename of the prog argument and searches for the first property list file with that basename and the .plist suffix, in the archSettings sub-directory in each of the standard domains, in the fol- lowing order: ~/Library/archSettings User settings /Library/archSettings Local settings /Network/Library/archSettings Network settings /System/Library/archSettings System settings This property list contains the architecture order preferences, as well as the full path to the real executable. For examples of the prop- erty list format, look at the files in /System/Library/archSettings. Example On an intel processor: % perl -MConfig -e 'printf "%s ", $Config{byteorder}' 1234 shows the intel little endian byte order. Making links to the arch command When a link is made to arch command with a different name, that name is used to find the corresponding property list file. Thus, other com- mands can be wrapped so that they have custom architecture selection order. Because of some internal logic in the code, hard links to the arch command may not work quite right. It is best to avoid using hard links, and only use symbolic links to the arch command. Environment The environment variable ARCHPREFERENCE can be used to provide architecture order preferences. It is checked before looking for the corre- sponding property list file. The value of the environment variable ARCHPREFERENCE is composed of one or more specifiers, separated by semicolons. A specifier is made up of one, two or three fields, separated by colons. Architectures specified in order, are separated by commas and make up the last (mandatory) field. The first field, if specified, is a name of a program, which selects this specifier if that name matches the program name in ques- tion. If the name field is empty or there is no name field, the specifier matches any program name. Thus, ordering of specifiers is impor- tant, and the one with no name should be last. When the arch command is called directly, the prog name provides the path information to the executable (possibly via the command search path). When a name is specified in a ARCHPREFERENCE specifier, the path information can alternately be specified as a second field following the name. When the arch command is called indirectly via a link, this path information must be specified. If not specified as a second field in a specifier, the executable path will be looked up in the corresponding property list file. Example ARCHPREFERENCE Values i386,x86_64 A specifier that matches any name. foo:i386,x86_64 A specifier that matches the program named foo (the full executable path is in the foo.plist file). foo:/op/bin/boo:i386,x86_64 A specifier with all fields specified. baz:i386;x86_64 A specifier for baz and a second specifier that would match any other name. BUGS
Running the arch command on an interpreter script may not work if the interpreter is a link to the arch command, especially if a 64-bit architecture is specified (since the arch command is 2-way universal, 32-bit only). SEE ALSO
machine(1) Mac OS X July 8, 2010 Mac OS X
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy