Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...

Answer Posted / kishore devkate

Hi Yankee,

There are so many commands to display the files in the
present working directory without using ls command, find
the below commands,

echo *
dir
du -sk *

....etc
but we have to think logical how to view the file without
using ls.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the dos commands?

646


What is the command to view process running?

574


What does this command do? Cat food 1 > kitty

975


How do you repeat a command in terminal?

587


Name the various commands that are used for the user information in unix.

539






What does touch command do in unix?

725


Differentiate cat command from more command.

574


What does the command '$ls | wc –l > file1' do?

678


What does sed command do in unix?

560


What does find command return in unix?

592


Why is shebang used?

595


Which command will print your home directory on screen?

543


Can you explain a little bit about command substitution?

607


What does grep v do?

557


What is the command to find maximum memory taking process on the server?

670