Linux Interviews: Difference between revisions

m (Protected "Linux Interviews" ([Delete=Allow only logged in users] (indefinite) [Edit=Allow only logged in users] (indefinite) [Move=Allow only logged in users] (indefinite)))
 
Line 82:
setting and storing the current value of the file offset into or from the object referenced by pos.
On some non-UNIX systems, an fpos_t object may be a complex object and these routines may be the only way to portably reposition a text stream.
 
== Sudo cmd ==
aman@aman-server:~/scripts$ sudo su -
root@aman-server:~#
aman@aman-server:~/scripts$ sudo su
root@aman-server:/home/aman/scripts#