Download presentation
Presentation is loading. Please wait.
Published byShauna Beasley Modified over 9 years ago
1
Linux Stuff Last Update 2014.07.07 1.0.0 Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 1
2
Objectives of This Section Learn –Enough about Linux to do the labs Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 2
3
Common Commands pwd –Shows the current directory cd –Change directories cp –Copy mv –Rename Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 3
4
Common Commands rm –Remove mkmir –Make a directory rmdir –Delete empty directories Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 4
5
Common Commands ls –Show a list of whatever is in the directory –Switches -a –Show everything -F –List by type -l –Detailed listing -t –List by date Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 5
6
Common Commands To show one screen full of filenames at a time –ls –l | less Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 6
7
Common Commands ln –Create a link file –To find out what type of file the file is cat –Display what is inside a file Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 7
8
Common Commands head –Show the first 10 lines of a file –As in head filename –Or specify the number of lines with head –n20 filename Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 8
9
Common Commands tail –Show the last 10 lines of a file –As in tail filename –Or specify the number of lines with tail –n20 filename Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 9
10
Common Commands more –Shows a file one page at a time less –Shows a file one page at a time –But allows scrolling through the file –q to quit it Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 10
11
Common Commands grep –To search through a file –For example grep whattosearchfor filetolookin or grep ‘word word’ filetolookin find –Looks through directories for a file Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com 11
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.