Linux Basic 1
Linux Basic 1
Assignment -1
1. Create a directory with a name “STARVLSI” in Linux Terminal ?
2. Create a directories at a time with a name of “VLSI@100” “VLSI@200” &
“VLSI@300” in “STARVLSI” directory ?
3. what is the command to create parent directory ? create parent directory ?
4.create a file with a name of “star1” in “ STARVLSI” directory ?
5.create multipule files at a time with out opening the files, with the name of tmp,
file1, file2, file3 & file4 in the “VLSI@100” directory ?
6.list out the all files and directories in the “STARVLSI” directory ?
7. write below information in “star1” file
HSR LAYOUT
STARVLSI
LEADSOC
BANGLORE
LINUX
STARVLSI
LEADSOC
Andhra Pradesh
Arunachal Pradesh
Assam
Bihar
Chhattisgarh
Goa
Gujarat
Haryana
Himachal Pradesh
Jammu and Kashmir
Jharkhand
Karnataka
Kerala
Madhya Pradesh
31. what is the command to print only from top to 5 lines in “star_vlsi” file ?
32 . print bottom to 8 lines in “star_vlsi” file ?
33. how to change permission for file ? assign read,execute permissions for “star_vlsi”
file ?
34. what is the command to check the unique number for file ? unique number for
“star_vlsi” file ?
35. add “ meghalaya” word to the “star_vlsi” file, now unique number for “star_vlsi”
file ?
36. what is the command to unzip(gz) the file ?
37. what is the command to untar(tar) the file ?
38. what is the command to create soft link ?
39. how to find files in terminal ?