There are several ways to do this (typical Unix ...).
you could execute the following command:
du | sort -n | tail -6
The 'du' command lists disk usage by listing a file name and size per line, then use the sort command to list numerically, and the last 6 will be the 6 largest.
ls -lS | head -6
Explanation:
"ls -lS": list all files in current directory sorted by size
"|" : pipe - this uses the output of the previous command as the input of the following command
"head -6": display the first 6 lines from stdin
pwdThis is short for "Print current directory."
The command you are looking for is "ls"Also the "dir" command works
The command 'pwd' will identify the full path of the present working directory.
Use the command: ls z* for those files in your current working directory.
DOSEXAFTERBREAKFAST
Once your in the directory you have to type the following: du -a
to get the current shell :echo $0also Use the command ps with -p {pid} option, which selects the processes whose process ID numbers appear in pid. Use following command to find out what shell you are in:ps -p $$
Using man ls will open the manual page for the ls command. The ls command lists the files and folders in the current directory.
In my Ubuntu terminal, I would type one of these two example commands (there are other commands, but I tend to mainly use the two below).cd change to home-directorypwd means display the path of the current directoryNote: pwd stands for print working directory.
display command help to display the single current record in a database where as list command helps to display all the current record which are present in a data base.
UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma
pwd