Basic Linux Commands: Working With Files
Basic Linux Commands: 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
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
3)ls -l: listed all files in long list format i.e 9 field
4)ls -t: listed all files based on date and time of creation
1)cat>.filename
3)mkdir .dirname
UNHIDE FILES
1)mv .empemp
2)mv .dirnamedirname