Avatar of Swaminathan K
Swaminathan KFlag for India

asked on 

Need help on Linux ls command

Hi Team,
I want to know the difference in the output of the below unix commands

ls -F

ls -F I get the output with directories suffixed with a / , but some regular files suffixed with * , @ symbols. Why is it so?

[root@localhost ~]# ls -F
abc.txt          Desktop/     install.log.syslog  Public/     testfile*
accounts/        Documents/   logdata             Templates/  test.ksh*
anaconda-ks.cfg  Downloads/   LOGFILENAME         test        typescript
backup/          $file        Music/              test1       Videos/
CALNOV           filename     novcal              test123@
cc               install.log  Pictures/           test2



ls -d list only the current directory , but ls -d */  , is there any other command to list only directories.
Linux

Avatar of undefined
Last Comment
Mihai Barbos
ASKER CERTIFIED SOLUTION
Avatar of Mihai Barbos
Mihai Barbos
Flag of Switzerland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Swaminathan K
Swaminathan K
Flag of India image

ASKER

Thanks for the clarification, iam sorry ,but it is very simple question , I would like to know what white out means
Avatar of Mihai Barbos
Mihai Barbos
Flag of Switzerland image

A whiteout is a special type of file that hides the existence of a file with the same name.
It appears in some special cases when you delete a file, normally is of no interest.
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo