06-17-2016
yes. I am aware that filenames could have spaces. but in this case they will NEVER have spaces, or numbers, or characters. all lower case text, no spaces.
yes a loop would probably be definite solution for all cases, but this case we are just copying a small amount of files (6 or so).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
if my user has to enter the name of months to carry out a search how can I limit the input values to only the month names and nothing else?
so far my input criteria for the user is this:
i would like it so the user can only enter the months in the way i have stated. otherwise they would... (11 Replies)
Discussion started by: amatuer_lee_3
11 Replies
2. Shell Programming and Scripting
Hi,
Lets say I have a script "ss" which does this
read abc
echo $abc
read pqr
echo $pqr
Now if I want to pass and argument to only "abc" how do I do it.
If I do
echo "somevalue" | ss, it does not prompt for pqr and its value comes out as blank.
Any help is appreciated
Thanks
P (6 Replies)
Discussion started by: patjones
6 Replies
3. Shell Programming and Scripting
I need to write what I thought would be a fairly simple 2-line UNIX script. It can be written PERL, csh, ksh...or whatever is easiest.
The entire script will be:
Begin Scipt
source MySourceFile
execute MyExecutable.exe
End Script
The problem is that MySourceFile can not be... (1 Reply)
Discussion started by: MMorrison
1 Replies
4. Shell Programming and Scripting
Hi Friends,
I am wrinting a shell script MorningChecks.sh which will call another script StartServer.sh. But the latter script requires user's inputs to complete. I want to automate this.
So can you please let me how this can be achieved?
Any help would be highly appereciated.
... (3 Replies)
Discussion started by: singh.chandan18
3 Replies
5. Shell Programming and Scripting
Hi,
I am using solari 10 OS which is having bash shell.
I need a shell script which takes user home directory and name of the file or directory as a input and based on that copy the files accordingly to the other directory.
example:I hava a machine1 which is having some files in a... (8 Replies)
Discussion started by: muraliinfy04
8 Replies
6. Shell Programming and Scripting
I want a script that will prompt a user to enter 10 numbers and out put them into a file. This what I have so far, but isn't working. I'm guessing it's something easy I'm not seeing. Thanks for any help.
#!/usr/bin/ksh
echo "Enter 10 numbers"
for i in 1 2 3 4 5 6 7 8 9 10
do
read .... ... (8 Replies)
Discussion started by: AxlVanDamme
8 Replies
7. Shell Programming and Scripting
Hi,
Am trying to store the user inputs into a file, but the below code will store only the first line of the values. I need to store all the user input values which may contain one or more lines. Thanks in advance.
echo "please enter file names";
read name;
echo $name>/tmp/test (11 Replies)
Discussion started by: rogerben
11 Replies
8. Shell Programming and Scripting
Hi Everyone,
1) I really cannot figure out how to pass multiple user inputs in a script. really need your help re this. below is the script.
-----------
#!/bin/sh
# script name: ask.sh
echo "Enter name: \c"
read NAME
echo "Your name is $NAME\n"
echo "Enter age: \c"
read AGE
echo... (5 Replies)
Discussion started by: mcoblefias
5 Replies
9. Shell Programming and Scripting
Hello,
I am new to awk and I am trying to figure out how to print an output based on user input.
For example:
ubuntu:~/scripts$ steps="step1, step2, step3"
ubuntu:~/scripts$ echo $steps
step1, step2, step3
I am playing around and I got this pattern that I want:
... (3 Replies)
Discussion started by: tattoostreet
3 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am new to bash scripting and i wanted to make a bash script that will generate a password for a user. The user must enter his/her name and the url of the site the password is used for. And the script will generate a password with those two elements in the password. So if the url is... (0 Replies)
Discussion started by: Kvr123
0 Replies
LEARN ABOUT REDHAT
memory_cb
MEMORY_CS(4) Kernel Interfaces Manual MEMORY_CS(4)
NAME
memory_cb - CardBus memory driver
SYNOPSIS
insmod memory_cb.o [pc_debug=n]
DESCRIPTION
Memory_cb gives direct memory access to the address spaces of CardBus cards. It provides character-mode devices for accessing a card's PCI
configuration space, up to six mapped memory or IO regions, and its expansion ROM space. When loaded, memory_cb will allocate a free major
device number. For each card, it will report which address spaces are available, and their sizes. Minor numbers have the form 'dddddsss',
where 'ddddd' is the instance number and 'sss' is the memory space for that instance. When memory_cb is bound to a card, it will report
its major and minor device numbers to cardmgr(8).
The default memory card initialization script creates device special files for all eight card address spaces, though for a particular card,
some of these may be unavailable. These devices have the following names:
/dev/cbmem#s0
The card's PCI configuration space.
/dev/cbmem#s[1-6]
The IO or memory spaces mapped by the card's six Base Address Registers.
/dev/cbmem#s7
The card's expansion ROM space.
The character special devices can be used to read and write arbitrary numbers of bytes to arbitrary locations. The memory_cb driver can be
bound to any card regardless of function.
PARAMETERS
pc_debug=n
Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero
value enables debugging.
AUTHOR
David Hinds - dahinds@users.sourceforge.net
SEE ALSO
cardmgr(8), pcmcia(5), memory_cs(4).
pcmcia-cs 2000/06/12 21:24:48 MEMORY_CS(4)