Pipe which into cd




















Why is that? I have to find files with selected permissions and list them as well as their number. Therefore I would like to pipe result of find command to shell In a bash shell script today I noticed the below command at the end of the script. I know what is cd but I am unaware of the significance of a dash I read that the executables for the commands issued using exec calls are supposed to be stored in directories that are part of the PATH variable.

Where is it located? Viewed 1k times. Improve this question. Ramy Ramy 1 1 silver badge 7 7 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Michael Hampton Michael Hampton k 39 39 gold badges silver badges bronze badges. Did you do something silly like alias ls to something containing the -l option? Not even sure what -n does i inherited a lot of my aliases. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Linux - Newbie This Linux forum is for members that are new to Linux.

Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! Page 1 of 2. Pipe the Output into "cd" I just used locate to find a file "logdumptemp" and would immediately like to change directory to it. View Public Profile. View Review Entries. Visit ECRocker's homepage! Code: bash Find More Posts by GrapefruiTgirl. Find More Posts by PTrenholme. EDIT: forget the rest, piping doesn't work. Find More Posts by Quote: Originally Posted by regarding the pipe.

Find More Posts by catkin. Posts: 23, Blog Entries: 11 Rep:. View LQ Wiki Contributions. Find More Posts by Tinkster. Quote: Originally Posted by catkin Intriguing Doesn't work on ubuntu 8. Quote: regarding the pipe. Visit pixellany's homepage! Posting Rules. Similar Threads. Courious "unknown" entries in "netstat" output. Server exited on signal "PIPE"? Feeding the output of "diff" or "cat" command to dpkg --purge. Main Menu.



0コメント

  • 1000 / 1000