Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

use of ls command

Answer Posted / pradeep kumar keshari

LS command is used to see the contains of a Directory. You
can user add one with ls command to see the special files
like hidden, pwd.

# ls - >
#ls -l -> to list the long listed info files/dir
#ls -a -> to list the hidden files/dir
#ls -ld -> to list the long listed information of PWD
#ls -lr -> " " " sub dir level info

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is grep faster than awk?

982


How do I delete files from command prompt?

1148


Write a command to kill the last background job?

1020


What are the commands in UNIX to list the files in a Directory?

1104


What is the unix command to confirm a remote host is alive or not?

1134


What is the significance of the 'tee' command?

1133


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2200


What is the use of the command 'ls -x chapter[1-5]' ?

1149


How do I search for text in vi?

983


Can you explain a little bit about command substitution?

1061


Why is it called a shebang?

1082


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1334


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1137


How do I run a whois command?

1097


What is nr in awk command?

1128