Sponsored Content
Full Discussion: path
Top Forums Shell Programming and Scripting path Post 99840 by rajan_ka1 on Tuesday 21st of February 2006 10:42:37 PM
Old 02-21-2006
Quote:
Originally Posted by csaha
Let him paste " ls -ltra " o/p
op


-rw------- 1 teradm terascan 26 Feb 11 17:29 .dmrc
drwxr-xr-x 3 teradm terascan 4096 Feb 11 17:29 .mcop
drwxrwxr-x 4 teradm terascan 4096 Feb 11 17:29 .kde
drwx------ 2 teradm terascan 4096 Feb 11 17:29 .gnome2_private
drwx------ 2 teradm terascan 4096 Feb 11 17:29 .gnome
drwxr-x--- 2 teradm terascan 4096 Feb 11 17:29 .eggcups
drwx------ 2 teradm terascan 4096 Feb 11 17:29 .rhn-applet
drwx------ 3 teradm terascan 4096 Feb 11 17:52 .mozilla
-rw------- 1 teradm terascan 278 Feb 11 22:04 .recently-used
-r--r--r-- 1 teradm terascan 235 Feb 12 01:24 .mime.types
-r--r--r-- 1 teradm terascan 64 Feb 12 01:24 .mailcap
-r--r--r-- 1 teradm terascan 219 Feb 12 01:24 .login
-r--r--r-- 1 teradm terascan 13 Feb 12 01:24 .i18n
-r--r--r-- 1 teradm terascan 5111 Feb 12 01:24 .dtprofile
-r--r--r-- 1 teradm terascan 30 Feb 12 01:24 .cshrc
-r--r--r-- 1 teradm terascan 272 Feb 12 01:24 .bash_profile
-r--r--r-- 1 teradm terascan 24 Feb 12 01:24 .bash_logout
drwxr-xr-x 5 root root 4096 Feb 12 01:24 ..
drwxr-xr-x 2 teradm terascan 4096 Feb 13 08:46 .gstreamer-0.8
-rw------- 1 teradm terascan 31 Feb 13 19:16 .mcoprc
-rw------- 1 teradm terascan 21642 Feb 14 06:02 .face
-r--r--r-- 1 teradm terascan 288 Feb 14 06:50 .bashrc
-rw-rw-r-- 1 teradm terascan 227 Feb 15 06:50 cron_bkp
drwx------ 7 teradm terascan 4096 Feb 16 10:54 Mail
drwxrwxrwx 4 teradm terascan 4096 Feb 16 20:06 .terascan
-rw------- 1 teradm terascan 495 Feb 17 06:46 .rhn-applet.conf
-rwxrwxr-x 1 teradm terascan 401 Feb 18 05:05 vr_peek.sh
drwx------ 3 teradm terascan 4096 Feb 18 10:10 .thumbnails
drwx------ 3 teradm terascan 4096 Feb 18 10:24 Desktop
-rw-rw-r-- 1 teradm terascan 11297 Feb 20 04:57 sch_feb_20
-rw-rw-r-- 1 teradm terascan 1737 Feb 20 04:58 sch_feb20-a
-rw-rw-r-- 1 teradm terascan 307 Feb 20 07:32 .fonts.conf
-rw-r--r-- 1 teradm terascan 43653 Feb 20 07:41 cr-test.txt
drwxr-xr-x 2 teradm terascan 4096 Feb 20 10:46 .xine
-rw------- 1 teradm terascan 195 Feb 20 11:43 .ICEauthority
lrwxrwxrwx 1 teradm terascan 36 Feb 20 11:43 .DCOPserver_incois-a_:0 -> /home/teradm/.DCOPserver_incois-a__0
-rw-rw-r-- 1 teradm terascan 57 Feb 20 11:43 .DCOPserver_incois-a__0
drwxrwxr-x 2 teradm terascan 4096 Feb 20 11:43 .qt
drwx------ 3 teradm terascan 4096 Feb 20 11:43 .gconf
drwx------ 4 teradm terascan 4096 Feb 20 11:43 .gnome2
-rw-rw-r-- 1 teradm terascan 546 Feb 21 05:59 doubt_login
drwxrwxr-x 5 teradm terascan 4096 Feb 21 06:10 .evolution
-rwxrwxr-x 1 teradm terascan 84 Feb 21 06:20 test.sh
-rwxrwxr-x 1 teradm terascan 436 Feb 21 09:32 vr_peek.csh
-rw-r--r-- 1 teradm terascan 29 Feb 21 09:58 cron_log1.log
-rw-rw-r-- 1 teradm terascan 2124 Feb 21 10:48 comdenv
-rw-rw-r-- 1 teradm terascan 392 Feb 21 10:52 scriptenv
-rw-rw-r-- 1 teradm terascan 9399 Feb 21 10:52 sch_feb22-26-a
-rw-rw-r-- 1 teradm terascan 0 Feb 21 11:38 list
-rw-rw-r-- 1 teradm terascan 208 Feb 21 11:38 tempwho
drwx------ 2 teradm terascan 4096 Feb 21 11:40 .gconfd
-rw------- 1 teradm terascan 227 Feb 21 17:17 .Xauthority
-rw------- 1 teradm terascan 6333 Feb 22 02:09 .bash_history
-rwxrwxr-x 1 teradm terascan 156 Feb 22 03:32 test.csh
-rw-r--r-- 1 teradm terascan 25 Feb 22 03:35 cron_log2.log
-rw------- 1 teradm terascan 4885 Feb 22 03:40 .viminfo
drwx------ 20 teradm terascan 4096 Feb 22 03:40 .
[teradm@incois-a ~]$
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vi - replacing a relative path with absolute path in a file

Hi, I have a file with about 60 lines of path: app-defaults/boxXYZ....... I want to change this to /my/path/goes/here/app-defaults/boxXYZ, but of course vi doesn't like the regualr :s/old/new/ command. Is there any other quick way to do this? Thanks ;) (2 Replies)
Discussion started by: Yinzer955i
2 Replies

2. Shell Programming and Scripting

Executing Commands From Non-Standard Path (Changing user's PATH secretely???)

Hi: I have a requirement as below: I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l). When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
2 Replies

3. Shell Programming and Scripting

absolute path for a script ran with relative path

I have a script in which i want to print absolute path of the same script irrespective of path from where i run script. I am using test.sh: echo "pwd : `pwd`" echo "script name: $0" echo "dirname: `dirname $0`" when i run script from /my/test/dir/struct as ../test.sh the output i... (10 Replies)
Discussion started by: rss67
10 Replies

4. Shell Programming and Scripting

Retrieve directory path from full file path through sh

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)
Discussion started by: royzlife
7 Replies

5. Shell Programming and Scripting

Moving files from parent path to multiple child path using bash in efficient way

Hi All, Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created. /Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt /Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies

6. Shell Programming and Scripting

Pattern match a path anywhere in the line and replace it with new path

I want to pattern match only path part from below and replace them with new path string. LoadModule jk_module /fldrA/fldrBaf/fldrCaa/modules/mod_jk.so JkWorkersFile /fldrA/fldrBaf/fldrCaa/config/OHS/ohs1/workers.properties JkLogFile... (4 Replies)
Discussion started by: kchinnam
4 Replies

7. Shell Programming and Scripting

Generate class path dynamically based on source path

Hi experts, I have multiple file names ending with .jsp located in $SOME_DIR, $SOME_DIR/f1/,$SOME_DIR/f2/test,$SOME_DIR/f3/fa and there are equivalent class files in $SOME_DIR/WEB-INF/classes/_pages,$SOME_DIR/WEB-INF/classes/_pages/_f1,... (0 Replies)
Discussion started by: oraclermanpt
0 Replies

8. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

9. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

10. Programming

Makefile missing include path Although the path exists and defined

i have make file which i try to make them generic but it keeps to compline it missing include directory this is the makefile : CXX=g++ CPPFAGS= -Wall -O0 -g -std=c++14 INCLUDES = -I/home/vagrant/libuv/include -Isrc LIBS_DIRS = -L/home/vagrant/libuv/build LDFLAGS=... (7 Replies)
Discussion started by: umen
7 Replies
EXINEXT(8)						      System Manager's Manual							EXINEXT(8)

NAME
exinext - Finding individual retry times SYNOPSIS
exinext address|message-id DESCRIPTION
A utility called exinext (mostly a Perl script) provides the ability to fish specific information out of the retry database. Given a mail domain (or a complete address), it looks up the hosts for that domain, and outputs any retry information for the hosts or for the domain. At present, the retry information is obtained by running exim_dumpdb (see below) and processing the output. For example: exinext piglet@milne.fict.example kanga.milne.fict.example:192.168.8.1 error 146: Connection refused first failed: 21-Feb-1996 14:57:34 last tried: 21-Feb-1996 14:57:34 next try at: 21-Feb-1996 15:02:34 roo.milne.fict.example:192.168.8.3 error 146: Connection refused first failed: 20-Jan-1996 13:12:08 last tried: 21-Feb-1996 11:42:03 next try at: 21-Feb-1996 19:42:03 past final cutoff time You can also give exinext a local part, without a domain, and it will give any retry information for that local part in your default domain. A message id can be used to obtain retry information pertaining to a specific message. This exists only when an attempt to deliver a message to a remote host suffers a message-specific error (see section 42.2). exinext is not particularly efficient, but then it isn't expected to be run very often. BUGS
This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches would be greatly appreciated. SEE ALSO
exim(8), /usr/share/doc/exim4-base/ AUTHOR
This manual page was stitched together from spec.txt by Andreas Metzler <ametzler at downhill.at.eu.org>, for the Debian GNU/Linux system (but may be used by others). March 26, 2003 EXINEXT(8)
All times are GMT -4. The time now is 03:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy