Hello! During the shell programming, I had a problem I should solve, I need some help. On shell programming, 'stat' command is commonly used to get the information of files or directories.
If I use the command 'stat', the result looks like this.
[1] 17 file type : directory filr size : 4096 last modification time : 2017-05-01 20:16:28 permission: 775 absolute path : /home/s/17 relative path: ./17
Under this directory, there is a sub-directory, called a. However, if I try to get the information of 'a' as the tree form, under the previous result, only this message comes out.
stat : cannot stat 'a' : No such file or directory
Is there any nice way to solve this error? I already read several posts but I still in haze. Thanks in advance!