Search Results

Search: Posts Made By: Ibrahims1
8,116
Posted By Ibrahims1
Thanks every one for your support , i will try to...
Thanks every one for your support , i will try to follow all what you said, it may need more reading before i become able to understand every recommendation, i will do my best. thanks again
8,116
Posted By Ibrahims1
Hi Don i saw post 8 and i tried, in post 9 i...
Hi Don

i saw post 8 and i tried, in post 9 i mentioned that i don't know how to use the command to solve the problem that was suggested in post 8 , i mentioned as well my file location so i wish...
8,116
Posted By Ibrahims1
Hi Corona , so how can i get rid of what windows...
Hi Corona , so how can i get rid of what windows is adding (as in my code i dont see this ^M ) ...
8,116
Posted By Ibrahims1
hello Marck i installed VSC , it is much...
hello Marck

i installed VSC , it is much friendly , thanks , however i still get the error as below :

#!/bin/bash
echo -e "Enter the name of the file : \c"
read file_name
if [ -e $file_name...
8,116
Posted By Ibrahims1
Hello Rudic actually in the beginning i was...
Hello Rudic

actually in the beginning i was using visual studio and get the error , when i moved to vi it is solved
i proceed with the code for more line commands and got new error , actually i...
8,116
Posted By Ibrahims1
hello regarding (Remove ALL ^M characters in...
hello

regarding (Remove ALL ^M characters in it) , my code does not have this in the commands i write so i don't know how to remove them .
8,116
Posted By Ibrahims1
hello Bakunin , thanks for the detailed...
hello Bakunin , thanks for the detailed explanation , regarding your recommendation to get rid of that , where shall i use this command ? i tried and not work , i think may be because file of...
716
Posted By Ibrahims1
Error with file test script
Dear friends

i am getting error when i run below script

#!/bin/bash
echo "Enter the name of the file"
read file_name
if [ -f $file_name ]
then
If [ -w $file_name ]
then
echo "add some...
8,116
Posted By Ibrahims1
hello thanks for your replies, here are the...
hello

thanks for your replies, here are the feedback you asked for :

1- i am using Cygwin on my windows 7 machine.
2- i am using visual studio 2010

$ cat -A hello
#!/bin/bash^M$
echo -e...
8,116
Posted By Ibrahims1
Error code with if statement
hello all


im new to unix and when i use below script i get an error :


#! /bin/bash
Echo -e "enter the name of the file : \c"
read file_name
if [ -e $file_name ]
then
echo "$file_name...
Showing results 1 to 10 of 10

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