You are on page 1of 2

Admin Related Commands

Command Syntax Description


cpio --- copy files in
and out ( usage1)
cpio -icvdu<$A!"
copies all t#e files from t#e tape to t#e directories
defined in tape content$
cpio --- copy files in
and out ( usage%)
cpio -icvdu file1 file%<$A!"
#is command extracts file1 and file% from t#e tape and
copies t#ese files in t#e relevant directory(creates
directory as needed if directory is not t#ere)and displays
list of files copied &it# attri'utes$
cpio --- copy files in
and out ( usage()
cpio -icvt<$A!"
#is command reads all files from t#e tape and displays
list of t#ese files &it# attri'utes$
cpio --- copy files in
and out ( usage))
cpio -icv<$A!"
#is command extracts all files from t#e tape and copies
t#ese files to t#e current &or*ing directory+
conditionally(i$e$ t#e same file is not t#ere already)$
cpio --- copy files in
and out ( usage,)
cpio -icvu<$A!"
#is command extracts all files from t#e tape and copies
t#ese files to t#e current &or*ing directory+
unconditionally(i$e$ it &ill over&rite t#e already existing
file &it# t#e same name)$
cpio --- copy files in
and out ( usage-)
ls file1 file% .cpio -ocv/$A!"
#is command copies out file1+ file% in t#e current
&or*ing directory to t#e tape$
cpio --- copy files in
and out ( usage0)
ls .cpio -ocv/$A!"
#is command copies out all files in t#e current
&or*ing directory to t#e tape$
pass&d pass&d 1irst login as 2root2 account of t#e system$After
executing t#e 2pass&d2 command+ you &ill 'e
prompted to enter your present pass&ord and t#en your
ne& pass&ord t&ice as a c#ec* for typing errors as no
c#aracters are s#o&n on t#e screen as you type3 Current
pass&ord3444444 5e& pass&ord3444444 5e&
pass&ord(again)3444444 5ote36t &ill not accept
pass&ords t#at are less t#an - c#aracters long+contain
certain 2pro#i'ited c#aracters2 e$g$ 7 8 etc$ and #ave
more t#an t&o repeated c#aracters$ Also note t#at 9nix
is case-sensitive+ so ma*e sure t#at t#e caps loc* is off
&#ile you enter login:pass&ord$
&all
6op,c/&all ( !ress "nter) to send
t#e mail$
#is command &ill send t#e message to all 6CC ports as
&ell as Console$

You might also like