No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i need to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether the argument is … |
|
i want to give a filename in commandline itself and want to check whether it is a directory are not.shall i use this command if [ -f $filename ] |
|
i want to compare 2 strings shall i use this command if [ s1=s2 ] |
|
. Write a shell script to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether … |