10 More Discussions You Might Find Interesting
1. AIX
Hi,
I need to know on which volume group filesystem resides.
TIA (5 Replies)
Discussion started by: sumanthupar
5 Replies
2. Shell Programming and Scripting
Hi All,
I am trying to create a shell script which runs on my linux machine.
The requirement is so that,
ade createview xyz -> this steps creates a view
ade useview xyz -> we are entering inside the view
ade begintrans -> begin a transaction
My script has following code :
lets say... (2 Replies)
Discussion started by: Dish
2 Replies
3. Solaris
I have been trying to fill all available file space on my Solaris box for my project but have not been successful. I have tried the following script:
tr '\0' '\060' < /dev/zero | dd of=zero2.txt bs=1024 count=1953125
But the only thing i get in return is this:
"d: bad numeric argument:... (8 Replies)
Discussion started by: rbur101
8 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am trying to execute a command using ssh as below.
ssh user123@servername "which ctmcontb"
It is gving the error as below
no ctmcontb in /usr/bin /usr/sbin /opt/sysadm/bin
Not sure from where the PATH is getting picked up.
But When I login direclty to the server I am... (5 Replies)
Discussion started by: anilreddy103
5 Replies
5. AIX
Guys
I'm working to make in AIX script and I have some commands need to be excited by that script
Like the below commands ...
startsrc -s sshd
I want that executing to be in the background of the system I do not like to see the out put of that (3 Replies)
Discussion started by: Mr.AIX
3 Replies
6. Shell Programming and Scripting
Hello,
I've been trying to run 'ls -1R | wc -l' inside of sub directories to in order to determine how big each folder is.
find . -maxdepth 1 -type d | while read folder
do
cd "$folder" &&
echo "$folder has $(ls -1R | wc -l) files" &&
cd ..
done
or
for... (3 Replies)
Discussion started by: NoobProgrammer
3 Replies
7. Solaris
How do we determine what command was used (either newfs or mkfs) to create a filesystem?
Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies
8. Shell Programming and Scripting
Hey all,
How do I execute a file at startup automatically.
From what I've read is that I need to put it into my .bashrc file. I'm not sure where to go from there. Can I just type commands into that and they'll run next time I restart my server?
Right now I have added these lines:
cd... (2 Replies)
Discussion started by: NathanWarden
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need to execute the following unix command through my java code -
zip -e
When i execute this command from the command prompt, i am prompted for a password in the following manner -
Enter password:
Verify password:
Is it possible to provide the password inthe first command itself... (5 Replies)
Discussion started by: jacob23
5 Replies
10. Solaris
I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies