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

Answer Posted / dhina

Hi Yankee,

Login files are.

/etc/profile
$HOME/.profile

You can edit the login files from root login. You can add
the alias in login files like below,

alias ll='ls -l'
alias lla='ls -la'
alias ltr='ls -ltr'
alias llh='ls -l . | egrep htm\|html'
alias c=clear
alias rm='rm -i'

After, you do so, log out your current session, and relogin.

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this command do,"$more readme.txt“?

693


How do you grep a case insensitive?

544


What is time_t?

588


What is the use of find command in unix?

588


What are bash commands?

598






What does find command return in unix?

598


What is grep in bash?

589


What is grep short for?

558


Enlist some filename manipulation commands in unix.

556


Is grep faster than awk?

563


what is the advaantage of each user having its own copy of the shell?

2038


What does the command ' $who | sort –logfile > newfile' do?

772


What does grep v grep do?

556


What is pipe command in unix?

676


What is the functionality of a top command?

628