|
Accessing dos Disks |
|
|
mtools - utilities to access DOS disks
Mtools? is? a? public? domain collection of tools
to allow systems to manipulate MS-DOS???? files:
read, write, and move around files on an MS-DOS filesystem (typically a
floppy disk).
for more info look
man mtools
If they are not installed ,they can be found at
????????? http://mtools.linux.lu/mtools-3.9.8.tar.gz
????????? ftp://www.tux.org/pub/knaff/mtools/mtools-3.9.8.tar.gz
????????? ftp://metalab.unc.edu/pub/Linux/utils/disk-management/mtools-3.9.8.tar.gz
|
|
|
Include path while compiling packages |
|
|
While installing packages from source,they get installed in the default path ,generally
/usr/local/ . To specify diferent path while installing packages from source,do this while running "./configure"
./configure --prefix=/usr
then proceed as normal.
|
|
|
Get info. about files opened by
processes |
|
|
An? open? file may be a regular file, a directory, a block
special file, a character special file, an executing? text
reference, a library, a stream or a network file (Internet socket, NFS
file or UNIX domain socket.)? A specific? file or all the
files in a file system may be selected by path.
So If you want to know about what processes are currently hund on to your directory /mnt/cdrom then run
lsof /mnt/cdrom |
|
|
Creating files/directories with default permissions |
|
|
What are the default permissions for the files/directories that you create?
use umask
for ex. running
umask
gives me 0022
this implies that the default permissions are 0755
(0022's compliment from 0777 )
so if you want to change the default permisson for files/directories to 0744
so run umask as
umask 0033
for more
man umask |
|
|
Copying directory trees |
|
|
cp source
destination
cp -R /home/gnulinuxclub /tmp Use the "-R" option (stands
for "recursive") to copy the contents of whole directory trees in /home/gnulinuxclub to /tmp
|
|
|
|
<< Start < Previous 11 12 13 Next > End >>
|
| Results 91 - 99 of 110 |