LINUX HELP fast
•
18 Feb 2008, 11:53
•
Journals
need fast linux help:
whats the diference between :
tar cf file.rar *
tar cf file.rar * &
and diference of how to apply a permission at a file or at a directory.
im at exam.. ihi
thx
whats the diference between :
tar cf file.rar *
tar cf file.rar * &
and diference of how to apply a permission at a file or at a directory.
im at exam.. ihi
thx
atleast i think
Commands ending in & execute in background. Actually, you can do:
cmd1 & cmd 2 & cmd 3
This will execute 1 & 2 in the background, and wait for 3. If you append one more &, all will execute in the background.
There is no difference in applying the permissions. For a directory you could append -R argument to also apply the permissions to everything in that directory recursively. Also, the permissions have different meanings for directories:
* r allows users to list files in the directory;
* w means that users may delete files from the directory or move files into it;
* x means the right to access files in the directory. This implies that you may read files in the directory provided you have read permission on the individual files.
GL passing the exam ;)
thx anyway *