Sponsored Content
Full Discussion: File attributes ????
Top Forums UNIX for Beginners Questions & Answers File attributes ???? Post 303009836 by jim mcnamara on Wednesday 20th of December 2017 10:02:32 PM
Old 12-20-2017
I think the file system is hosed - and the directory permissions are history. GNU ls displays ? for unprintable characters in the locale. I believe.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need to view all the attributes for a file/node

I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified, not the creation date. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to Samba. ... (2 Replies)
Discussion started by: dpalmer
2 Replies

2. Shell Programming and Scripting

rcp and file attributes

Good day Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ? Regards J (2 Replies)
Discussion started by: jhansrod
2 Replies

3. Shell Programming and Scripting

file attributes

how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies

4. Shell Programming and Scripting

file attributes

How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies

5. Shell Programming and Scripting

Assigning file attributes to variables

Hi, I'm trying to assign the permissions, owner and group of a file to seperate variables, but using ls -l filename | awk '{print $1 "\t" $3 "\t" $4}' gives the owner as tom.ja instead of tom.james Is there any way to expand it so i get the full name, or is there an easier way to get them... (5 Replies)
Discussion started by: olimiles
5 Replies

6. UNIX Desktop Questions & Answers

file attributes and exception

hi, I want to know the date the file was created or modified. I can do this using ls, ll -ltr etc... I want to do this in a function (so If the file date is older then a week I can report it), is there a way? another thing... In sql function, I can catch exceptions, is there a way to do this... (1 Reply)
Discussion started by: krem
1 Replies

7. Shell Programming and Scripting

Generate the File Attributes in the system

Hello Folks, I want to generate the file attributes of the system and needs to write into the text file. I am running the command "ls -Rl" to get the details of the files from the current directory. I am getting the output. ./linux-2.6.29.4/arch: total 10 drwxr-xr-x 9 1138 5000 ... (3 Replies)
Discussion started by: saurabhchokshi
3 Replies

8. Shell Programming and Scripting

Using cp: preserving file/folder attributes and auto creating folders

Hi, Is there a way to use cp in such a way that when a file is copied to a destination, the required destination folders are automatically created with the proper permissions, and the resulting copied file has the same attributes as the original. For example if I copied... (1 Reply)
Discussion started by: pcwiz
1 Replies

9. Solaris

Split file based on multi valued attributes

Hi, I am new to shell scripting. I have a file which has multi valued attributes. I wanted to split it so that there will be no muliti valued attributes. Example file: "attr1","amv1;amv2;3","bmv1;bmv2","abc","abc1;abc2;abc3" Plz note this is CSV file and ; is the delimiter for multi valued... (7 Replies)
Discussion started by: snukala
7 Replies

10. UNIX for Dummies Questions & Answers

How to remove attributes of a file?

Hello, I opened a file by accident (with a java program, which has been uninstalled!) and from then on, all the file with .fasta extension has been changed with an icon (So annoying!!) and the file attributes has been changed with the property: Type: application/x-wine-extension-fasta type... (6 Replies)
Discussion started by: yifangt
6 Replies
pargs(1)                                                           User Commands                                                          pargs(1)

NAME
pargs - print process arguments, environment variables, or auxiliary vector SYNOPSIS
pargs [-aceFlx] [pid | core] ... DESCRIPTION
The pargs utility examines a target process or process core file and prints arguments, environment variables and values, or the process auxiliary vector. pargs outputs unprintable characters as escaped octal in the format xxx, unless the character is one of the characters specified in the "Escape Sequences" section of formats(5), in which case the character is printed as specified in that section. pargs attempts to be sensitive to the locale of the target process. If the target process and the pargs process do not share a common char- acter encoding, pargs attempts to employ the iconv(3C) facility to generate a printable version of the extracted strings. In the event that such a conversion is impossible, strings are displayed as 7-bit ASCII. OPTIONS
The following options are supported: -a Prints process arguments as contained in argv[] (default). -c Treats strings in the target process as though they were encoded in 7-bit ASCII, regardless of the locale of the target. The use of iconv(3C) is suppressed. -e Prints process environment variables and values as pointed at by the _environ symbol or by pr_envp in /proc/pid/psinfo. -F Force. Grabs the target process even if another process has control. -l Displays the arguments as a single command line. The command line is printed in a manner suitable for interpretation by /bin/sh. If the arguments contain unprintable characters, or if the target process is in a different locale, a warning message is dis- played. The resulting command line may not be interpreted correctly by /bin/sh. -x Prints process auxiliary vector. OPERANDS
The following operands are supported: pid Process ID list. core Process core file. EXIT STATUS
The following exit values are returned: 0 Successful operation. non-zero An error has occurred (such as no such process, permission denied, or invalid option). FILES
/proc/pid/* Process information and control files. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
proc(1), iconv(3C), proc(4), ascii(5), attributes(5), environ(5), formats(5) SunOS 5.10 13 Apr 2004 pargs(1)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy