Escolar Documentos
Profissional Documentos
Cultura Documentos
Unix is the case sensitive.. All commands normally in lower case... unless noted
...
Commands
-----------------------1.ls List of files in particular Unix directory
--If normally type the ls command show the file in working directory
Ls commands having the additional information..
ls the result will be the current working file or directory in alphabetica
l order wise...
2. ls -l the result will long list of the file in directory additionally show t
he following information
File name ....shows the protection information......File owner......Number of
character in file.....date and time to the last change to the file information
3. ls -a all your file listed bigin with the period ( ie.Hidden files)
4. man ls For more information about the ls commands..
=======================================================
DISPLAYING AND CONCATENATING(COMBINING) FILES
1. more
2.more newfile
.
3.man more
for the more information about this command in Unix system prompt
or
one de
3. cp /usr/neighbor/testfile .
copies the testfile from /usr/neighbor to your Unix account the period(.) e
nd of the command line indicate the file to be copie to the your current working
directory and name will remain same..
-------------------------------------------To copy a file from another user directory on UNIX, you must know the person us
er name.
1. cp ~username/file1 yourfile
ry)
=================================================
RENAMING FILES
1.mv
2.mv oldfile newfile changes the name of file oldfile to newfile only one file
will exist
3.mv oldfile bin/newfile
ile
=====================================
PRINTING FROM UNIX