Search Results

Search: Posts Made By: linux_learner
Forum: Ubuntu 03-15-2012
3,600
Posted By linux_learner
1. First go the directory where the file is...
1. First go the directory where the file is saved.
2. Try ls command to check if the file is there or not.
3. Try cat filename command to display it. Use the filename with extension i.e....
Forum: Ubuntu 03-15-2012
2,467
Posted By linux_learner
Wireless network not working
Hi,
I am a new to Ubuntu linux and trying to learn it. I am using ubuntu 10.04. I am getting problem in setting my wireless network. I set it up properly and was working fine. But suddenly it...
13,337
Posted By linux_learner
Thanks Scrutinizer, now it is clear to me.
Thanks Scrutinizer, now it is clear to me.
13,337
Posted By linux_learner
Thanks methyl and Scrutinizer, now it is clear to...
Thanks methyl and Scrutinizer, now it is clear to me and it is working as expected.

@Scrutinizer, could you please explain me how to check which shell is being used when I am running some script...
13,337
Posted By linux_learner
I was calling the script as sh scriptname
I was calling the script as sh scriptname
13,337
Posted By linux_learner
Methyl, it is not the same problem as the...
Methyl, it is not the same problem as the previous one.
In the previous case, the script was executed from cygwin terminal in win xp environment. But now I was trying to run the script from linux...
13,337
Posted By linux_learner
Thanks everyone for your suggestion. But my focus...
Thanks everyone for your suggestion. But my focus was to run the script, not the algorithm to count the vowels. Sorry for misguiding you.
My problem is that whenever I am trying to run any script...
13,337
Posted By linux_learner
Read command not working as expected
I was trying to write a simple script which will read a text file and count the number of vowels in the file. My code is given below -


#!/bin/bash
file=$1
v=0

if [ $# -ne 1 ]
then
...
6,019
Posted By linux_learner
Thanks Corona and Agama, yes both were the...
Thanks Corona and Agama, yes both were the problem.
Once I converted to unix format using dos2unix, I identified the other problem as well. Now it is working fine.
6,019
Posted By linux_learner
Running shell script in Cygwin terminal
I am new to shell scripting.
I tried to run a simple shell script using Cygwin terminal in Win XP env.
The script I have written is as follows -

#!/bin/bash
a=5
[[ "$a"== "5" ]] && echo...
Showing results 1 to 10 of 10

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