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)
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)
Hi,
I need to store all the files in a directory to a text file with its full path.
The example below can explain:
./File1.txt
./File2.txt
./Folder1/File11.txt
./Folder1/File12.txt
./Folder1/Folder11/File111.txt
./Folder2/file21.txt
:
:
The ls -R1 command won't give the result as... (5 Replies)
This has been bugging me for a while. How can i list file to show full path.
/directory/test
$ ls file.tst
file.tst
$
desired output:
/directory/test/file.tst (2 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 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 SUSE
bootloader::path
Bootloader::Path(3) User Contributed Perl Documentation Bootloader::Path(3)NAME
Bootloader::Path - abstraction of path constants
PREFACE
This package provides path for configuration files. It is used to enable testing on created chroot. It is used only for internal purpose.
SYNOPSIS
"use Bootloader::Path;"
"$path = Bootloader::Path::Prefix ($path);"
"$path = Bootloader::Path::Logname();"
"$path = Bootloader::Path::Fstab();"
"$path = Bootloader::Path::Sysconfig();"
"$path = Bootloader::Path::Grub_menulst();"
"$path = Bootloader::Path::Grub_devicemap();"
"$path = Bootloader::Path::Grub_grubconf();"
"$path = Bootloader::Path::Grub_grub();"
"$path = Bootloader::Path::Elilo_conf();"
"$path = Bootloader::Path::Elilo_efi();"
"$path = Bootloader::Path::Elilo_elilo();"
"$path = Bootloader::Path::Lilo_lilo();"
"$path = Bootloader::Path::Lilo_conf();"
"$path = Bootloader::Path::Zipl_conf();"
"$path = Bootloader::Path::Zipl_zipl();"
DESCRIPTION
"$path = Bootloader::Path::Prefix ($);"
Add to absolute path prefix. Only internal function. Allways retuns correct value.
"$path = Bootloader::Path::Logname();"
Gets logname path.
"$path = Bootloader::Path::Fstab();"
Gets fstab path.
"$path = Bootloader::Path::Sysconfig();"
Gets path for bootloader sysconfig.
"$path = Bootloader::Path::Grub_menulst();"
Gets path for grub configuration file menu.lst.
"$path = Bootloader::Path::Grub_devicemap();"
Gets path for grub configuration file device.map.
"$path = Bootloader::Path::Grub_grubconf();"
Gets path for grub configuration file grub.conf (this file contains commands for initialize bootloader).
"$path = Bootloader::Path::Grub_grub();"
Gets path for grub binary
"$path = Bootloader::Path::Elilo_conf();"
Gets path of elilo configuration file.
"$path = Bootloader::Path::Elilo_efi();"
Gets path to efi directory.
"$path = Bootloader::Path::Elilo_elilo();"
Gets path to elilo binary.
"$path = Bootloader::Path::Lilo_lilo();"
Gets path to lilo(or powerlilo) binary.
"$path = Bootloader::Path::Lilo_conf();"
Gets path to lilo(or powerlilo) configuration file.
"$path = Bootloader::Path::Zipl_conf();"
Gets path to zipl configuration file.
"$path = Bootloader::Path::Zipl_zipl();"
Gets path to zipl binary.
perl v5.12.1 2010-05-14 Bootloader::Path(3)