Basics of Linux Commands
#Basic of linux Commands#
Hello! I'm Prathamesh Gosavi, a passionate B.Tech student majoring in Cyber Security. It's a fascinating field that constantly challenges me to explore the ever-evolving landscape of digital security.
Throughout my academic journey, I've delved into various aspects of Cyber Security, gaining a solid foundation in areas such as network security, cryptography, and ethical hacking. I find immense satisfaction in understanding and mitigating the risks associated with the digital world.
linux commands :-
1. ls -----------> To view files and directory.
The ls command in Linux is used to list files and directories in a directory. Here are some common options:
ls: Lists files and directories in the current directory.ls -l: Displays detailed information including permissions, owner, group, size, and modification date.ls -a: Shows hidden files (those starting with a dot).ls -h: Human-readable format, displaying file sizes in a more readable format.ls -t: Sorts files by modification time, with the newest first.ls -R: Recursively lists subdirectories.
2. mv -----------> Rename a file.
The location where you want to move the source to, or the new name if you're renaming.
3. cp -----------> Copy a file.
Specifies the target location where the file or directory will be copied.
4. ifconfig -----------> Display information about network.
The ifconfig command is used in Unix-like operating systems to configure and display information about network interfaces on a system. It allows you to view and configure network interface parameters such as IP addresses, netmasks, broadcast addresses, and more. Here are some basic examples of using the ifconfig command.
5. rm -----------> Delet a file.
The rm command in Unix-like operating systems is used to remove/delete files or directories. Here's the basic syntax of the rm command.
6. date -----------> Displays the time.
The date command is used in Unix-like operating systems to display or set the system date and time. Here's the basic syntax of the date command.
7. cd -----------> Change the current directory.
The cd command is used to change the current working directory in a command-line interface, such as the terminal or command prompt. Here's the basic syntax.
8. cd .. -----------> Back one folder.
The cd .. command is used to change the current working directory to its parent directory in a command-line interface (CLI) or terminal. Here's a breakdown of the command.
9. mkdir -----------> To create a new directory/folder.
The mkdir command is used to create a new directory (folder) in a command-line interface (CLI) or terminal. The basic syntax of the mkdir command is as follows.
10. rm -rf/rmdir -----> To delete a directory.
The rmdir command is used to remove empty directories (folders) in a command-line interface or terminal. Here's the basic syntax.

.png)
.png)







Comments
Post a Comment