如何使用linux别名将cd刻录到文件夹中?

如何使用linux别名将cd刻录到文件夹中?,linux,bash,alias,cd,Linux,Bash,Alias,Cd,此别名用于搜索文件夹并打印出文件夹的位置 findme 1234567 --> Searching and printing /xxx_data/xxe/TK/1234567/ --> This is the output of above alias. alias findme='program -x SR $1' --> This is the alias. 有没有重新定义此别名的方法,当我运行findme 1231412

此别名用于搜索文件夹并打印出文件夹的位置

findme 1234567                  --> Searching and printing 
/xxx_data/xxe/TK/1234567/       --> This is the output of above alias.
alias findme='program -x SR $1' --> This is the alias. 
有没有重新定义此别名的方法,当我运行findme 1231412时,它将直接将用户输入传递到cd并进入子文件夹

实例
在这个文件结构中,唯一的变化是数字/xxx_data/xxe/TK//Allfiles

别名不带参数。使用函数

findme () {
  cd  "$(program -x SR "$1")"
}

尽管有这样的例子,我还是不太清楚你在问什么。请向我们展示一些代码或脚本,告诉我们当前的行为,期望的行为,以及您已经尝试实现的目标。
/xxx_data/xxe/TK/1234567/Allfiles <-- so how can I define an alias that can read user input findme and pass it to cd command 
findme () {
  cd  "$(program -x SR "$1")"
}