Unix Blog

 
 
 
$ chmod 644 new

    Related Post:
  1. Write a shell program to find the position of substring in given string

  2. Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension

  3. How delete directory with files?

  4. Split a large file into small files

  5. Shell script that takes filename or the filename with its full path as an input during execution and display ls -l command result for inputted file

  6. Write a shell program to find the sum of the series sum=1+1/2+...+1/n

  7. Find all lines in a file with words longer than 4 characters, assuming that words are separated by spaces except at the begining or end of line

  8. Display your current working directory

  9. Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.

  10. Explain two functionality of “mv” command with example?

  11. Write a shell script to find sum of digits of a number

  12. Script to count and report the number of entries present in each subdirectory mentioned in the path, which is supplied as a command-line argument

  13. Shell script to check dir directory if it exists then change the path, if not then create dir with that name and also check for file name not exists

  14. Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.

  15. Write a shell script to find how many terminals has this user logged in

  16. Append abc.txt, xyz .txt

  17. Write a shell script to sort the given numbers in descending order using Bubble sort

  18. Shell script which whenever gets executed displays the message “Good Morning/Good afternoon /Good Evening “depending on the time it get executed

  19. Convert first1.txt file to hidden file

  20. Shell Script to display the exit status using grep command which search a string from a string

 
 
Didn't find what you were looking for? Find more on How to change permission of file as 644?