How can i list every single file on a sun solaris server running 2.8 starting from '/' with the full path included in it?
example.
/
...
...
...
/etc/inetd.conf
/etc/passwd
/etc/shadow
...
...
...
/var/adm/messages
/var/adm/messages.0
/var/adm/messages.1
...
...
...... (4 Replies)
Hi all,
How to save file full name to a file. I tried the following but don't know to include path name.
$ ls -l | awk '{print $9}' > outputfile.dat
$ cat outputfile.dat
fifth.txt
first.txt
fourth.txt
second.txt
third.txt
My wanted result is ie:
... (3 Replies)
How can i perform a ls or other command to list the full paths of files from a ls?
Looked through the man page for ls, no luck
$ cd /tmp/
$ ls -l
total 6
drwx------ 2 root root 4096 Nov 7 2008 keyring-7b5rMv
drwx------ 2 bcr bcr 4096 Dec 7 2007 keyring-cGhir8
$
I'd be looking for... (1 Reply)
hello every one,
i'm a novice in the field of Linux, so please help me out with this problem.
a text file with the following syntax is given:
file1
file2
file3
file4
file5
a script is to be written to list all d file names and tar the files with the filename... (3 Replies)
Hi,
(Apologies, I'm sure I'm not the first person to raise this question but so far in my searches haven't found a good answer).
I would like to output a listing per line of filename (including full path) and 'last updated' timestamp. e.g:
Z:\dir1\file1.txt 01/02/2010 10:43... (5 Replies)
Hi all,
I want to check the list of all directories and links in a particular directory and here, i have the list of the directories/links which i need to print on screen.
I used the below command to check the dir/links,
cd path1 ; ls -ltd `cat dir_links_list`
But here, i don't want to... (3 Replies)
Hi,
I need to do find and replace, but the pattern is not full known.
for example,
my file has /proj/app-d1/sun or /data/site-d1/conf
here app-d1 and site-d1 is not constant. It may be different in different files. common part is /proj/xx/sun and /data/xxx/conf
i want to find where ever... (6 Replies)
my requirement is 30 days old files along with size and pull path of the file (file should be listed in descending by size).
output:
12345 /app/testing/file1
12341 /app/testing/file2 (5 Replies)
Discussion started by: Rajesh123
5 Replies
LEARN ABOUT OPENSOLARIS
ucodeadm
ucodeadm(1M) System Administration Commands ucodeadm(1M)NAME
ucodeadm - update processor microcode
SYNOPSIS
/usr/sbin/ucodeadm -v
/usr/sbin/ucodeadm -umicrocode-text-file
/usr/sbin/ucodeadm -i [-R path] microcode-text-file
DESCRIPTION
The ucodeadm utility can be used to report running microcode revision on the processors, update microcode, or install microcode on the tar-
get system to be used during the boot process.
The microcode-text-file can be obtained from processor vendors.
OPTIONS -v Report microcode revision.
-u microcode-text-file Update microcode on all cross-call interrupt ready processors.
-i microcode-text-file Install microcode files on target system to be used during the next boot cycle. The text file name must have
the vendor name prefix, such as "intel" or "amd".
By default the microcode files will be installed at:
/platform/i86pc/ucode/$VENDORSTR/
where VENDORSTR is either "GenuineIntel" or "AuthenticAMD".
-R alternate path Install microcode path in the alternate path.
EXAMPLES
Example 1 Reporting the Microcode Revision
The following example displays the microcode revision that is currently running:
# ucodeadm -v
Example 2 Updating the Processor Microcode
The following example updates the processor microcode to intel-ucode.txt:
# ucodeadm -u intel-ucode.txt
Example 3 Installing the Microcode on the Target System
The following example installs the microcode on the target system, /export/ucode-path:
# ucodeadm -i -R /export/ucode-path intel-ucode.txt
If an alternate path is used when installing the microcode on the target system, the installed microcode file is not used on the next boot
cycle.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO psradm(1M), psrinfo(1M), attributes(5)SunOS 5.11 10 Jul 2007 ucodeadm(1M)