If you are interested in computer security domain, it is important you have a good understanding about networking, particularly networking associated with Linux. so lets take a look at a few basic commands that are used in Linux OS.
ifconfig is one of the mostly used commands when it comes to networking in Linux. It provides you with lot of information regarding the available network interfaces. This command is very similar to the ipconfig command in Windows.
Showing posts with label Linux basics. Show all posts
Showing posts with label Linux basics. Show all posts
Wednesday, July 26, 2017
Linux Basics - File Manipulations
In the previous post we looked into some commands related to file system of Linux. In this post we'll look into some commands related to file manipulation.
As mentioned in the previous post you can create empty files using touch command.
We can use a text editor like vi editor, nano or emacs to edit these files.
vi [filename] will open up the file in vi editor
As mentioned in the previous post you can create empty files using touch command.
We can use a text editor like vi editor, nano or emacs to edit these files.
vi [filename] will open up the file in vi editor
Linux Basics - Directory and File Commands
Before moving to commands related to files and directory manipulation commands, it is important to understand the structure of the file system in Linux.
Unlike in Windows file system where you can find separate partitions like C:/, Linux has a root directory denoted by /. root directory is the beginning of the Linux file system. Root directory contains sub directories and files.
Subscribe to:
Posts (Atom)