PR 6 Osy

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Name :- Rachita Chougale

Roll no -08
Pr no - 06

Windows Subsystem for Linux is now available in the Microsoft Store!


You can upgrade by running 'wsl.exe --update' or by visiting
https://aka.ms/wslstorepage
Installing WSL from the Microsoft Store will give you the latest WSL updates, faster.
For more information please visit https://aka.ms/wslstoreinfo

root@rachita:~# cat>avi
where cat command used for creating an file in unix
head command
it is used to read first ten lines
tail command
it is used to print last ten lines
touch command
used to create a file but file will be empty
copy coomand
used to copies the file to destination file
move command
used to move a from one location to another location

root@rachita:~# head -5 avi


where cat command used for creating an file in unix
head command
it is used to read first ten lines
tail command
it is used to print last ten lines

root@rachita:~# tail +5 avi


it is used to print last ten lines
touch command
used to create a file but file will be empty
copy coomand
used to copies the file to destination file
move command
used to move a from one location to another location

root@rachita:~# tail +5c avi


e cat command used for creating an file in unix
head command
it is used to read first ten lines
tail command
it is used to print last ten lines
touch command
used to create a file but file will be empty
copy coomand
used to copies the file to destination file
move command
used to move a from one location to another location

root@rachita:~# tail +5b avi

root@rachita:~# touch aa

root@rachita:~# ls -a
. .. .bash_history .bashrc .motd_shown .profile .ssh Avi aa abhay avi avinash pr6
student1 student2

root@rachita:~# ls -d
.

root@rachita:~# ls -i
49234 Avi 49221 aa 49231 abhay 49236 avi 49229 avinash 890 pr6 49232 student1
49233 student2

root@rachita:~# ls -l
total 32
-rw-r--r-- 1 root root 429 Oct 7 14:06 Avi
-rw-r--r-- 1 root root 0 Oct 7 15:12 aa
-rw-r--r-- 1 root root 429 Oct 7 14:12 abhay
-rw-r--r-- 1 root root 334 Oct 7 15:09 avi
-rw-r--r-- 1 root root 259 Oct 7 13:28 avinash
-rw-r--r-- 1 root root 8192 Oct 7 14:21 pr6
-rw-r--r-- 1 root root 32 Oct 7 15:06 student1
-rw-r--r-- 1 root root 26 Oct 7 15:06 student2

root@rachita:~# rm aa

root@rachita:~# mv Avi avi

root@rachita:~# cp pr6 abhay

root@rachita:~# join -t ":" student1 student2

root@rachita:~# cat>stu1
ajay 1990
soham 1991
sujit 1992
root@rachita:~# cat>stu2
ajay 50
soham 52
sujit 58

root@rachita:~# join -t ":" stu1 stu2

root@rachita:~# join -o ":" stu1 stu2


join: invalid file number in field spec: ‘:’

root@rachita:~# split -5 avi

root@rachita:~#

root@rachita:~# ls
abhay avi avinash pr6 stu1 stu2 student1 student2 xaa xab xac

root@rachita:~#

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy