# ls –s file_name [to show size in KB]
# ls -a [to show hidden files]
# ls -la [to show al files at a time]
[*Blue color or ‘D’ before name -> Folder or , all other colors or ‘-‘ before name -> files.]
# more install.log [to show the whole installing package]
# /usr/bin/setup [to configure hardware, in FedoraCore/Unix-> # /setup ]
# fdisk -l [to show harddisk information]
# df [to show linux partition]
# df -h /dev/hda5 [to show information of D drive]
# history [to show history]
# history -c [to clear history]
# Linux contains two format-
1. bash [show user nsme & directory]
2. sh [doesn’t show user nsme & directory]
# sh format command:
# sh [to enter ‘sh’ format from ‘bash’ format]
# pwd [to show directory]
# whoami [to show user name]
# hostname [to show host name]
# bash [to enter ‘bash’ format from ‘sh’ format]
No comments:
Post a Comment