Search Results

Search: Posts Made By: gautamshaw
9,291
Posted By gautamshaw
ok First i did this: #ksh then i did...
ok First i did this:

#ksh

then i did this:

echo $SHELL

The output i get is this:

/bin/bash

why not the output is /bin/ksh then?

---------- Post updated at 04:05 AM ----------...
9,291
Posted By gautamshaw
So you want to say that #csh will change the...
So you want to say that #csh will change the current shell to c shell,correct?

What is the system command to check in which shell i am working at present?
9,291
Posted By gautamshaw
Changing from one shell to another
Hi all,I installed cent OS in my machine. Now when i open the terminal and start writing some commands, then by default with which shell i am working with?

Will i be able to change the shell and...
1,089
Posted By gautamshaw
find / -name Gautam.* in the above command...
find / -name Gautam.*

in the above command what is the need of / as if i do

find -name Gautam.*

then also it works

Please explain
1,089
Posted By gautamshaw
Searching a file
Hi all,
I have a file named "Gautam" saved in my machine in some particular location.I want to find the exact location of the file in the file system by writting a command but i dont have any idea...
3,636
Posted By gautamshaw
Searching a particular character in a file
Hi, I want to search how many times is "a" present in a file named "data". How to do this? Please help
1,035
Posted By gautamshaw
Thanks for the help :)
Thanks for the help :)
1,035
Posted By gautamshaw
SED Problem
Hi all,
I want to replace the first two occurances of "Gautam" with "Gomzy" using the sed command. if i do this:

sed 's/gautam/gomzy/g' <filename>

Then it replaces all the occurances of...
2,577
Posted By gautamshaw
Concept Of Array
Hi all, I used array a lot in C,VB,C# and java but now i am very new to shell programming,so i need a start of array in shell programming. All i want to do is read a string and put it into a...
2,186
Posted By gautamshaw
oops..............i forget that $ i used to read...
oops..............i forget that $ i used to read the contents of a variable............

sorry my mistake

thank you for the help

have a nice day :)
2,186
Posted By gautamshaw
Addition
Hi all,
I am very new to shell programming and trying to learn out the basics.
I tried this:

$ echo `expr 20 + 30`

and it worked. But when i tried this,it does not work.

$ a=20
$ b=30...
Showing results 1 to 11 of 11

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