You are not logged in.
If I enter "ldapadd -D "cn=Manager,dc=example,dc=org" -W -f base.ldif", an ldap console opens where I can enter the data.
How can I enter an empty line (with which key)?
Last edited by barnd3 (2025-02-14 20:37:36)
Offline
There are few ways, depending what you need:
- simply "echo" will give you new line
- also "printf '\n' " will give you new line; you can do "command ; printf '\n' ; command" or "command ; echo ; command"
In bash and most shells:
- ctrl+v+enter will give new line (ctrl+v+ other key will give that key, like tab, ret, esc, del, arrows, f1, etc.)
- or simply ctrl+m give enter - return, so new line
Last edited by xerxes_ (2025-02-11 17:15:18)
Offline
"ctrl+m" is what I was looking for.
Thank you very much
Offline
Mark thread as 'SOLVED' by editing first post. BTW there are more shortcuts, which appear between unix progs, shells, system, see man: readline, vi, for example.
Offline