1
vote
1answer
23 views

Using fdisk -r to read disk in Solaris

Upon reading the fdisk's man page on Solaris, I came across the -r flag: -r Read from disk and write to stdout. See -o and -s, which specify the starting point and size of operation. Using ...
0
votes
1answer
41 views

Queue commands to last subshel even if one of them launches new shell

I want to automate something writing simple script launching consecutively few scripts one after another. And then setting some aliases at the top shell. Problem: few of these commands launch new ...
0
votes
3answers
103 views

How to tar/zip a parent directory exculding a child direcory

I want tar a direcory which contains a number of child directories. But here my requirement is to tar the entire parent direcory excuding one child directory. Is there any command or procedure for ...
4
votes
2answers
2k views

Find and Move Files up One Level

I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy. Basically I have something like ...
0
votes
2answers
343 views

How can I hide username@node in linux shell?

I want to hide username@solaris in a Unix shell. I would like something like this: $ ls -l Instead I have this: user@solaris:~$ ls -l
1
vote
3answers
436 views

Single quotes and variables inside a bourne shell

I have this command that I'm trying to execute in the bourne shell for Solaris 9. find ${DATADIR} -name "check_*" -type f -exec sh -c '$0 | ${PARSEDATA}' {} \; >> ${TMP_1} My problem is, the ...
0
votes
2answers
422 views

Copying file from unix to network drive

Solaris is the os used. I want to copy files from UNIX Machine to windows network drive. I know smbclient,ftp can be used. But is there any other best option i can use?
0
votes
2answers
833 views

Why did the rm command behave like this and what damage would i have caused

Assume am in directory /home/userA There is an environment variabe $XMLFILES that points to /u/xml/xmlfiles. The $XMLFILES environment variable is in userA's environment/profile I log on as userA ...
1
vote
2answers
50 views

Quantifying responsiveness in solaris machine

I am one of the n users of a shared unix machine. For reasons unknown, the machine is not "responsive" enough. For example, it is slow on interactive commands, it takes few noticeable moments for any ...