cmaloney | morning | 01:59 |
---|---|---|
jrwren | WAT? | 02:01 |
jcastro | https://docs.google.com/document/d/1gDUD6Tic-UvqWemMrio9ig56-hGkYKNgA6sXc-SQWJo/edit | 16:03 |
jcastro | has all the info jrwren rick_h ^^^ | 16:03 |
rick_h | jcastro: cool ty | 16:03 |
shakes808 | hello peoples, wondering about why I can't "cd" or "less" into these: http://pastebin.com/d9aY1GgY | 19:46 |
cmaloney | shakes808: ls -al . (in etc) | 19:49 |
jrwren | shakes808: super* is matching a single dir in /etc, so ls -l super* is not showing you files in etc, shell is expanding super* and showing you contents of those matches. | 19:51 |
jrwren | or multiple dirs for that matter. | 19:51 |
jrwren | shakes808: try `ls -ld super*` | 19:52 |
cmaloney | that is likely what is happening | 19:59 |
shakes808 | Thank you, That is what it looks like it is doing. It looks like it is going into /etc/supervisor/ and pulling those files. I would imagine that it would have showed me the file path if it was buried more like that | 20:02 |
jrwren | nope, it is doing what you told it to. | 20:10 |
jrwren | remember, shell expands wildcards. | 20:10 |
jrwren | ls can't tell you anything about it, because bash already did it. | 20:10 |
cmaloney | ++ | 20:14 |
shakes808 | ah, alright. | 20:20 |
shakes808 | Thank you | 20:20 |
shakes808 | is there a way to do what I want but for only the current dir? | 20:22 |
jrwren | shakes808: what do you want? | 20:22 |
shakes808 | search current dir for foo* | 20:22 |
shakes808 | not going into the other dir in the current dir. | 20:22 |
shakes808 | or if it is going to go down into the other dir, give me the path to which you are in | 20:25 |
jrwren | shakes808: oh, that is what I pasted. | 20:25 |
jrwren | try `ls -ld super*` | 20:25 |
jrwren | err, wrote and now pasted. | 20:25 |
jrwren | list directories themselves, not their content. | 20:26 |
shakes808 | HAHA, alright. must have read over that post, sorry. | 20:26 |
jrwren | so when bash expands super* to sueprvisor, `ls -ld supervsior` (what is actually executing) will list the dir, not its contents. | 20:26 |
shakes808 | Awesome! Thank you | 20:27 |
=== w8awt is now known as zncnoobie | ||
=== zncnoobie is now known as w8awt |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!