Media Summary: sort file name arrange the contents of file in alphabetic order sort -r file name arrange the contents of file alphabetically in reverse ... man- like help command of dos. ls- like dir of dos. lists the files and directories of current working directory. pwd- print working ... diff file1 file2 this command gives the difference of two file . diff -y file1 file1 this command compares line by line both the files and ...
Linux Session 7 2024 05 - Detailed Analysis & Overview
sort file name arrange the contents of file in alphabetic order sort -r file name arrange the contents of file alphabetically in reverse ... man- like help command of dos. ls- like dir of dos. lists the files and directories of current working directory. pwd- print working ... diff file1 file2 this command gives the difference of two file . diff -y file1 file1 this command compares line by line both the files and ... uniq file-name -This removes the adjacent duplicacy. Independently not useful. this command is useful with sort command as sort ... chown Owner file This changes the owner of the file chown Owner:group file This changes the owner and group of the file chown ... wc filename gives full detail line, words, byte details. wc -l filename gives line details only. wc -w filename gives total words in the ...
chmod can be used in 2 ways. The first is using symbolic arguments, the second is using numeric arguments. Let's start with ... mkdir - create folders or directories. create multiple nested folders by adding -p option. rmdir- delete an empty folder or multiple ... following echo commands have been used : echo "Hello" -this displays Hello on the screen. echo Hello -this also displays the ...