Need get part of path, for example "/home/server/folder1/rev.1111/bin" Needed part is "rev.1111" I`ll try to parse by PWD & grep commands, but I am newbie on linux and I cant do this.
相关问题
- Highlight parent path to the root
- JQ: Select when attribute value exists in a bash a
- HTML <form> tag causing Rails form to submit
- bash print whole line after splitting line with if
- “command not found” errors in expect script execut
相关文章
- C#中 public virtual string Category { get; }这么写会报错:
- Check if directory exists on remote machine with s
- linux / libusb get usb device path
- How to get server path of physical path ?
- Reverse four length of letters with sed in unix
- Launch interactive SSH bash session from PHP
- BASH: Basic if then and variable assignment
- Bash script that creates a directory structure
Using the basename & dirname commands: