Linux Basic Commands. Session 3
Вставка
- Опубліковано 27 лис 2024
- Linux Basic Commands. Session 3
Sort demo.txt - to sort the file
Sort -r file -to sort in reverse order.
Sort file | uniq -- to get the unique text from the file.
Split -l 3 file -- to split the file in 3 different parts.
Grep “kore” filename - to search the text from the file
Egrep “abc|def” filename -- to search multiple context from the file.
Ls x* -- to get the files starting with x
Ls *.csv to get all the files ending with extension .csv
Touch file{1..10} -- to create 10 files at once as below
Well done sir 👍