Search Results

Search: Posts Made By: erora
4,543
Posted By erora
Need to filter data from a file
Hi,
I have a file with hundreds of records.
There are four fields on each line, separated by semicolons.
Name
Height (meters)
Country
Continent (Africa,Asia,Europe,North...
3,981
Posted By erora
echo "$$date"
Hi
When giving this command, it prints 264date or echo $$ prints 264. What does this 264 mean?
55,154
Posted By erora
Hi Thanks, got it. So, instead of using let...
Hi
Thanks, got it.
So, instead of using let and still have the same effect, I can use expr right?

A=2
B=5
C3=`expr $A + $B`
echo $C3

Let command is just simpler since I do not need to use...
55,154
Posted By erora
Let statement
I came across the following program:

if test $# = 3
then
case $2 in
+) let z=$1+$3;;
-) let z=$1-$3;;
/) let z=$1/$3;;
x|X) let z=$1*$3;;
*) echo Warning - $2 invalied operator,...
3,311
Posted By erora
Extra control characters being added when I create a file using cat command
Hi,

I am using Cygwin.I created a new file and type into it using cat > newfile. When I open this using vi editor, it contains loads of extra control characters.
Whats happening?
52,509
Posted By erora
Nope, Clear is not recognized. I get command not...
Nope, Clear is not recognized. I get command not found error.
I thought maybe I missed a package while installing Cygwin. Please help

---------- Post updated at 09:37 PM ---------- Previous...
52,509
Posted By erora
Hi Corona688, I did the following as...
Hi Corona688,

I did the following as suggested by you,

alias cls='echo -en "\x0c"'

Sourced the .bashrc file. No errors but cls still does not clear the screen.
Infact when I typed the echo...
52,509
Posted By erora
Clear Screen Command for BASH shell
I am unable to use clear or cls command on bash shell. I have recently installed Cygwin and am using that for practicing unix commands.

I see that I can use Ctrl + L to clear the screen. I...
6,548
Posted By erora
Unable to declare a variable in Cygwin
I recently installed Cygwin on my windows vista to practice on Linux\unix commands.
I am unable to do a simple task of declaring variables on the command prompt
I am trying:

$ vech=Bus
$ echo...
35,074
Posted By erora
vi Editor on Cygwin
I installed Cygwin today and my vi editor was not working i.e. on while using vi command, I was getting "command not found" error.
I realized that many have faced this problem and the previous...
Showing results 1 to 10 of 10

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