0% found this document useful (0 votes)
9 views

os_lab

The document contains a series of Linux command line interactions performed by a user named Jeyanth. It includes navigating directories, creating and managing files and folders, and using commands like 'ls', 'cp', 'mv', and 'more'. The user also attempts to access non-existent files and demonstrates basic file manipulation skills.

Uploaded by

jeyabalan764
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

os_lab

The document contains a series of Linux command line interactions performed by a user named Jeyanth. It includes navigating directories, creating and managing files and folders, and using commands like 'ls', 'cp', 'mv', and 'more'. The user also attempts to access non-existent files and demonstrates basic file manipulation skills.

Uploaded by

jeyabalan764
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

jeyanth@LAPTOP-9281BSAF:~$ cd ..

jeyanth@LAPTOP-9281BSAF:/home$ cd ..
jeyanth@LAPTOP-9281BSAF:/$ cd /mnt/c/Users/jeyab
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab$ pwd
/mnt/c/Users/jeyab
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab$ ls
'3D Objects'
OneDrive
AppData
Pictures
'Application Data'
PrintHood
Contacts
PycharmProjects
Cookies
Recent
Desktop
'Saved Games'
Documents
Searches
Downloads
SendTo
Favorites
'Start Menu'
Links
Templates
'Local Settings'
Videos
Music
ntuser.dat.LOG1
'My Documents'
ntuser.dat.LOG2
NTUSER.DAT
ntuser.ini
NTUSER.DAT{084633bb-6826-11ed-8dbd-c4142e82b7da}.TM.blf
python
NTUSER.DAT{084633bb-6826-11ed-8dbd-
c4142e82b7da}.TMContainer00000000000000000001.regtrans-ms sample.txt
NTUSER.DAT{084633bb-6826-11ed-8dbd-
c4142e82b7da}.TMContainer00000000000000000002.regtrans-ms testdb.sql
NetHood
venv
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab$ mkdir hello
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab$ cd hello
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ touch hello.text
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ mkdir hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hello.text hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ rmdir hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hello.text
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ cp hello.txt hello.txt
cp: cannot stat 'hello.txt': No such file or directory
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ mkdir hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ cp hello.txt hi
cp: cannot stat 'hello.txt': No such file or directory
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hello.text hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ cp hello.text hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hello.text hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ cd hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello/hi$ ls
hello.text
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello/hi$ cd ..
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ rm hello.text
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ mv hi/hello.text ./hello
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ls
hello hi
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ uname
Linux
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ more hello.txt
more: cannot open hello.txt: No such file or directory
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ more hello
hi this is a text
hello world
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ ps
PID TTY TIME CMD
574 pts/0 00:00:00 bash
1280 pts/0 00:00:00 ps
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ more hello | grep world
hello world
jeyanth@LAPTOP-9281BSAF:/mnt/c/Users/jeyab/hello$ echo hello
hello

You might also like