10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've been writing a perl script that uses the require keyword. I need to use require for two files, say file a and file b. Here is a general overview of my code:
@files = ("a", "b");
foreach $file (@files){
require $file;
...
...
}
Whenever I run my script, I get subroutine "blah"... (1 Reply)
Discussion started by: chu816
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I accidentally unmounted filesystems using umount -a command.
How to recover from this. Please help. Thanks in advance!
when i try to use mount -a i got the following output.
# mount -a
mount: /dev/vg00/lvol05 already mounted or /opt busy
mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies
3. AIX
I have AIX 5.3 with oracle 10g ( test server). While trying to create RAW disk for Oracle ASM I have accidentally messed with rootvg (hdisk0 & hdisk1)
When I do
# lspv hdisk0
0516-066 : Physical volume is not a volume group member.
Check the physical volume name specified. ... (4 Replies)
Discussion started by: George_Samaan
4 Replies
4. Shell Programming and Scripting
I accidentally rm a script (typo) and it doesn't even show up in the trash. Is there any way I can recover? (3 Replies)
Discussion started by: stevenswj
3 Replies
5. Shell Programming and Scripting
hi friends,
The code:
i=1
while
do
filename=`/usr/bin/ls -l| awk '{ print $9}'`
echo $filename>>summary.csv
#Gives the name of the file stored at column 9
count=`wc -l $filename | awk '{print $1}'`
echo $count>>summary.csv
#Gives just the count of lines of file "filename"
i=`expr... (1 Reply)
Discussion started by: rajsharma
1 Replies
6. Solaris
I was trying to remove a symbolic link of /etc/hosts to /etc/inet/hosts
well i forgot the command and in the /etc directory i did unlink inet and now i can not get into inet and it does not exist in /etc
1) what do i do to fix the inet directory
2) how do i link /etc/hosts to... (1 Reply)
Discussion started by: deaconf19
1 Replies
7. HP-UX
I got this error while compiling in aCC compiler.
Error 173: "/opt/aCC/include_std/limits", line 694 # Redefined symbol
'numeric_limits<int>'; previously defined at
.
_RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
^^^^^^^^^^^^^^^^^^^^^^^^
Error... (2 Replies)
Discussion started by: onlyforforum
2 Replies
8. UNIX for Dummies Questions & Answers
Let me start by saying I am at a VERY beginner level in terms of UNIX/FTP/etc.
Someone loaded a file onto a server for me and zipped it using gzip.
I accidentally downloaded the file without using "binary".
I now have a "filename.txt.gz" sitting on my computer that I need
to unzip. Is... (2 Replies)
Discussion started by: UDcc123
2 Replies
9. Solaris
Hi All,
I have changed the shell of the root accidentally to /sbin/bash :mad:
How do I change that? :(
To change that I need to go to ok prompt I think, and there I need to mount the root file system in order to make changes to the respective file.
Can any one please suggest how do I do... (4 Replies)
Discussion started by: pintu_asim
4 Replies
10. UNIX for Advanced & Expert Users
Hi,
I accidentally deleted a big directory with all its sub-directories and bunch of source code files which I have been developing for about 2 years... What will I do now, how can I retrieve my files, directory hierarchy back ???
If anyone, please HELP ! ! ! ... (4 Replies)
Discussion started by: milhan
4 Replies