linux penguine

USEFUL LINUX COMMANDS [PART-1]

Advertisement

Linux is an open-source operating system that runs on a wide variety of hardware from watches to supercomputers . this operating system can be controlled using just your keyboard and no need to use your mouse but all the linux operating system comes with graphical user interface {GUI}.but learning commands is useful to make your experience amazing

If you want to try linux checkout this article of best linux distro in 2022 .as well as check out other linux command series here

HERE ARE THE TOP USEFUL LINUX COMMANDS

1.alias

    This alias command lets you define temporary aliases in your shell session. When creating an alias, you tell your shell to replace a single word with a series of commands.

    This command essentially allows you to change a command to a different name for a short period of time  or for as long as you need

2.unalias

    As the name suggests, the unalias command removes an alias from the already defined aliases. To remove the previous alias that you created using the alias command.

3.man

    This command essentially shows the manual for the command simply type man{command name} if the command contains a manual you can view the manual using this command

    You can also look up the manual for man command as well by typing man man on the terminal

4.chmod

    The chmod command lets you change the permission of a file quickly. It has many options available in it.

The basic permissions a file can possibly have are:

  • r (read)
  • w (write)
  • x (execute)

One of the most commonly used case for chmod is to make a file executable by the user. To do this, type chmod and the flag +x, followed by the file you want to modify permissions on:

See also  BASICS LINUX COMMAND FOR ABSOLUTE BEGINNERS [PART-2]

5../

    ./ is not a command per say but it is very useful because it is used to open files or folder or to execute in the terminal

6.exit

    This is a very simple command. It is used to exit the terminal. You may ask if you can just click on closing button on the window ,yes you are correct is the senses but you also need to consider that this command can be also invoked using apps ,programs and scripts for automation

7.shutdown

    This is also a very simple command.this is used to shutdown your computer ,devices using the command line ,there are many arguments can be added for this command like shutdown now this allows to shutdown the computer immediately and there are many othe argument like to shutdown after this amount of time etc

   9.ps

    With the ps command , you can take a look at the processes your current shell session is running. It gives useful information about the programs you’re currently running, like process ID, TeleTYpewriter, command and time etc…

10.kill

    It’s frustrating when a program is unresponsive or frozen , and you can’t close it by any means. But thanks to the kill command, this kind of problem can be solved easily. Simply type kill and the program name. This kill command sends a TERM or kill signal to a process that terminates it.

You can also kill processes by entering either the PID (processes ID)  by using the ps command above you can find the process id and kill the program that are unresponsive .BUT BE CAREFUL USING THIS COMMAND IT BECAUSE IT CAN DELETE THE CURRENT WORKING SESSION IF YOU ACCIDENTLY KILLED IT.

See also  MUST HAVE TWEAKS FOR JAILBROKEN DEVICE :
Advertisement

No Responses

  1. 7gq9w Qvqydr October 5, 2024
    Your comment is awaiting moderation.

Leave a Reply