|
| |||
| If the /tmp directory contains any of the executable file, all the sites stops. The simplest way to know executable file in a directory is by using -F option with ls command, which distinguishes directory and executable files from ordinary files. The -F option causes a slash (/) to be appended to the filename for directories and an asterisk (*) to be appended to files which are executable. For example, $ ls -F
__________________ WinHost Web Hosting |
| |||
| $ ls -a (displays the hidden files) $ ls -F (causes a slash (/) to be appended to the filename for directories and an asterisk (*) to be appended to files which are executable) $ ls -q (displays the non-printable characters in file name with the ?) $ ls -b (displays the non-printable characters in file name with the octal number) $ ls -lu (causes the last access time stamp to be displayed instead of the last modification time) $ ls -ls (gives the file size in blocks instead of bytes) $ ls -t (Sorts the output by time stamp instead of name) $ ls -r (Reverses the order of the output. By itself, displays the output in reverse alphabetic order, used with -t, displays the output by the most recent time stamp) ls -x (Forces the output into multicolumn)
__________________ WinHost Web Hosting |
![]() |
| Thread Tools | |
| Display Modes | |
| |