10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
The contents of my home directory:
bin Desktop Documents Downloads folders Music Pictures Public Templates Videos
When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds
/home/myself/Downloads
/home/myself/Videos
but not "folders".
... (5 Replies)
Discussion started by: Xubuntu56
5 Replies
2. UNIX for Dummies Questions & Answers
i would like to remove a directory and also symlink target inside.
my_directory
-- file1 -> /targetpath/file1
-- file2 -> /targetpath/file2
rm -rf my_directory will not remove symlink target.
rm -rf "`readlink -f file1`" will only remove target if specifying the symlink is specified
... (4 Replies)
Discussion started by: lsy
4 Replies
3. HP-UX
Hi,
I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result
... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies
4. HP-UX
Hi,
I have installed a software using the command(swinstall -s /Softwares/Game.pkg AngryDog.nwr-cbin @/z_temp). During installation I didn't find any error, also I can find a folder structure(opt/angrydog...) getting created under "/z_temp" and all files are present. But software is not working.... (1 Reply)
Discussion started by: Thunderbird288
1 Replies
5. Shell Programming and Scripting
Goal: I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup",
It will move all the files that end in "~" into the specified backup folder.
Here is my code currently, and I'll explain the problem after:
.PHONY: backup
backup:
@mkdir -p... (2 Replies)
Discussion started by: Xploit
2 Replies
6. Programming
I am trying to setup gdbserver debugging on my i386 target platform and running gdb from x86_64 host.
I always get could not load vsyscal try using file etc.. error.
Is there a clean way to setup a cross target gdb.
PS: I also tried set archi i386 on host side. (2 Replies)
Discussion started by: dragonpoint
2 Replies
7. Shell Programming and Scripting
Hello,
Currently I have a painstaking process that I use to move file for a monthly archive. I have to run the same two commands for 24 different directories. I wish to have a script with a for loop automate this and I have not been able to succeed. Here is what I do 24 times. I know this is... (5 Replies)
Discussion started by: jaysunn
5 Replies
8. UNIX for Advanced & Expert Users
hi all.
i have omniswitch 6800 that runs vxworks 5.4.x
The folder that is result of compiling my image consists of :
-rw-r--r-- 1 root other 8128249 Jun 21 05:21 Kbase.img
-rw-r--r-- 1 root other 971810 Jun 21 06:07 Kos.img
-rw-r--r-- 1 root other 295076 Jun 21... (0 Replies)
Discussion started by: sadgb
0 Replies
9. Shell Programming and Scripting
Hi!
I need to read in the first line from a text file (which will only ever have one line in it), so I tried this....
while read line
do
echo $line
done < $file
But this wasn't returning anything. So I tired a different file, which had multiple lines of text in it, and it returned... (2 Replies)
Discussion started by: davewg
2 Replies
10. UNIX for Dummies Questions & Answers
hi in vi, i have a file and i wanted to replace all wnix to unix. is the below correct.
c/wnix/unix g...
i have tried , and the above is not right...
help? (7 Replies)
Discussion started by: yls177
7 Replies