christianrot.blogg.se

List of commands for terminal
List of commands for terminal












list of commands for terminal
  1. #LIST OF COMMANDS FOR TERMINAL HOW TO#
  2. #LIST OF COMMANDS FOR TERMINAL PASSWORD#
  3. #LIST OF COMMANDS FOR TERMINAL FREE#
  4. #LIST OF COMMANDS FOR TERMINAL WINDOWS#

Its function is almost like the command “mv”. The command “cp” is used to copy data from a source file to the destination file. Entering the command “mv File1 File_Rename” will rename File1 to File_Rename in the same directory. File1) from the system.Ĭonsider having two files in a directory (File1 and File2). Entering the command “mv File1 File2” will move data of File1 to File2 and delete source file(i.e. Syntax: mv Source_File_name Destination_File_NameĬonsider having two files in a directory (File1 and File2).

  • To move files or directories from one path to another path in the system.
  • The command “mv” is used for two purposes This above-mentioned command will remove the file “Test_File” from the Desktop directory. The command “rm” is used to remove files from the directory. The user running this command must have suitable rights over the parent directory to remove a directory or they will receive an error.Įntering the command “rmdir NewDirectory” will remove the directory named as NewDirectory in the current directory. The command “rmdir” allows users to remove directories/folders from the system. The user running this command must have suitable rights over the parent directory to create a directory or they will receive an error.Įntering the command “mkdir NewDirectory” will create the directory named as NewDirectory in the current directory. The command “mkdir” allows users to create directories/folders in the system. The command “shutdown” is used to shut down the system.Įxample: Commands used for File Handling mkdir The command “exit” as the name says it is used to exit from the system and log out from the current user.

    #LIST OF COMMANDS FOR TERMINAL PASSWORD#

    The command “passwd” stands for password and it is used to change the password of the user. The command “w” displays detailed information about the users who are logged into the system currently.

    list of commands for terminal

    The result for this command includes the current time, the time duration system has been running, the number of users who are currently logged on, and the system load averages for the past 1, 5, and 15 minutes respectively. The command “uptime” provides information about how long the system has been running in one line. The ps command is commonly used with these parameters to show the process list: ps aux The command “ps” which is also known as the process status command is used to provide information about the processes currently running on the system, including their respective process identification numbers (PIDs).

    #LIST OF COMMANDS FOR TERMINAL FREE#

    The command “free” displays the amount of free and used memory in the complete system. The command “df -h” shows the same result as the command “df” but now the data is in a more human-readable form that can be easily comprehended by a new user. df -h displays the output in human-readable format The command “df” shows the amount of disk space used and disk space available on every file system containing each filesystem’s name and its path.Īdvertisement a. Syntax: date -d Date_to_operate_system_on To operate the system on a specific date, you can change the date by using “-d”. Linux allows its user to set the current date and time of the system manually. Linux user can change the time zone via Terminal by using command “TZ”.ī. The simple “date” command displays the current date and time (including the day of the week, month, time, time zone, year).īy default, “date” command uses the time zone defined in path “/etc/localtime”. Commands used for System Information date

    list of commands for terminal

    #LIST OF COMMANDS FOR TERMINAL HOW TO#

    Here we present the basic but very important Ubuntu commands to give you an in-depth knowledge of how to use your Linux terminal.

    #LIST OF COMMANDS FOR TERMINAL WINDOWS#

    A lot of people find Linux more challenging as an operating system especially when they are coming from the comfort of using Windows or macOS. However, being a newbie, you might find its Command Line Interface (CLI) a little intimidating. The world of Ubuntu welcomes you and it is ready to grant you all the power over your system.














    List of commands for terminal