Command Functionality


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Command Functionality
# 1  
Old 09-07-2012
Command Functionality

Hi everyone, today i need that someone help to understand this particular line of command.
So you can explain to me step by step, it will be great.

---------- Post updated at 11:53 AM ---------- Previous update was at 11:51 AM ----------

Quote:
Originally Posted by Newer
Hi everyone, today i need that someone help to understand this particular line of command.
So you can explain to me step by step, it will be great.
# 2  
Old 09-07-2012
Is your post not missing something? (the command line perhaps... Smilie )
This User Gave Thanks to vbe For This Post:
# 3  
Old 09-07-2012
Computer

Yeaph but i really don't know where to put it, cause the moderator, told me that i can't put inside this area, so i put in the next field to this one, but obviously, it doesn't work, i guess i'm a little dummie, don't you think? jajaaja

---------- Post updated at 12:24 PM ---------- Previous update was at 12:22 PM ----------

Well never mind, could tell me what's the meaning of pr -124?

Last edited by vbe; 09-07-2012 at 12:31 PM..
# 4  
Old 09-07-2012
Answer about how: use icode instead of code (in square braquets...)
# 5  
Old 09-07-2012
about the command itself, its difficult to say.. because there it seems out of context..
Where does it come from?
(clues I understand pr as pr "print" the formatting command, look at the man pages...)
# 6  
Old 09-07-2012
This may not be clear if you're not used to man pages, -124 is a weird-looking option Smilie It appears that a number, by itself, just refers to the number of columns you want in pr's output here...
# 7  
Old 09-07-2012
But you agree corona I imagine the command behind a pipe, or I am myself a bit lost... Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Grep command functionality - discussed

what is the following bash command does grep `date +%Y-%m-%d --date='1 day ago'` /path/to/file/FILE_PREFIX_\`date +%Y%m%d --date='1 day ago'`.dsv | grep -v 'ERROR' | cut -d "|" -f 2 | sed 's/^0/27/' (1 Reply)
Discussion started by: tera
1 Replies

2. UNIX for Dummies Questions & Answers

Zip -r Functionality

Hi , I've written the following code to zip the big file $dir_temp ="/home/etc/hst zip -r $dir_temp/file_nm.zip $dir_temp/file_nm The zip file has been created . When I try to UNZIP the file with the following command unzip file_nm.zip The file got unzipped but created in the... (3 Replies)
Discussion started by: smile689
3 Replies

3. Shell Programming and Scripting

Wait functionality in Solaris

hi all , If pid is not an active process ID, the wait utility will return immediately and the return code will be 0. i just came across this which means that wait will returm 0 even though the script has failed :( so can anyone tell me what is the exact way to get the return status from wait... (3 Replies)
Discussion started by: Rahul619
3 Replies

4. Shell Programming and Scripting

Trigger functionality in Unix

Hi, I want a script , which searches the log for the term/phrase "JFSnapshotService::systemSnapshot: Starting data capture. This may take awhile depending upon system workload." and if there is some logging like this, it has to mail me that this data capture process is happening., Below is... (2 Replies)
Discussion started by: cratercrabs
2 Replies

5. UNIX for Dummies Questions & Answers

Help with the functionality of the last (&/or who) command.

I'm a Bash Newbie, hope you guys can help. n.n Ok, So I need to make a script that will get a list of the Users that are/have logged in (recently). I've been wondering how to get it with either the last or the who command. This Poses a problem, as with who, it ONLY shows the Users... (3 Replies)
Discussion started by: lsteamer
3 Replies

6. Shell Programming and Scripting

Pipe Functionality

Hi, I am trying to emulate the '|' functionality through pipe function call. I am passing the o/p of exec in parent as input to the exec in child. The buf is readin the o/p but the exec in child is not working. Can somebody checkout the code and point where am i going wrong or missing something.... (3 Replies)
Discussion started by: amejoish
3 Replies

7. UNIX for Dummies Questions & Answers

using functionality in another ksh

i have a function defined in one ksh i want to use the same functionality in another ksh i am using . ../<ksh name> but it is not picking that functionality what i have to do for the same (2 Replies)
Discussion started by: trichyselva
2 Replies

8. Shell Programming and Scripting

Restartibility Functionality....

Hello, I am trying to write a script that has a option of restarting the script from where it failed. I have to write a script called Batch.sh. This script has to run quite a few sql files as shown below: logcmd.sh -f test1.sql logcmd.sh -f test2.sql logcmd.sh -f test3.sql logcmd.sh -f... (4 Replies)
Discussion started by: rkumar28
4 Replies

9. Shell Programming and Scripting

Sed functionality

I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed? <parameter>A</parameter> <parameter>B</parameter> .... .... And so on. These parameters are meant to go in just inside: <?xml... (2 Replies)
Discussion started by: collern2
2 Replies

10. UNIX for Dummies Questions & Answers

Date functionality

Hi, Could someone help me to get yesterday's date in MMDDYY format. echo `date '+%m%d%y'` is giving me today's date in the above format. Thanks in advance for your help.. Suresh. (1 Reply)
Discussion started by: svannala1
1 Replies
Login or Register to Ask a Question