Terminal Commands
Terminal Commands
cd ~/Documents --> from anywhere you can get redirectd to Dcouments folder.
cp *.py tofolderpath ---> moves specific files extensions to the folder mentioned.
ls > filenamewithextension --> will copy the pwd file names and saves them in
newfile mentioned
sort -M -r monthsname in reverseorder
sort -n -r numericalfile in reverseorder
sort textfile
> --> this greater symbol is used for the creating the file and store the
contents of the
file before the greater symbol in the file
mentioned afer the great symbol
find ~ -name "*.txt" ---> search for text files * indicate that any type of file
or text or all