Search Results

Search: Posts Made By: pandeesh
4,639
Posted By pandeesh
Can you explain this? Where we can find out the...
Can you explain this? Where we can find out the flat file?
4,639
Posted By pandeesh
Thanks! I have tried the below code for listing...
Thanks!
I have tried the below code for listing out all the shells:

#!/bin/bash
echo $SHELL
#!/bin/sh
echo $SHELL
#!/bin/csh
echo $SHELL
#!/bin/ksh
echo $SHELL
#!/bin/csh
echo $SHELL...
4,639
Posted By pandeesh
Thanks!! pandeeswaran@ubuntu:~$grep...
Thanks!!
pandeeswaran@ubuntu:~$grep "pandeeswaran" /etc/passwd|cut -d: -f7
/bin/bash
also works

---------- Post updated at 11:53 PM ---------- Previous update was at 11:51 PM ----------

i...
4,639
Posted By pandeesh
default shell for the user
for example, if we specify,#!/usr/bin/ksh then the script will be executed in korn shell.
If we don't specify that line, the script will be executed using the default shell.
So, how we can identify...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy