10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone.
I have a dlink cam that save recordings splitted for hours. Each hour folder contain a lot of small avi files.
Repository has the following directories structure:
\_20140101/
\_ 01
\_a.avi
\_b.avi
\_ 02
\_c.avi
... (3 Replies)
Discussion started by: setterx
3 Replies
2. Shell Programming and Scripting
Hi All,
My file is a string of around 50K character.
I'm trying to insert new line after every 320 character in my file.
I know the command to insert newline, but problem is I'm not able to search 320th position.
Please advice. (6 Replies)
Discussion started by: Amit786
6 Replies
3. Shell Programming and Scripting
hi,
i've bash script thats working...
but now i need to add a line....that prompts for user input....like yes and 1 as complete install....
so here's how it looks...
$ cd 9200 (cd into directory)
$./install (hv to type ./install to run install then ask for)
----do you want to... (4 Replies)
Discussion started by: kernel11
4 Replies
4. Shell Programming and Scripting
I am writing a shell script to cd to a folder.
folder name is "October Scripts"
I am currently storing the name of folder in a shell variable as so path="October\ Scripts/".
If I do cd $path I receive the error bash: cd: October\: No such file or directory
What am I doing wrong?
Kindly... (3 Replies)
Discussion started by: anand2308
3 Replies
5. Shell Programming and Scripting
How to simulate enter key via shell script (2 Replies)
Discussion started by: proactiveaditya
2 Replies
6. Shell Programming and Scripting
Hi,
I have a script in which i have to ask user to press the ENTER key to proceed further. can you please help me how can i achive this in my scripting?
echo "All the executables builded Successfully "
echo " Press Enter to Go Back to the Main Menu"
... (2 Replies)
Discussion started by: plaban.rout
2 Replies
7. Linux
Hi
1) I need to replace an "enter" character with another character.
I thought it should be like this (E.G)
replace all stirngs "LIAV"+enter with kokokoko:
:1,$s/LIAV^M/kokokoko/g
but it dose not work.
2) Also dose nayone know how to replace wildcards?
for... (3 Replies)
Discussion started by: liav
3 Replies
8. Shell Programming and Scripting
for automating telnet using shell script.....
as we enter alphabetic characters inside shell script...how can we do the same for the enter key......Is there any character for the enter key
so the enter key need not be pressed manually...... (3 Replies)
Discussion started by: bishweshwar
3 Replies
9. UNIX for Advanced & Expert Users
without pressing the enter key ..manually...
how can we read the enter key ..from the shell script..so that the script termintes automatically.
eg:
telnet a.b.c.d xxxx
now " how to read the enter key" tho terminate the script (1 Reply)
Discussion started by: bishweshwar
1 Replies
10. Shell Programming and Scripting
I'm using PHP in my site.
I have txt files for news.
I reads the txt files and post the news.
i have a php function that finds the caracter asc(13) which is the enter, and puts a <br>.
It works in Windows, but not on Unix.
Can u help me with that.
Thanks (1 Reply)
Discussion started by: zecarlos
1 Replies