Monday, December 25, 2023

Linux Operating System - 50 Useful Commands for beginner


 Linux operating System - 50 Useful Commands for beginner


Here are 50 Linux commands that are commonly used for various tasks.

 

1.      ls                             List directory contents.

2.      pwd                        Print working directory.

3.      cd                           Change directory.

4.      cp                           Copy files or directories.

5.      mv                          Move or rename files or directories.

6.      rm                          Remove files or directories.

7.      mkdir                    Create a directory.

8.      rmdir                     Remove an empty directory.

9.      cat                          Concatenate and display the content of files.

10.   echo                       Display a message or text.

11.   nano or vim          Text editors.

12.   grep                       Search for a pattern in files.

13.   find                     Search for files and directories.

14.   chmod                Change file permissions.

15.   chown                Change file owner and group.

16.   ps                       Display information about running processes.

17.   kill                    Terminate a process.

18.   top                    Display system information and top processes.

19.   df                       Display disk space usage.

20.   du                      Display file and directory space usage.

21.   tar                       Create or extract tar archives.

22.   gzip or gunzip    Compress or decompress files.

23.   ssh                     Secure Shell  (connect to a remote server).

24.   scp                      Secure Copy  (copy files between machines).

25.   rsync                 Sync files and directories between machines.

26.   ping                   Test a network connection.

27.   ifconfig or ip      Configure network interfaces.

28.   netstat                Display network connections.

29.   route               Show or manipulate the IP routing table.

30.   traceroute      Trace the route to a network host.

31.   systemctl        Control the systemd system and service manager.

32.   journalctl      Query and display messages from the journal.

33.   uname              Display system information.

34.   date                Display or set the system date and time.

35.   uptime           Show how long the system has been running.

36.   wget or curl     Download files from the internet.

37.   apt or yum  Package management commands (for Debian/Ubuntu or Red Hat-based systems, respectively).

38.   lsblk             List information about block devices.

39.   lsof               List open files and the processes that opened them.

40.   who             Display information about logged-in users.

41.   df                Display disk space usage.

42.   du               Display file and directory space usage.

43.   history       Display command history.

44.   awk           Pattern scanning and processing language.

45.   sed            Stream editor for filtering and transforming text.

46.   scp           Copy files between a local and remote machine securely.

47.   rsync        Sync files and directories between machines.

48.   zip and unzip     Compress and decompress zip archives.

49.   basename and dirname      Extract base name or directory name from a path.

50.   watch       Execute a program periodically, showing output full screen


If you like it share it with your family and friends. let us know in comments what kind of IT content you are looking from us to post next.


Thank you and see you on next useful IT content.     

No comments:

Post a Comment

Mac OS (Operating System) - Commonly used keyboard shortcuts

  Here are 50 Mac OS shortcuts that you can use across various applications and the system   General Shortcuts   Cmd + C: Copy. Cm...