05-31-2010
Um, sorry to tell you this, but these are completely subjective questions, applicable only to the person asked. What good would it do you if you knew how big our production environment is if yours is significantly larger/smaller? Same for team size. And ones most critical situation might be childs play for someone else.
8 More Discussions You Might Find Interesting
1. Solaris
hi everybody,
my name is samir, i m from delhi,india. i m a student in solaris. just few days ago i had completed my course. can anybody tell me the possible interview questions in solaris. (1 Reply)
Discussion started by: samir_sinu
1 Replies
2. Solaris
Hey,
My company is looking to bring on a Sr. UNIX Admin with Solaris 10 experience.
What are some solid interview questions I could ask about UNIX and Solaris 10 that would weed a good guy out from a bad?
Questions that don't involve long command lines would be the best.
Thanks (1 Reply)
Discussion started by: mikepatton21
1 Replies
3. UNIX for Dummies Questions & Answers
1, why Boot server should be in a network in jumpstart?
2, what is the different between patch and package?
3, how to list the avilable NIC in solaris9?
4, User complaing system is slow (solaris) what are the steps to check?
5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies
4. UNIX for Dummies Questions & Answers
6.nohup cmn is used to
Prot execn of pgm frm aborting when hangup s/g is rxd
Not hangup modem
Disconn a node frm s/m
Chng execn prev of pgm
.wat is the o/p? Cut -d”” -f3 file1/sort -r
Display 3rd col of file 1 in asc order
Disp 3rd col of file 1 in desc
Not ... (1 Reply)
Discussion started by: techguru
1 Replies
5. Solaris
Hi guys,
Interview Questions:-
1) There are 2 ways to create a slice in Solaris
1) we can create using format command but there say other than format 1more within sec. we can create a slice.
2) ?
2) How to create a temperory SWAP Space
3) How to check the Devices from the... (2 Replies)
Discussion started by: kurva
2 Replies
6. Solaris
I was not able to get answers for these interview questions. It will be appreciable and useful if any one answers this questions. (5 Replies)
Discussion started by: Sesha
5 Replies
7. Red Hat
hello,
I have some doubts .plz help
if i try to ping from a server, it doesnt ping & gives different ip address, and in nslookup i get different ip address, what is the problem ?
if u cant ssh to a server what will be ur steps ?
give full iptables command to open port 22
... (1 Reply)
Discussion started by: abhigrkist
1 Replies
8. Solaris
Hello :) !
i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?
2) how to change port number of a service ?
3) how can we find that autofs is running in our system without using
svcs and prstat commands ?
4) we know that there are several types of dns servers in... (0 Replies)
Discussion started by: vamshigvk475
0 Replies
LEARN ABOUT SUSE
shrinkfile
SHRINKFILE(1) General Commands Manual SHRINKFILE(1)
NAME
shrinkfile - shrink a file on a line boundary
SYNOPSIS
shrinkfile [ -n ] [ -m maxsize ] [ -s size ] [ -v ] file...
DESCRIPTION
The shrinkfile program shrinks files to a given size if the size is larger than maxsize, preserving the data at the end of the file. Trun-
cation is performed on line boundaries, where a line is a series of bytes ending with a newline, ``
''. There is no line length restric-
tion and files may contain any binary data.
Temporary files are created in the <pathtmp in inn.conf> directory. The ``TMPDIR'' environment variable may be used to specify a different
directory.
A newline will be added to any non-empty file that does not end with a newline. The maximum file size will not be exceeded by this addi-
tion.
OPTIONS
-s By default, size is assumed to be zero and files are truncated to zero bytes. By default, maxsize is the same as size. If maxsize
is less than size, maxsize is reset to size. The ``-s'' flag may be used to change the truncation size. Because the program trun-
cates only on line boundaries, the final size may be smaller then the specified truncation size. The size and maxsize parameter may
end with a ``k'', ``m'', or ``g'', indicating kilobyte (1024), megabyte (1048576) or gigabyte (1073741824) lengths. Uppercase let-
ters are also allowed. The maximum file size is 2147483647 bytes.
-v If the ``-v'' flag is used, then shrinkfile will print a status line if a file was shrunk.
-n If the ``-n'' flag is used, then shrinkfile will exit 0 if any file is larger than maxsize and exit 1 otherwise. No files will be
altered.
EXAMPLES
Example usage:
shrinkfile -s 4m curds
shrinkfile -s 1g -v whey
shrinkfile -s 500k -m 4m -v curds whey
if shrinkfile -n -s 100m whey; then echo whey is way too big; fi
HISTORY
Written by Landon Curt Noll <chongo@toad.com> and Rich $alz <rsalz@uunet.uu.net> for InterNetNews.
SEE ALSO
inn.conf(5)
SHRINKFILE(1)