111 reputation
13
bio website
location
age
visits member for 1 year, 3 months
seen Feb 27 '12 at 20:20
stats profile views 6

Apr
4
awarded  Notable Question
Nov
9
awarded  Popular Question
Feb
27
comment ls to show only directory/filename and size
I'm using original bash from FreeBSD 8.2, it doesn't work on Debian 5.0 Lenny eighter, so why don't you test your code first , before posting it?:P
Feb
27
comment ls to show only directory/filename and size
awk: illegal field $(), name "pwd" input record number 2, file source line number 1 ...
Feb
26
comment ls to show only directory/filename and size
I do still get Illegal variable name message :/
Feb
25
comment ls to show only directory/filename and size
Getting Illegal variable name. message in bash...
Feb
25
comment ls to show only directory/filename and size
Okay, sorry that I didnt explain this clearly. Here is what I get while running your edited command: Illegal variable name.
Feb
24
awarded  Supporter
Feb
24
comment ls to show only directory/filename and size
Okay, as I said, I want to just print the 'actual' (parent) directory name, where the command is executed at. Fe. I'm executing the ls [..] inside of the /usr/local/data/something then it will list the files this way: something/file1.apx <size> and so on... Hope you got me, in case if not, leave a comment back.
Feb
24
comment ls to show only directory/filename and size
It does actually print the full path like: 6452 /usr/local/data/pack_24022012/update.ent
Feb
24
awarded  Student
Feb
24
comment ls to show only directory/filename and size
@MatthewScharley Ofc. the parent directory.
Feb
24
asked ls to show only directory/filename and size