Formatting Question


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Formatting Question
# 1  
Old 03-04-2019
Formatting Question

Good Morning-


I've been cloning a Solaris 9 SPARC machine using ufsrestoreand have successfully restored drive 0. Now I'm trying to set up the mirror drive. To label and format the new drive, I used
Code:
#format -e ->select c0t1d0 ->label ->select SMI ->select no ->select no ->select yes

and let the machine sit overnight. When I came back, the command had not completed. Whenever I type something it I get (Whatever I typed)is not an integer Does anyone know that it's expecting or what I did wrong?


(Sorry I didn't add tags- I don't see the option for some reason.)

Last edited by Stellaman1977; 03-04-2019 at 10:30 AM.. Reason: Add Tags
# 2  
Old 03-05-2019
Alas i can't help you with your problem, as i am Solaris-illiterate.

Quote:
Originally Posted by Stellaman1977
(Sorry I didn't add tags- I don't see the option for some reason.)
This, though, is easy: simply write [code]...<yourtext>....[/code]. For example:

"[code]while /my/cmd ; do (( passes += 1 )) ; done[/code]"

will look like:

Code:
while /my/cmd ; do (( passes += 1 )) ; done

Similar with the [icode]...[/icode]-tags. You can use them to mark up single words or very short phrases, like:

"Use [icode]/path/to/file1[/icode] as an input for [icode]/usr/bin/thiscommand[/icode]."

Which will look like this:

Use /path/to/file1 as an input for /usr/bin/thiscommand.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 03-05-2019
Thanks.. Not the code tags though- I was able to do those. I meant the thread tags. It looks like someone put them in for me- format, formatting, newbies, question

Useful information though. As I type these, the tag buttons you are talking about are not showing up but thread tags are!

--- Post updated at 09:32 AM ---

I played around with this a little more. It looks like the command might be too long? When I finish typing it in, I only see:
Code:
select c0t1d0 ->label ->select SMI ->select no ->select no ->select yes

The #format -e -> seems to get cut off.

I'm running this from single user mode. I wonder if I can run the command from terminal. Or is there a way to shorten the command?
# 4  
Old 03-05-2019
Quote:
Originally Posted by Stellaman1977
... I meant the thread tags.
Just click the "Edit tags" at the top right of the tags section.
Quote:
It looks like someone put them in for me- ...
When creating a thread, some default - not necessarily spot on or meaningful - tags are added automatically. Edit to taste.
This User Gave Thanks to RudiC For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

GREP Formatting Question

I have the following nmap file output with the multiple IP’s listed in the format below. Is there a way that GREP can format the output to just display IP and any ports that contain 'http' for that IP on its own line? file: Host: 192.168.1.xxx () Ports: 80/open/tcp//http///,... (3 Replies)
Discussion started by: FCoda10
3 Replies

2. UNIX for Dummies Questions & Answers

Data manipulation/ formatting question

How would I get this output to look $ cat newfile 13114 84652 84148 LIKE THIS?: 13114,84652,84148 sed,cut awk? syntax? (2 Replies)
Discussion started by: ddurden7
2 Replies

3. Shell Programming and Scripting

formatting

I have file with different columns for ex. contents of file "txt" NAME AGE MARKS HARRY 23 89 TOM 12 67 BOB 23 11 and you see its not formatted.Now, I need the file "txt" to be formatted like COLUMN1 COLUMN2 COLUMN3 NAME AGE ... (3 Replies)
Discussion started by: vijay_0209
3 Replies

4. Shell Programming and Scripting

Question about formatting output using AWK

Hi everyone. I've got this fille... 0 5000001 5000002 5000003 5000006 5000007 5000219 11000156 11003130 11003132and this script... #!/bin/ksh FILE_ALERT_CONTACT_LIST=users.txt userID=`awk -F"=" '{printf $1 ", "}' $FILE_ALERT_CONTACT_LIST` (9 Replies)
Discussion started by: Fatbob
9 Replies

5. UNIX for Dummies Questions & Answers

Question about formatting the output

I need to ask a question on how to format the output in a csv format. Right now i am running a shell script which executes a command and the following output is append through a unix script in a .csv file. So the output of xyz.csv is as follow :- 1. Number = 25 Amount $84,132.22 2.... (1 Reply)
Discussion started by: chris1234
1 Replies

6. Shell Programming and Scripting

Text formatting question

How can i change the display of a text file containing 4980 167 187 4980 167 187 4980 167 180 4980 167 180 4980 167 179 4980 272 174 (7 Replies)
Discussion started by: aliaa2a
7 Replies

7. UNIX for Dummies Questions & Answers

Question about formatting results

OK, I have a command that is getting a result, that I am trying to format using awk. I think it's pretty ugly, and there is probably a better way to do it, but this is sorta working for me. Anyway, the command: cat /var/log/cups/page_log | grep testuser | grep My_office_printer | awk '{gsub... (5 Replies)
Discussion started by: TheCrunge
5 Replies

8. UNIX for Dummies Questions & Answers

formatting

Hi Again Guys , Please i installed linux RH 6.1 on Toshiba , 10G , RAM=128 , 600 MHZ . After i installed linux i got many error messages , seems it was not installed correctly , also when i finished installation it did not ask me for the 2nd installation CD , and when i logged as root , i... (5 Replies)
Discussion started by: tamemi
5 Replies

9. UNIX for Dummies Questions & Answers

formatting

I've been asking on IRC channels but no one answers me, I need to format my hard drive, normally it's just format c: but c doesn't exist, how do I format when I have linux mandrake installed. Please reply to this quickly, I'm kinda in a rush :( (1 Reply)
Discussion started by: darryll777
1 Replies

10. UNIX for Dummies Questions & Answers

disk formatting question

Currently I have a box that I am dual-booting Win98 & Linux on. I have an unformatted 3 gig slice that I would like to install Soloris 8 x86 on. Are there any issues I should be aware of? How close is the x86 install to the sparc install? The Linux partition will be going away but I need to reatain... (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question