Tagged Questions
0
votes
1answer
62 views
cd and ls wont work in terminal mac.
Can anybody explain what is wrong with my terminal:
$ echo $PATH
=/usr/local/bin
$ ls
-bash: ls: command not found
$ cd
-bash: find: command not found
Why won't these commands work? Help? ...
0
votes
1answer
91 views
Discrepancy in file size on disk and ls output
I have a script that checks for gzipped file sizes greater than 1MB and outputs files along with their sizes as a report.
This is the code:
myReport=`ls -ltrh "$somePath" | egrep '\.gz$' | awk ...
0
votes
2answers
283 views
Why doesn't ls -lh show the total size of all the files and directories in each directory?
For example, it shows the kernel as being 18M but the Applications folder as being 3.8K
BSD/Darwin
1
vote
3answers
671 views
Is there a tool on Unix, Linux, Mac, Windows, Ubuntu, that will list file / directory structure?
I wonder if there is a tool that will list file / directory (i.e. take a snapshot of the folder and file structure) like the following:
audio
mp3
song1.mp3
some other song.mp3
audio books
...
1
vote
1answer
840 views
Why are some files in ls -l on Mac OSX (Snow Leopard) tagged with “@”? [duplicate]
Possible Duplicate:
What does the @ in ls -al mean?
When doing an ls -l some files are tagged with "@" like this:
-rw-r--r--@ 1 master staff 2074042 Feb 3 19:26 ...
7
votes
2answers
6k views
what is the @ after the permissions for in ls -l on a mac? [duplicate]
Possible Duplicate:
ls -la symbolics… what does that last symbol mean?
Consider the following output from ls -l on OS X 10.5.8
drwxr-xr-x 3 user staff 102 Aug 26 20:21 ...