Sponsored Content
Top Forums UNIX for Advanced & Expert Users Directory is invisible in listing but it is exist. Post 302355403 by BCJapan on Tuesday 22nd of September 2009 02:32:42 PM
Old 09-22-2009
Quote:
Originally Posted by know d unknown
did u try using "ls -lad" ??

Thank you for your quick reply...
Yes, it will shown with 'lad' option as same as with 'ld' if you are going to list from its full directory name otherwise, no such file or directory.

men:/nas> ls -lad CIM_SOLSUM*
/bin/ls: CIM_SOLSUM*: No such file or directory
men:/nas> ls -lad CIM_SOLSUMMARY
drwxrwxr-x 2 user1 user1 80 2009-09-19 17:46 CIM_SOLSUMMARY

By the way, this is on Linux machine.
men:/nas> uname -a
Linux sy1nas01 2.6.5-7.282-bigsmp #1 SMP Tue Aug 29 10:40:40 UTC 2006 i686 i686 i386 GNU/Linux


Thank you again.

Last edited by BCJapan; 09-22-2009 at 03:39 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recursive directory listing without listing files

Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories. The following command also shows the files but I only want to see the directories. ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies

2. Shell Programming and Scripting

How to check directory exist on servers

There are many servers and their directory structer should be exactly the same. To check the directory path for all servers, I wrote a script. #! /bin/ksh ARRAY_DIRECTORIES="/c/dev/custom/bin" ARRAY_DIRECTORIES="/c/dev/db/custom/src" ARRAY_ENV="remoteName200" ARRAY_ENV="remoteName201"... (2 Replies)
Discussion started by: weonpc
2 Replies

3. Shell Programming and Scripting

To check whether a directory is exist and if it is not, create it

Hi, I want to write a shell script to check whether a directory (say A) is existing in a given location and if it is not, create it. (3 Replies)
Discussion started by: sabya
3 Replies

4. Shell Programming and Scripting

check the directory exist

I have the below script to check whether directory is exist or not , now I sure the directory /abc NOT exist , but when run the script , it still pop the result is "the directory exist" , could suggest what is wrong ? thx ll -d /abc > /dev/null 2>&1 if then echo "the directory exist !!" ... (7 Replies)
Discussion started by: ust
7 Replies

5. Solaris

AUTOFS - Troubleshoot directory does not exist

How to troubleshoot autofs /mnt/sum: does not exist in one of the sun server? This was working previously. No issue on NFS mounting. root@devapp # cat /etc/dfs/dfstab share -F nfs -o rw /linxnet/server2 # Master map for automounter # +auto_master /net -hosts ... (7 Replies)
Discussion started by: KhawHL
7 Replies

6. UNIX for Dummies Questions & Answers

How to find if file exist in directory using *

Hi, I know how to use the test command ( ...) to find a single given name file. However, I have a case in which I have a directory with one file and one sub-directory. I know that the file starts with "fub". The command doesn't work if i call the file "fub*" as it doesn't understand I meant a... (2 Replies)
Discussion started by: buj
2 Replies

7. Shell Programming and Scripting

how to check file exist in a directory or not

HI folks, can any one tell me how to check whether the file is existed in a directory or not . let me tell you my requirement : if the file is existed i should display a one message or else i have to send a mail .. i have the mail logic .. but I'm failed to check file existence .. please... (5 Replies)
Discussion started by: sravan008
5 Replies

8. Shell Programming and Scripting

SFTP Does directory exist?

Hi, Im trying to add some validation into my shell script code that basically checks whether a directory exists before SFTP'ing a file to it. If the directory exists then it will add the file, if not then it should return some kind of message. This is the code I have written so far but with no... (1 Reply)
Discussion started by: Jack_Maloney
1 Replies

9. Solaris

User directory doesn't exist

Hii all, i create the user useradd -d /home/kk kk passwd kk when i tried to login to kk i get a error user directory doesn't exist then i tried useradd kkk passwd kkkwhen i tried to login to kkk i get the same error user directory doesn't exist. (4 Replies)
Discussion started by: vipinkumarr89
4 Replies

10. UNIX for Beginners Questions & Answers

A file or directory in the path does not exist

I'm brand new to AIX and I looked up how to print this file and it was working but now I'm not able to do it all of a sudden. the file name is rom1.txt so this is what i wrote in the command line and I know I'm in the right directory. In bold is what I seem to be messing up with. prod @ root... (3 Replies)
Discussion started by: Dark0Prince
3 Replies
MINGETTY(8)                                                  Linux Programmer's Manual                                                 MINGETTY(8)

NAME
mingetty - minimal getty for consoles SYNOPSIS
mingetty [--noclear] [--nonewline] [--noissue] [--nohangup] [--nohostname] [--long-hostname] [--loginprog=/bin/login] [--nice=10] [--delay=5] [--chdir=/home] [--chroot=/chroot] [--autologin username] [--loginpause] tty DESCRIPTION
mingetty is a minimal getty for use on virtual consoles. Unlike agetty(8), mingetty is not suitable for serial lines. I recommend using mgetty(8) for this purpose. OPTIONS
--noclear Do not clear the screen before prompting for the login name (the screen is normally cleared). --nonewline Do not print a newline before writing out /etc/issue. --noissue Do not output /etc/issue. --nohangup Do not call vhangup() to disable writing to this tty by other applications. --nohostname Do not print the hostname before the login prompt. --long-hostname By default the hostname is only printed until the first dot. With this option enabled, the full text from gethostname() is shown. --loginprog /bin/login Change the login app. --nice 10 Change the priority by calling nice(). --delay 5 Sleep this many seconds after startup of mingetty. --chdir /home Change into this directory before calling the login prog. --chroot /chroot Call chroot() with this directory name. --autologin username Log the specified user automatically in without asking for a login name and password. Check the -f option from /bin/login for this. --loginpause Wait for any key before dropping to the login prompt. Can be combined with --autologin to save memory by lazily spawning shells. ISSUE ESCAPES
mingetty recognizes the following escapes sequences which might be embedded in the /etc/issue file: d insert current day (localtime), l insert line on which mingetty is running, m inserts machine architecture (uname -m), inserts machine's network node hostname (uname -n), o inserts domain name, inserts operating system release (uname -r), insert current time (localtime), s inserts operating system name, u resp. U the current number of users which are currently logged in. U inserts "n users", where as u only inserts "n". v inserts operating system version (uname -v). EXAMPLE
"Linux eos i386 #1 Tue Mar 19 21:54:09 MET 1996" was produced by putting "s m v" into /etc/issue. FILES
/etc/issue, /var/run/utmp. SEE ALSO
mgetty(8), agetty(8). AUTHOR
Copyright (C) 1996 Florian La Roche <laroche@redhat.com>. Man-page written by David Frey <David.Frey@eos.lugs.ch> and Florian La Roche. Debian-Local 6 Apr 1996 MINGETTY(8)
All times are GMT -4. The time now is 09:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy