[Linux] Command to get a list of commands executed in the past

It is for my own memo. Command for outputting the file list in the current directory.

■ How to do

File list

ls -1 -F |grep -v "/"

Folder list

ls -1 -F |grep "/"

File and folder list

ls -1 -F

Recommended Posts

[Linux] Command to get a list of commands executed in the past
How to pass the execution result of a shell command in a list in Python
How to get a list of files in the same directory with python
[Command] Command to get a list of files containing double-byte characters
Get the number of specific elements in a python list
How to get the last (last) value in a list in Python
How to get a list of built-in exceptions in python
Try to get a list of breaking news threads in Python.
How to output the output result of the Linux man command to a file
How to get the vertex coordinates of a feature in ArcPy
Create a function to get the contents of the database in Go
[Golang] Command to check the supported GOOS and GOARCH in a list (Check the supported platforms of the build)
Get the value of a specific key up to the specified index in the dictionary list in Python
How to pass the execution result of a shell command in a list in Python (non-blocking version)
Get the caller of a function in Python
Make a copy of the list in Python
Get only the subclass elements in a list
I want to sort a list in the order of other lists
[Linux command] A memorandum of frequently used commands
Create a command to get the work log
I made an appdo command to execute a command in the context of the app
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
I want to see a list of WebDAV files in the Requests module
Python script to get a list of input examples for the AtCoder contest
[Linux] A list of Linux commands that beginners should know
How to get the number of digits in Python
[python] Get the list of classes defined in the module
I wanted to know the number of lines in multiple files, so I tried to get it with a command
Get the value of a specific key in a list from the dictionary type in the list with Python
How to identify the element with the smallest number of characters in a Python list?
A memorandum of commands, packages, terms, etc. used in linux (updated from time to time)
How to check in Python if one of the elements of a list is in another list
I want to use Linux commands at the command prompt! Use Linux commands at the command prompt instead of Git Bash
Try to get the function list of Python> os package
Get UNIXTIME at the beginning of today with a command
Developed a library to get Kindle collection list in Python
Get the number of occurrences for each element in the list
How to get a list of links from a page from wikipedia
How to get a quadratic array of squares in a spiral!
Commands and files to check the version of CentOS Linux
Command to list all files in order of file name
How to connect the contents of a list into a string
linux / c> link> Get the execution result of the shell command in the C program> I was taught how to use popen ()
[Linux] [C / C ++] How to get the return address value of a function and the function name of the caller
In the python command python points to python3.8
[OCI] Python script to get the IP address of a compute instance in Cloud Shell
Recursively get the Excel list in a specific folder with python and write it to Excel.
[linux] kill command to kill the process
I tried to create a Python script to get the value of a cell in Microsoft Excel
List of frequently used Linux commands
Output the key list included in S3 Bucket to a file
I want to get the name of the function / method being executed
[Linux] I tried to summarize the command of resource confirmation system
How to determine the existence of a selenium element in Python
I tried to get the index of the list using the enumerate function
How to check the memory size of a variable in Python
On Linux, the time stamp of a file is a little past.
How to get a string from a command line argument in python
[Go] Create a CLI command to change the extension of the image
An easy way to re-execute a previously executed command in ipython
How to check the memory size of a dictionary in Python