Lab Report 01
Lab Report 01
Student Details
Name ID
1. Md Sajjad Hossen 212902032
2. OBJECTIVES/AIM
i) How to work Linux command line.
ii) How to manipulation files and directory.
iii) How to give read, write and execution permissions.
iv) How to work wildcards and there zero , single and range characters.
3. PROCEDURE / ANALYSIS / DESIGN
At first install Linux operating system on your computer. Open Linux terminal and write down
command that can manipulation and easy to user friendly.
File Manipulation :
The file manipulation is the process of make find your terminal location file read and write
permission and control files rules and regulation.
Command of file manipulation:
Pwd , ls, cd, cd.., cd ~, cp, mv, rm, touch, mkdir, rmdir, chomd, clear and exit.
Wildcards :
A wildcard is a character that can be used as a substitute for any of a class of characters in a
search.
Symbol * ? [] ^ $
Name zero or more one characters Range of Beginning End
characters. characters. characters characters
Permission:
The Linux-OS have three things that read, write and execution permission.
Command of permission :
Chmod rwx, r is read and view , w is change the file contents and execute the file and see this
script.
4. IMPLEMENTATION
File Manipulation:
Pwd: is print work directory, if you want where are you now, write terminal pwd it can show
your present address.
Ls: list directory, if you also want to see your present address or file how many people or file
store there.
Fig: 0.1
Fig: 0.2
Mkdir : Make directory, it can able to make a new directory.
Touch : create any empty file including audio, video, txt, sh and png.
Rm : remove directory, it can able to delete or remove and file .
Clear: clear display command.
Fig: 0.3
Mv: move file other directory , it like windows cut.
Cp: copy file other directory, it like also windows copy.
Exit: exit the terminal.
Fig: 0.4
File Wildcards:
This is a faster searching method, we could find the file name, size, range and character wise.
Ls *.txt : find before the extension.
Ls ?audio: character find out .
Ls [a-d]*: range of characters.
Fig: 0.4
Permission:
Ls – l: show all files which have read, write and execution permission.
chmod is command which controlling all files permission.
Chomd u+r, it mean gives view permission.
Chomd u+w, write and change contain permission
Chomd u+x , execution permission
Chomd u-r, didn’t want to give any permissions.
Short Summary of this Report:
This comprehensive report delves into the intricate world of Linux file manipulation, focusing on
wildcard usage and permissions control. Armed with a deep understanding of Linux file access and
command line nuances, this exploration uncovers the smart strategies for efficient and secure file
handling.