Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mc(1) [plan9 man page]

MC(1)							      General Commands Manual							     MC(1)

NAME
mc - multicolumn print SYNOPSIS
mc [ - ] [ -N ] [ file ... ] DESCRIPTION
Mc splits the input into as many columns as will fit in N print positions. If run in an 81/2(1) window, the default N is the number of blanks that will fit across the window; otherwise the default N is 80. Under option - each input line ending in a colon is printed sepa- rately. SOURCE
/sys/src/cmd/mc.c SEE ALSO
81/2(1), pr(1), lc in ls(1) MC(1)

Check Out this Related Man Page

PR(1)							      General Commands Manual							     PR(1)

NAME
pr - print file SYNOPSIS
pr [ option ... ] [ file ... ] DESCRIPTION
Pr produces a printed listing of one or more files on its standard output. The output is separated into pages headed by a date, the name of the file or a specified header, and the page number. With no file arguments, pr prints its standard input. Options apply to all following files but may be reset between files: -n Produce n-column output. +n Begin printing with page n. -b Balance columns on last page, in case of multi-column output. -d Double space. -en Set the tab stops for input text every n spaces. -h Take the next argument as a page header (file by default). -in Replace sequences of blanks in the output by tabs, using tab stops set every n spaces. -f Use formfeeds to separate pages. -ln Take the length of the page to be n lines instead of the default 66. -m Print all files simultaneously, each in one column. -n Number the lines of each file. -on Offset the left margin n character positions. -sc Separate columns by the single character c instead of aligning them with white space. A missing c is taken to be a tab. -t Do not print the 5-line header or the 5-line trailer normally supplied for each page. -wn For multi-column output, take the width of the page to be n characters instead of the default 72. SOURCE
/sys/src/cmd/pr.c SEE ALSO
cat(1), lp(1) PR(1)
Man Page

12 More Discussions You Might Find Interesting

1. Solaris

Non-gui equivalent to SMC Management Console?

Forgive my naievety, but is there a non-Gui version of the administration tool, SMC? I need to run this on a remote Putty login and it is just plain UNIX. When I invoke SMC, I get java.lang.ClassLoader errors, a bunch of jibberish and a root prompt. I have searched Google, seems as if it... (14 Replies)
Discussion started by: jeffpas
14 Replies

2. Solaris

Config reader module in Sun MC Agent not work in E2900

Hi men, Have you ever meet this error ? I install full Sun MC 4.0 packages (+ Add ons) exception of Sun Midrange Platform Administration because i don't know how to configure it Then all other servers are ok, only E2900 servers have Config reader module error: Data Acquisition error I... (12 Replies)
Discussion started by: tien86
12 Replies

3. Solaris

How to start tomcat with 2 jdk?

Current platform: Sun OS 5.9 Solaris isainfo -v 64-bit sparcv9 applications 32-bit sparc applications Problem: Fail to start tomcat server ps -ef | grep tomcat nothing displays... Steps: Installed jakarta-tomcat-5.0.30 Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies

4. Shell Programming and Scripting

Color Underline and Bold letter in shell script

Hi All, This is my first port..... I am using AIX 5L, installed 10g database. On daily basis we takes rman backup. This backup status info strored in a log file. I write a script to know the status of back means I will fire this script and this script will send a mail to me. #!/bin/bash... (16 Replies)
Discussion started by: mcagaurav
16 Replies

5. Shell Programming and Scripting

Is this the "right" way to make an alarmclock?

I'm pretty unsophisticated in my scripting. I never followed a method to learn, I just use google when I want to figure out how to use a command or preform a certain function (and most of the results are from here or the ABSG). Anyway, there are a lot of gaps in my knowledge. So, I wanted... (13 Replies)
Discussion started by: ninjaaron
13 Replies

6. Programming

memcpy error

I am getting segmentation fault in memcpy.I have given sufficient memory but i dont know why it is occurring char *finalptr = ( char *)malloc(1048576* sizeof(char)); finaloffset=0;have=685516; memcpy(&(finalptr)+finaloffset,out,have); finaloffset=685516;have=359910;... (23 Replies)
Discussion started by: rajsekhar28
23 Replies

7. HP-UX

How to open 6000 port for XDMCP?

Hi, While login to Xmanager its showing " XDMCP connection failed. Try again? " the error attached . (15 Replies)
Discussion started by: purushottamaher
15 Replies

8. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

9. AIX

Power8 S812L:HMC issue and ...

Hi, I just bought POWER 8 ESERVER S812L from Ebay. There is no AIX on it. I am trying to install RedHat on this box But it does not recognize the hard drive and Ethernet card. I am very newbie with IBM ... please help or hints me please ... 1. can't access to HMC ports, thought it's... (21 Replies)
Discussion started by: lilyn
21 Replies

10. AIX

AIX help -reconnect EMC lun

we have an old AIX system with important data on an EMC LUN. the AIX server crashed and we had to rebuild it with the old AIX os 5.8. how do we reconnect the EMC LUN without losing the data? (15 Replies)
Discussion started by: jhudson12
15 Replies

11. AIX

[Opinion] A Public Answer To Rob McNelly

Why Do We Need Root on the HMC? In this article in IBMSystems Magazine Rob McNelly asked the question Why Don't We Have Root on the HMC? and he goes on to justify why we indeed shouldn't have root - kinda. I think his arguments are not as valid as he perhaps thinks they are and what's more... (11 Replies)
Discussion started by: bakunin
11 Replies

12. Ubuntu

Check for download before running command

This works so I do not have to manually hit my sleep button. Is there a way to make it not run if a download is occuring? (Using my browser) #!/bin/bash # # Suspend computer if no mouse/keyboard activity for 10 minutes # # The time is in milliseconds !! 3000 = 3 seconds # 1 minute = 1000... (15 Replies)
Discussion started by: drew77
15 Replies