Sponsored Content
Full Discussion: Funny *NIX commands
The Lounge What is on Your Mind? Funny *NIX commands Post 302956252 by sea on Tuesday 29th of September 2015 06:40:57 AM
Old 09-29-2015
Could do other things too:
whoami on_ac_power, at mount, look, declare bridge break, halt, eval, help builtin, info users, join drill , done, reset, find mapfile, read, make return
What a day! Smilie

---------- Post updated 29-09-15 at 12:40 ---------- Previous update was 28-09-15 at 17:25 ----------

This was fun, for me at least: (about 2 weeks ago)
Image
You just see 2 errors, while there are actualy 3, but the amusing part is that the aborting fails with an error message which causes the script to abort.
Specialy as it "aborts" due to the "aborting message".. Smilie
 

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

*nix Desktops

Yeah, we all know where to find screenshots of Unix and Linux, but it would be awesome to see some of your *nix screenshots. Okay.. to explain: This is my KDE desktop on Yellow Dog Linux. I changed the background recently to a Commodore 64 theme (pretty cool) and no longer is the Konstruct Konsole... (25 Replies)
Discussion started by: gnerd
25 Replies

2. UNIX for Dummies Questions & Answers

Looking for something like Citrix for *nix

Hi, I don't mean the client.... I mean the server - I have the client to connect to a windows citrix server already. The next best thing I can use at present is VNC (I only want remote desktop, not application sharing specifically). The thing with VNC is that when you go on you are... (3 Replies)
Discussion started by: d11wtq
3 Replies

3. UNIX for Dummies Questions & Answers

Funny but true....

Hallo everybody I am having a shell script called auto_run.sh in that only the first line works. the second line which has sed command is working only at the # prompt. not within the shell script. What could be the reason. *... sed 's/ //g' KTI >abc works in another shell script without the... (6 Replies)
Discussion started by: naushad
6 Replies

4. What is on Your Mind?

Funny Quotes-UNIX

If you people find something funny like these go ahead and post it :) (5 Replies)
Discussion started by: vidyadhar85
5 Replies

5. Shell Programming and Scripting

Echo working funny

Hello, this is my first post and question. I have search before for this problem but didn't find anything similar. My case: I have a string inside the variable string1 like this: string1="lala lele lili lolo lulu" When I do echo of it, it appears like this: echo $string1 lala lele lili... (8 Replies)
Discussion started by: hemtar
8 Replies

6. What is on Your Mind?

Very Funny - Had to laugh

Guys, This is funny. http://i28.photobucket.com/albums/c228/jralph2005/bart.png jaysunn (2 Replies)
Discussion started by: jaysunn
2 Replies

7. What is on Your Mind?

Old, but still funny

Annoyances.org - Upgrading to Wife 1.0 (0 Replies)
Discussion started by: jgt
0 Replies

8. UNIX for Advanced & Expert Users

Which is the most secure *nix?

Which is the most secure *nix for home business/ office use? Would have to be fairly well up to date browser and drivers wise. Myself I seem to have settled on RedHat - I've trialled the Desktop, and am part-way through a server trial. I've essentially not managed to keep the browser as secure... (2 Replies)
Discussion started by: GSO
2 Replies
MPI_File_get_size(3OpenMPI)											       MPI_File_get_size(3OpenMPI)

NAME
MPI_File_get_size - Returns the current size of the file. SYNTAX
C Syntax #include <mpi.h> int MPI_File_get_size(MPI_File fh, MPI_Offset *size) Fortran Syntax (see FORTRAN 77 NOTES) INCLUDE 'mpif.h' MPI_FILE_GET_SIZE(FH, SIZE, IERROR) INTEGER FH, ERROR INTEGER(KIND=MPI_OFFSET_KIND) SIZE C++ Syntax #include <mpi.h> MPI::Offset MPI::File::Get_size() const INPUT PARAMETERS
fh File handle (handle). size Size of the file in bytes (integer). OUTPUT PARAMETER
IERROR Fortran only: Error status (integer). DESCRIPTION
MPI_File_get_size returns, in size , the current size in bytes of the file associated with the file handle fh. Note that the file size returned by Solaris may not represent the number of bytes physically allocated for the file in those cases where all bytes in this file have not been written at least once. FORTRAN 77 NOTES The MPI standard prescribes portable Fortran syntax for the SIZE argument only for Fortran 90. Sun FORTRAN 77 users may use the non-porta- ble syntax INTEGER*MPI_OFFSET_KIND SIZE where MPI_ADDRESS_KIND is a constant defined in mpif.h and gives the length of the declared integer in bytes. ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func- tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. For MPI I/O function errors, the default error handler is set to MPI_ERRORS_RETURN. The error handler may be changed with MPI_File_set_errhandler; the predefined error handler MPI_ERRORS_ARE_FATAL may be used to make I/O errors fatal. Note that MPI does not guarantee that an MPI program can continue past an error. SEE ALSO
MPI_File_preallocate Open MPI 1.2 September 2006 MPI_File_get_size(3OpenMPI)
All times are GMT -4. The time now is 09:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy