linux and shell programming lab question
LINUX and SHELL PROGRAMMING LAB
linux program pdf
1. Write Linux command to Display root directory contents, Display hidden files and directories,
Display inode information,
2. Write Linux command to Create a new file and add some data.
3. Write Linux command to Append data into the file.
4. Write Linux command to concatenate several files and display it.
5. Write Linux command to remove more than one files at once.
6. Write Linux command to delete a directory tree.
7. Write Linux command to copy files from one location to another.
8. Write Linux command to divide a file into several parts.
9. Write Linux command to copy folder and subfolders.
10. Write a shell script that displays a list of all the files in the current directory.
11. Write Linux command to create directory and set permissions and remove the directory.
12. Write Linux command to move a file from one directory to another.
13. Write Linux command to find differences between two files.
14. Write Linux command to move multiple files into another directory and rename file.
15. Write Linux command to displays a count of lines, words, and characters in a file.
16. Write Linux command to change the permissions of a file or directory.
17. Write Linux command to becoming the superuser for a short while.
18. Write Linux command to list information about all processes most frequently requested.
19. Write Linux command to display dynamic Realtime view of the running system process.
20. Write Linux command to create a background process.
21. Write Linux command to kill the background process.
22. Write Linux command to create a process and change its priority.
23. Write Linux command to display text in the terminal screen.
24. Write Linux command to sort the lines in a text file.
25. Write Linux command to list the names of users currently logged in.
26. Write Linux command to display amount of disk space in use for the files or directories you specify.
27. Write Linux command to display number of disk blocks and inodes used and free for each file
system.
28. Write Linux command to find a files and directories.
29. Create a file using touch command in Linux.
30. Write Linux command to create a background process and delaying its execution.
31. Write Linux command to scheduling a process.
32. Write Linux command to shut-down the system.
33. Write Linux command to listing all files and directories and count number of lines, words, and
characters.
34. Write Linux command to performed basic arithmetic calculation.
35. Write Linux command to compare two numbers.
36. Write Linux command to find the square root of the number.
37. Write Linux command to find the length of a string.
38. Write Linux command to convert units from one scale to another.
39. Write a shell script that receives any number of file names as arguments checks.
40. Write a shell script find whether the year is leap year or not.


Comments