'Linux function in Jupyter Notebook running in Windows

I am writing this code in my jupyter notebook but it is not working.

!tail -n 10 Customers.csv

The error is

'tail' is not recognized as an internal or external command,
operable program or batch file.

I am also attaching an image for the reference. enter image description here



Solution 1:[1]

I installed sed, awk, grep, tar, wget exc.. from here: http://gnuwin32.sourceforge.net/packages.html . and I installed tail, chmod, mkdir exc.. commands from here: http://gnuwin32.sourceforge.net/packages/coreutils.htm I tested, commands are running in jupyter notebook under windows OS but there is a mini problem: For example After running the sed command, it leaves a file with a name starting with sed, ( it is like sed_fdgdfgdf ) it is necessary to delete these files. tail in cmd

NOTE: Download complete package and run *.exe file enter image description here

Solution 2:[2]

This post recommends installing WSL or Git Bash.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Daniel Archuleta