Wednesday, September 14, 2022

Ten Commands For Day 1 With Ubuntu

1.

(base) ashish@ashishdesktop:~$ ls

anaconda3   Desktop   Documents   Downloads   Pictures  "PlayOnLinux's virtual drives"   Public   snap   Videos

2.

(base) ashish@ashishdesktop:~$ cd Desktop

(base) ashish@ashishdesktop:~/Desktop$ ls
'The Tsunami (Class 8th).odt'   ws

(base) ashish@ashishdesktop:~/Desktop$ ls -l
total 28
-rw-rw-r-- 1 ashish ashish 24290 Jul  6 21:37 'The Tsunami (Class 8th).odt'
drwxrwxr-x 6 ashish ashish  4096 Mar 15  2022  ws

(base) ashish@ashishdesktop:~/Desktop$ 
(base) ashish@ashishdesktop:~/Desktop$ 

3.

(base) ashish@ashishdesktop:~/Desktop$ mkdir moni

(base) ashish@ashishdesktop:~/Desktop$ ls -l

total 32
drwxrwxr-x 2 ashish ashish  4096 Sep 14 20:16  moni
-rw-rw-r-- 1 ashish ashish 24290 Jul  6 21:37 'The Tsunami (Class 8th).odt'
drwxrwxr-x 6 ashish ashish  4096 Mar 15  2022  ws

(base) ashish@ashishdesktop:~/Desktop$ 

(base) ashish@ashishdesktop:~/Desktop$ cd moni
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 0

4.

(base) ashish@ashishdesktop:~/Desktop/moni$ touch moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 0
-rw-rw-r-- 1 ashish ashish 0 Sep 14 20:21 moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 

5.

(base) ashish@ashishdesktop:~/Desktop/moni$ gedit moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 4
-rw-rw-r-- 1 ashish ashish 35 Sep 14 20:27 moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 

6.

(base) ashish@ashishdesktop:~/Desktop/moni$ ls
moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ touch dummy.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 4
-rw-rw-r-- 1 ashish ashish  0 Sep 14 21:58 dummy.html
-rw-rw-r-- 1 ashish ashish 35 Sep 14 20:27 moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ gedit dummy.html
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 8
-rw-rw-r-- 1 ashish ashish  6 Sep 14 21:59 dummy.html
-rw-rw-r-- 1 ashish ashish 35 Sep 14 20:27 moni.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ rm dummy.html
(base) ashish@ashishdesktop:~/Desktop/moni$ 
(base) ashish@ashishdesktop:~/Desktop/moni$ ls -l
total 4
-rw-rw-r-- 1 ashish ashish 35 Sep 14 20:27 moni.html

7.

(base) ashish@ashishdesktop:~/Desktop/moni$ cat moni.html
<pre>
my name is moni singh.
</pre>

8.

(base) ashish@ashishdesktop:~/Desktop/moni$ pwd
/home/ashish/Desktop/moni

9.

(base) ashish@ashishdesktop:~/Desktop/moni$ echo $USER
ashish
(base) ashish@ashishdesktop:~/Desktop/moni$ echo $HOME
/home/ashish

10.

(base) ashish@ashishdesktop:~/Desktop/moni$ uname -a

Linux ashishdesktop 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

(base) ashish@ashishdesktop:~/Desktop/moni$ uname

Linux

FAQs

Ques 1: What is Terminal? Ans 1: Terminal is a command line interface to the Ubuntu operating system. As of Oct, 2021: Terminal icon is depicted by a 'black background with letters ">_". "Terminal" is an application that is used to run command like: "ls", "cd" and "echo". manju@manju-desktop:~$ ls Desktop Documents Downloads Music Pictures Public Templates Videos manju@manju-desktop:~$ manju@manju-desktop:~$ ls -l total 32 drwxr-xr-x 2 manju manju 4096 Oct 1 23:34 Desktop drwxr-xr-x 2 manju manju 4096 Oct 1 20:56 Documents drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Downloads drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Music drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Pictures drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Public drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Templates drwxr-xr-x 2 manju manju 4096 Apr 7 11:58 Videos manju@manju-desktop:~$ cd Desktop manju@manju-desktop:~/Desktop$ ls -l total 4 -rw-rw-r-- 1 manju manju 537 Oct 1 23:34 'Beginner FAQs for Ubuntu.txt' --- Ques 2: How to browse internet? Answer 2: Use broswers: 1. Mozilla Firefox Browser. 2. Google Chrome. --- Ques 3: How to install Google Chrome. Answer: Use 'Ubuntu Software'. Step 1: Open "Ubuntu Software". Step 2: Press 'Ctrl+F' to launch 'Find and Search'. OR Step 1: Do a Google search in Firefox: "google chrome ubuntu" Step 2: On "Google Chrome Download" page, select "64 bit .deb (For Debian/Ubuntu)" radio button. Step 3: Click on "Accept and Install". ---
Tags: Technology,Linux,

No comments:

Post a Comment