Skip to main content

Posts

Linux commands for navigating the file system

Navigating Linux File System Linux is most probably the most used operating system when it comes to development. Learning how to navigate the Linux file system can really benefit if you plan on using linux as you primary operating system or for development purposes Basic Commands 1. pwd: print the name of the current working directory on the terminal Use this command to find out where you are in the directory structure. When you log on to Linux, your starting  directory is always your home directory, so you will be in /home/[your username] as any other than root, or /root if you are logged in as root.     pwd 2) ls: list the contents of the current working directory ls command is the most used ls command in Linux. It is the command that most people use once they are logged in a Linux system. To see what files we have in the current working directory we can use the "ls" command To see all the hidden files ( those starting with a period ), use the following switch: ...

UFW(Uncomplicated firewall ) in Debian linux Distribitions

Computers are connected to each other and the services are growing fast that we cannot deny. Services like Email, Social Media, Online Shop, Chat are services used by the user. A properly configured firewall is one of the most important aspects of overall system security.How about we look on the other side this connectivity just likes a double-side knife. It’s also possible to send bad messages to those computers like Virus , malware , trojan-apps are one of them. The Internet is the biggest computer network and it is not always filled with people with the best intentions at heart. In order to make sure our computers and servers are safe we must protect our computers. One of the must have component on your computer / servers is Firewall . From Wikipedia , a definition is: In computing, a firewall is a software or hardware-based network security system that controls the incoming and outgoing network traffic by analyzing the data packets and determining whether they should be allo...

An introduction to Linux filesystems

KALI LINUX 2020 tty2 ERROR : How to Fix No GUI Error In Kali Linux 2020

TTY in linux and how to use it

Ok, how about we start with what is TTY.It stands for “teletypewriter.” What can tty tell us. In Linux, there is a pseudo-teletype multiplexor which handles the connections from all of the terminal window pseudo-teletypes (PTS). The multiplexor is the master, and the PTS are the "slaves". The multiplexor is addressed by the kernel through the device file located at /dev/ptmx. The tty command will print the name of the device file that your pseudo-teletype slave is using to interface to the master. And that, effectively, is the number of your terminal window. The output shows that we are connected to to the device file at /dev/pts/4. Our terminal window, which is a software emulation of a teletype (TTY), is interfaced to the pseudo-teletype multiplexor as a pseudo-teletype (PTS). And it happens to be number four.For the number at the end shows that. The Silent Option . The -s (silent) option causes tty to generate no output. This is how it will look on your terminal It do...