User Tools

Site Tools


opus:fall2012:khoose2:unixpart1

Keyword

File modes (permissions)

Definition

Settings assigned to a file, influencing the access privileges of User(Host), Guest(not user, same terminal), and World(everyone else).

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Matthew Haas, The Lair, in CSCS1730 class.
  • Dj Dates, C208 CCC, in CSCS1200 class.

unix Keyword 1 Phase 2

file copying/moving/renaming

Definition

File copying- When you of make a copy of a file or folder using the command cp. File moving- When you move a folder or file to a different location using the mv command. File renaming- When you rename a file or folder also uses the mv command.

References

Demonstration

Demonstration of the indicated keyword.

Alternatively (or additionally), if you want to demonstrate something on the command-line, you can do so as follows:

lab46:~$ vim file1
lab46:~$ ls
Desktop    Music      Videos           closet   public_html
Documents  Pictures   archive1.tar.gz  file.c   src
Downloads  Public     archive2.zip     file.gz  the answer.txt
Maildir    Templates  archives         file1
lab46:~$ mv file1 file2
lab46:~$ ls
Desktop    Music      Videos           closet   public_html
Documents  Pictures   archive1.tar.gz  file.c   src
Downloads  Public     archive2.zip     file.gz  the answer.txt
Maildir    Templates  archives         file2
lab46:~$ mv file2 /home/khoose2/src/Unix/submit/Opus
lab46:~$ cd /home/khoose2/src/Unix/submit/Opus | ls
file2
opus/fall2012/khoose2/unixpart1.txt · Last modified: 2012/10/31 20:45 by khoose2