10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Everyone,
I am using gdb-7.5 to connect to the target. When I gave the./configure --target=xyz --build=i686-pc-mingw32 --host=i686-pc-mingw32 command then
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... xyz-mingw32... (3 Replies)
Discussion started by: Heeka
3 Replies
2. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
3. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
4. Shell Programming and Scripting
Is this possible? If so it seems like a very easy and short script.I'd like to make a script that will print a friendly message but only if it is on your personal terminal. so the code would look like this:
#!/bin/csh
if ;
then
echo "This is a friendly message :D ";
fi
thats what i have... (4 Replies)
Discussion started by: Waffles
4 Replies
5. Shell Programming and Scripting
I have a need to take the output of the who command and first strip out users with only 1 session, then of the remaining users I need only to list the ones who are using more than 1 IP address
Normal output:
tander01 pts/113 Feb 11 09:21 (10.25.1.23)
tbanks pts/81 ... (4 Replies)
Discussion started by: mshilling
4 Replies
6. Shell Programming and Scripting
Hi guys,
I'm rather new at using UNIX based systems, and when it comes to scripting etc I'm even newer.
I have two files which i need to compare.
file1: (some random ID's)
451245
451288
136588
784522
file2: (random ID's + e-mail assigned to ID)
123888 xc@xc.com
451245 ... (21 Replies)
Discussion started by: spirm8
21 Replies
7. Shell Programming and Scripting
Hi,
my code is:
------------------------------
set r=`ls -L $source_dir/*.snvf`
echo AAA
------------------------------
If does file does not exists I got on the screen
ls: No match.
AAA
How can I remove the "ls: No match." from being printed out
Regards,
Ziv (2 Replies)
Discussion started by: zivsegal
2 Replies
8. UNIX for Dummies Questions & Answers
#! /usr/tsch
foreach f (`cat contacts.list`)
awk '{printf ($2 in a) ? ","$5 : (NR>1) ? RS $2 FS $5 : $2 FS $5; a} END{print e}' $f > $f_inter.map
end
My file: cat contacts.list is just a list of files.
I get this error:
doit_contacts2intermap.sh: Command not found.
Thanks! (1 Reply)
Discussion started by: lost
1 Replies
9. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
10. UNIX for Dummies Questions & Answers
My oracle account uses tsch to use .cshrc. "Somehow" it was switch to sh and changed the login environment.
My question is who has the right to change sh to tsch or other shells? How can I change back the original setting(tsch) from sh?
This is what is appear in my /etc/passwd:
... (2 Replies)
Discussion started by: simt
2 Replies