Command to Display History - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 English

Use history command to print recent input history.

Vitis [1]: ls
vadd/ logs/ 

Vitis [2]: history
ls
history

By default, input history is printed without the line numbers so that it can be pasted directly into an editor. Use -n to show line numbers.

Vitis [3]: history -n 1
1: ls

By default, the input history from the current session is displayed. Ranges of the history can be indicated using the following syntax:

Vitis [4]: history -n 1-2
1: ls
2: history