Linux Basic Commands. Session 4

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024
  • Linux Basic Commands Session 4
    Shuf filename -- will shuffle the content in the given file.
    Wc -l test.csv - to check number of lines in the file.
    Diff -u filea fileb - to give the difference line by line
    Find ./ -name test.csv -- to find the file from the inner folder.
    Find ./ -name *.csv
    History -- to get all previous commands
    History | grep sort -- will get all the commands using sort keyword.
    Bc --used for calculations and quit to exit
    Cal --to open the calender, cal 2020, cal jan 2020
    Uptime - for how long server is running and how many user are logged
    Script - to record the commands and press cntrl +d to exit from recording. File will get created swith name as typescript then u can view the file as below
    Cat typescript - to view the file from recording
    Echo “hellp” -- to print output in the terminal.

Комментарии • 2