There's umpteen ways to skin this cat. Try this
---------- Post updated at 13:58 ---------- Previous update was at 13:57 ----------
If you want to supply parameters, it has to be a function definition. You don't need an alias to call a function.
Thanks RudiC. 'Cheated' a little bit and make it like below:
BTW, as for using function, I think I should have say a subroutine instead maybe?
What I am trying to do is to emulate something I found in commandlinefu.com below which is finding big sized files.
The bigfile alias works fine albeit ksh on RedHat Linux.
So I am wanting to do the simialr thing for the df -k | awk thing where I pass a first an argument but I am having problem passing a parameter / argument. Not sure if I've explained well what I am trying to achieve.
I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
i have downloaded 3 zipped solaris ver 8 07/01 installation cd and i want to ask this question: 1. what will i do to burn it? do i need to extract the file and then burn it? what?
Note: Those zipped files have only one file each and it has more than 100mb plus. (6 Replies)
Hello all,
I was wondering if anyone knows how to install additional language after the system had been installed in english. I know that you could do an upgrade with the language support. But is there a way in which one can install different language fonts? I was reading up on Solaris install... (2 Replies)
there is -r switch for grep in linux, but in solaris 8, I found it doesn't support it. But I really need this function to rescue my
sub-directories, so anybody can help me?thanks!! (2 Replies)
What is the max file system that I can create. Is the max 2TB? I trying to connect a iscsi device and Solaris can only see 999 GB. Do I have to change sector size? (2 Replies)
HI guys,
I have created a script to read 1 column in a csv file and then place it in text file.
However, when i checked out the text file, it is not in a column format...
Example:
CSV file contains
name,age
aa,11
bb,22
cc,33
After using awk to get first column
TXT file... (1 Reply)
Hi Experts,
I am adding a column of numbers with awk , however not getting correct output:
# awk '{sum+=$1} END {print sum}' datafile
2.15291e+06
How can I getthe output like : 2152910
Thank you..
# awk '{sum+=$1} END {print sum}' datafile
2.15079e+06 (3 Replies)
question:
why is that when I created a user under solaris8, i got two lines before the login..
sample:
login as: user1
user1@1.1.1.1's password:
Last login: Fri Feb 25 17:00:52 2011 from 12.0.0.5
Sun Microsystems Inc. SunOS 5.8 Generic February 2000
Sun Microsystems Inc. SunOS... (0 Replies)
hello,
i am trying to compile wxWidgets on a Solaris8 box, but get this message:
checking for XML_ParserCreate in -lexpat... yes
checking for mspack.h... no
checking for X... no
configure: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for... (0 Replies)
Discussion started by: Norman Khine
0 Replies
LEARN ABOUT DEBIAN
suspend
suspend(1) User Commands suspend(1)NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)SunOS 5.10 15 Apr 1994 suspend(1)