Я намагаюся використовувати команду dirs з параметром + N. Посібник говорить:
dirs [-clpv] [+n] [-n]
Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. Direc-
tories are added to the list with the pushd command; the popd command removes entries from the list.
+n Displays the nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero.
dirs -v показує:
0 /dir1/
1 /dir2/
2 /dir3/
Однак dir + n 1, dir + N 1, dir -v + n 1, dir -v + N 1 всі дають:
bash: dirs: +n: invalid number
dirs: usage: dirs [-clpv] [+N] [-N]
Хтось знає, що я роблю неправильно?
Дякую
Тарас