Professional Documents
Culture Documents
Working With Files
Working With Files
Working With Files
5)cal: current month calendar we can call month and year along with cal
command ex: cal 5 1984 which displays may month 1984
6)uname: os name
12)su: switch username from one user into another user ex:su - username
1)cat: which is use to create a new file or open to view existing files
FILE DELETION:
REMOVING DIRECTORIES:
COPY COMMANDS
1)cp sourcefile targetfile: copying file from existing location into new location
MOVING COMMANDS
1)mv old file newlocation: using these command we can move a file from one
folder into another folder or we can rename file also
1)ls : it's listing files which are in that directory with ascending order
4)ls -t: listed all files based on date and time of creation
1)cat>.filename
3)mkdir .dirname
UNHIDE FILES