I'm just starting the Shell Programming, currently in chapter four in the Book in Unix, Linux, and OS X by Stephen G. Kochan & Patrick Wood (4th edition).
I'm needing a little help with other possible ways to shorten this shell command:
It's purpose is to bed used in ed with a file open with possible matches.
This question was presented as follows:
Using the Regular Expression techniques that we have discussed in class develop, test, and submit a regular expression that will identify each of the following patterns.
An American Express credit card number that fits the following format: 4 digits followed by a space followed by 6 digits followed by a space followed by 5 digits.
Any input or help would be greatly appreciated!
If not, I'm happy to be a member here!
Thanks
Moderator's Comments:
Please use code tags for you code and data, as requested by our forum rules, thanks
Last edited by vbe; 07-10-2017 at 03:19 AM..
Reason: code tags please even for so lttle...
Hi
from a script i want to to read a file beginning at line e.g. number 21 to the EOF.
less +n21 temp.txt
Bevor the result, it brings an empty page, so that i cant use for scripting.
Any idea how the problem can be solved?
Thanks in advance!
IMPe (2 Replies)
Hello All,
Real Newbie to AIX
I need to automate an FTP server to Server.
Want to push the files from an AIX server to an OSX server.
What would be the best command in AIX to do this?
Need help copying contents of \UVdata to 172.16.12.2\ERAbackup\1
Or Alternatively would it be better... (1 Reply)
a task given to me is to make a shell which will have the following qualities....
"The most rudimentary shell is structured as the following loop:
1. Print out a prompt (e.g., "OS_Spring2011_Shell$ ");
2. Read a line from the user;
3. Parse the line into the program name and an array of... (2 Replies)
hi every body, i am ramesh.
i want write about this shell program (" i have 94 server's like aix, solaris, linux, hp-ux, and sco unix-") how to get mail's from these server's?
(i have personal linux system)- i want to run this program in my personal linux system continuously.
i want to... (4 Replies)
Discussion started by: rameshreddy.ema
4 Replies
6. Post Here to Contact Site Administrators and Moderators
I'm not so sure that this thread should have been closed. Though it was clearly homework the student was asking a specific question related to the assignment, but not the answer to the whole assignment.
/www.unix.com/unix-dummies-questions-answers/107494-how-get-rid.html .
IMHO The solution is... (1 Reply)
Actually, I had my first problem before even BEGINNING using my FreeBSD.
The installation guide said I should run the rawrite tool and should do something like
A> rawrite
if i put the the file I want to image-copy and the rawrite.exe in the same directory somewhere. OK done that. Next it asks... (6 Replies)
i am fairly new to unix, and i would want a very simple, small command-line operating system to learn as much as possible. are there any good ones? i have a fairly old laptop w/ about 700 MB, running windows 95. i would like to partition it, anyone know how to do that? any help is very much... (1 Reply)
:D
Hello Everyone,
This is my first post on this forum, and I a already like it :-)
As you can tell I am a complete newbie to Apache. My mission is to setup a web server on my Suse Linux 8.1 box, initially for test purposes, and then if my ISP provider permits, then to allow other poeple... (10 Replies)