In the 2nd episode of our Linux tutorial we learn some of the basic commands and do some exercises on Ubuntu App.
Home Directories
Each user has his or her private place to store files - Home;
The directory will either be called “/home” or “/user”; (Use “pwd”)
The use of “~” instead of pathname. (Use “/home/omoni”)
Manual Pages
Man or Manual can display entire manual of Linux system;
Example: man man command and explanation;
Find
It is used to find files;
Example: find ~ -name “Lab02*” (“~” means home directory, “-name” is file’s name, “*” is a wildcard in case user is not sure on the exact name);
Concatenate Files
“Cat” stands for concatenate or combine files;
Example: cat Lab02 Lab03;
Printing
Lpr stands for “line printer” and commands sending file to printer;
Lpq stands for “line printers in queue” and shows the status of all print jobs;
Lprm stands for “line printer remove” and removes print job;
Example: lpr Lab02 or lpr -P Epson2500 Lab02
Негізгі бет Introduction to Linux_Part 2 Basic Commands
Пікірлер