Tuesday 19 August 2014

Date , ls, CD Command in Linux Commands

Structure of the Problem Requirements 

In this lesson we will learn some important commands in Linux . Linux commands mode can be access be pressing Ctrl+Alt+t . In this lesson we used three commands first one will inform about the current date and time the second one tell about how to create a directory (also mention in previous lesson) and third one is ls command which show the list of files . Here is the source and output of these commands.

Source Code 


niazi@ubuntu:~$ date

Tue Aug 19 12:02:33 PDT 2014

niazi@ubuntu:~$ mkdir c++

niazi@ubuntu:~$ cd c++

niazi@ubuntu:~$ /c++$ mkdir java

niazi@ubuntu:~$ /c++$ cd

niazi@ubuntu:~$ ls c++

java

niazi@ubuntu:~$ 

Output of  the Commands 

Linux
Linux Commands

Share it Please
asad

About Author!

Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.

4 comments: Post Yours! Read Comment Policy!▼
Important Note:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. How to delete a directory in linux ????

    ReplyDelete
  2. What is difference between linux copy and move ???

    ReplyDelete
  3. To delet a directory use rmdir.

    Copy creates a copy, the original remains. Move renames the original.

    ReplyDelete