Created
November 18, 2016 06:59
-
-
Save kentarosasaki/7e3c367050914d00436a4cf4bb534fb7 to your computer and use it in GitHub Desktop.
lsコマンドのオプションはどこにでも置ける ref: http://qiita.com/kentarosasaki/items/1006c77f72a56f04fbaf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls testdir/ -l | |
ls: -l: No such file or directory | |
testdir/: | |
testfile1.txt testfile2.txt | |
$ echo $? | |
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls testdir/ -l | |
total 0 | |
-rw-r--r-- 1 testuser ubuntu 0 Nov 18 15:44 testfile1.txt | |
-rw-r--r-- 1 testuser ubuntu 0 Nov 18 15:44 testfile2.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls -l testdir/ | |
total 0 | |
-rw-r--r-- 1 testuser ubuntu 0 Nov 18 15:44 testfile1.txt | |
-rw-r--r-- 1 testuser ubuntu 0 Nov 18 15:44 testfile2.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment