Answer Posted / siba sankar nayak
Normally the diffault shell can not be changed by user in
Solaris system. Because chsh command is not available in
Solaris environment. But one can change the default shell
in Linux environment by using following command.
chsh -s /bin/ksh
After issuing this command it will ask for passeord and if
password is given successfully then default shell will be
changed. Here you have to give the full path of shell.
Regards
Siba
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What language is bash?
How will you find the 99th line of a file using only tail and head command?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
How do I save a powershell script?
What is the best scripting language?
How will you copy a file from one machine to other?
What is .sh file in mac?
How to redirect both standard output and standard error to the same location?
How do I edit a .sh file?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What is bash shell command?
Is shell a part of kernel?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What is the use of "$?" Sign in shell script?