Command to Display History - 2023.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 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