Saturday, 17 April 2021

How to Edit Text Files Graphically on Linux With gedit | gedit command i...



how to use gedit,

Linux users normally edit configuration files with terminal-based tools like nano and vim . If you want to edit a file graphically—even a system file—the gedit text editor makes it painless and easy.

Launching gedit

To start gedit from the command line, type gedit and hit Enter.

The gedit text editor will appear shortly.

Opening an Existing File

To open an existing text file click the “Open” button in the gedit toolbar. You can also press Ctrl+O to open a file.

Opening a File from the Command Line

 

You can ask gedit to open a file as soon as it launches by providing the filename on the command line. This makes gedit load the file so that it is ready to be edited as soon as gedit appears.

gedit ana.c

Saving Changes to a File

To save your changes, click the “Save” button in the toolbar. You can also press Ctrl+S to save the file.

Editing System Files

To edit a system file, you will usually need to use sudo because the owner of the file is likely to be root. To be strictly accurate you’ll be able to open a system file even if you don’t use sudo, but you won’t be able to save any changes back to the file unless you have used sudo.

sudo gedit /etc/samba/smb.conf


Friday, 9 April 2021

Explaining Soft Link And Hard Link In Linux With Examples

 

Explaining Soft Link And Hard Link In Linux With Examples

Soft and Hard links in Unix/Linux

A link in UNIX is a pointer to a file. Like pointers in any programming languages, links in UNIX are pointers pointing to a file or a directory. Creating links is a kind of shortcuts to access a file. Links allow more than one file name to refer to the same file, elsewhere. 

 

There are two types of links :

1.      Soft Link or Symbolic links

2.      Hard Links

These links behave differently when the source of the link (what is being linked to) is moved or removed. Symbolic links are not updated (they merely contain a string which is the path name of its target); hard links always refer to the source, even if moved or removed. 

For example, if we have a file a.txt. If we create a hard link to the file and then delete the file, we can still access the file using hard link. But if we create a soft link of the file and then delete the file, we can’t access the file through soft link and soft link becomes dangling. Basically hard link increases reference count of a location while soft links work as a shortcut (like in Windows) 

1. Hard Links 
 Each hard linked file is assigned the same Inode value as the original, therefore they reference the same physical file location. Hard links more flexible and remain linked even if the original or linked files are moved throughout the file system, although hard links are unable to cross different file systems.

·         ls -l command shows all the links with the link column shows number of links.

·         Links have actual file contents

·         Removing any link, just reduces the link count, but doesn’t affect other links.

·         Even if we change the filename of the original file then also the hard links properly work.

·         We cannot create a hard link for a directory to avoid recursive loops.

·         If original file is removed then the link will still show the content of the file.

·         The size of any of the hard link file is same as the original file and if we change the content in any of the hard links then size of all hard link files are updated.

·         The disadvantage of hard links is that it cannot be created for files on different file systems and it cannot be created for special files or directories.

·         Command to create a hard link is: 
 

$ ln  [original filename] [link name]

 

·          

2. Soft Links 
 

·         A soft link is similar to the file shortcut feature which is used in Windows Operating systems. Each soft linked file contains a separate Inode value that points to the original file. As similar to hard links, any changes to the data in either file is reflected in the other. Soft links can be linked across different file systems, although if the original file is deleted or moved, the soft linked file will not work correctly (called hanging link).

·         ls -l command shows all links with first column value l? and the link points to original file.

·         Soft Link contains the path for original file and not the contents.

·         Removing soft link doesn’t affect anything but removing original file, the link becomes “dangling” link which points to nonexistent file.

·         A soft link can link to a directory.

·         Size of a soft link is equal to the name of the file for which the soft link is created. E.g If name of file is file1 then size of it’s soft link will be 5 bytes which is equal to size of name of original file.

·         If we change the name of the original file then all the soft links for that file become dangling i.e. they are worthless now.

·         Link across file systems: If you want to link files across the file systems, you can only use symlinks/soft links.

·         Command to create a Soft link is: 
 

$ ln  -s [original filename] [link name]

 


Sunday, 28 March 2021

How to Find Your Wi Fi Password in Windows 10 | With CMD and With Windows Settings




How to Know Wi-Fi password of all Connected Networks using CMD How To Find Wi-Fi Password Using CMD Of All Connected Networks? How to Find Your Wi-Fi Password in Windows 10 2 Ways To Find Out Windows 10 Wi-Fi Password It’s not uncommon to forget your WiFi password as you only need to enter it once on your PC, and it will automatically connect to it when the network is near. I personally use strong passwords (and you should too) for my WiFi and often forget them, but thankfully, Windows 10 makes it easy to view network password when needed. If you don’t remember your WiFi password and need to give it to someone or use it on a different device, there are multiple ways to view it right inside your Windows computer. Today, I am going to show your different ways to view the WiFi password. Each method is useful depending on your preference and how much access you have to the PC settings if you are not the administrator. #1. Use Windows settings to view WiFi password As I am the administrator of my PC and don’t have any restrictions, this is my go-to method for finding the WiFi password. Here’s how: From the Start menu, click on Settings and then click on Network & Internet. In the Status section, scroll down and click on Network and Sharing Center. Now click on your WiFi name in the View your active networks section. When the WiFi Status window opens, click on Wireless Properties here. Afterward, move to the Security tab and check the checkbox next to Show characters to view your WiFi password. #3. Use a Power Shell command Coming to a more advanced method – in the Power Shell, you can use a Network Shell (Netsh) command to view a bunch of details about your network, including its password. Furthermore, you can also use this method to view the passwords of all the networks your PC has connected to previously. For example, if you want to know your office network password while you are home, you can do so using this method without needing to connect to the office network. However, this will not work if you have used the Forget option to forget a network’s details. First, you need to know the name (SSID) of the WiFi network to use the netsh command. This isn’t an issue if you are already connected to the network as you can see the name, but it will be a problem if you need to see a previously connected network’s password. Thankfully, you can use a Power Shell command to see the list of all the networks you have connected to before. Note: You can use these same commands in Command Prompt, too, if you cannot access Power Shell for some reason. Right-click on the Start menu and select Power Shell from the list. Here enter this command netsh wlan show profiles and press the Enter key. You will see all the saved networks name under the User profiles section. Just copy the name of the network(s) from here so you could easily use it in the next command. To know the password of any one of the saved networks, use the below-mentioned command and replace the wifiname part with the actual name of the network. netsh wlan show profile "name=wifiname" key=clear For example, in my case, the command will be netsh wlan show profile "name=SSID hidden" key=clear. Once you press the Enter key, you will see loads of information about this network. Here in the Security settings section, the password will be written next to Key content

Wednesday, 10 March 2021

Linux Commands for Beginners with Examples | Part - I

linux commands for beginners, basic linux commands examples, basic linux commands for beginners, basic linux commands for devops, basic linux commands cheat sheet,
Hello Friends, In This Video Lecture :- I am Teaching about Basic Linux Command. hearing about Linux, most people think of a complicated operating system that is only used by programmers. But it’s not as scary as it seems. Linux is an entire family of open-source Unix operating systems, that are based on the Linux Kernel. This includes all of the most popular Linux based systems like Ubuntu, Fedora, Mint, Debian, and others. More accurately, they’re called distributions or distros. Since Linux was first released in 1991, it has continued to gain popularity due to its open-source nature. People can freely modify and redistribute it under their own name. When operating a Linux OS, you need to use a shell — an interface that gives you access to the operating system’s services. Most Linux distributions use a graphic user interface (GUI) as their shell, mainly to provide ease of use for their users. That being said, it’s recommended to use a command-line interface (CLI) because it’s more powerful and effective. Tasks that require a multi-step process through GUI can be done in a matter of seconds by typing commands into the CLI. Happy learning! **Thanks For Watching**


Saturday, 27 February 2021

How To Remove All Viruses From Computer Using Rescue USB Disk

 How To Remove All Viruses From Computer Using Rescue USB Disk

:heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign:
:globe_with_meridians: Today, we are going to share a few best methods to create a bootable USB of antivirus. So have a look at the complete steps discussed below.

:small_blue_diamond:Step 1: First of all, connect a removable USB device to your computer.

:small_blue_diamond:Step 2: Now you need, to download the ISO image of Kaspersky Rescue Disk.

:small_blue_diamond:Step 3: Now follow the instructions given by Kaspersky to create a USB bootable Rescue disk.

:small_blue_diamond:Step 6: Now Restart the computer with USB inserted and press F11 when the computer started to boot your USB.

:small_blue_diamond:Step 7: Now Kaspersky interface will appear, proceed till you find the option to select from Graphic mode or Text mode, select the graphic mode.

:small_blue_diamond:Step 8: Once Graphical User Interface fully loads onto the screen, you can perform a scan and remove all detected threats.

:white_check_mark: That’s it! You are done. This is how you can use Kaspersky Rescue Disk to remove all viruses from Windows 10 computer.

Keep supporting us:heart:,
==========================
Don't Ignore.Keep Support by follow us on Instagram, facebook and motivate us for more Stuff like this..

How To enforce Google to delete your Personal info 3 month once

 How To enforce Google to delete your Personal info 3 month once.

:heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign::heavy_minus_sign:
:diamond_shape_with_a_dot_inside: Until now, you had to manually delete this data or turn it off entirely. Deleting it means Google doesn’t always have enough information about you to make recommendations on what it thinks you’ll like, or where you might want to go.

:small_blue_diamond:Step 1: Visit myaccount.google.com and login if you haven’t already.

:small_blue_diamond:Step 2:  “Data & Personalization” on the left-side panel.

:small_blue_diamond:Step 3: Select the arrow next to “Web & App Activity.”

:small_blue_diamond:Step 4: Choose “Manage Activity.”

:small_blue_diamond:Step 5: Select “Choose to delete automatically.”

:small_blue_diamond:Step 6: Select either 18 months or three months.

:white_check_mark: That's it, you're done. I recommend selecting three months, since providing as little information as possible is probably the best for privacy. But Google’s activity page says this: “The activity you keep can improve your experience anywhere you use your Google Account.

Keep supporting us:heart:,

How To Call Someone On His Own Number

 How To Call Someone On His Own Number


1. Go to http://www.mobivox.com and register there for free account.
2. During registration, remember to insert Victim mobile number in “Phone number” field.
3. Complete registration and confirm your email id and then login to your account.
click on “Direct WebCall”.
4. You will arrive at page shown below. In “Enter a number” box, select your country and also any mobile number(you can enter yours). Now, simply hit on “Call Now” button to call your friend with his own number.
5. That’s it. Your friend will be shocked to see his own number calling him. I have spent last two days simply playing this cool mobile hack prank.:joy::wink:

Don't forget to share with your friends (after you prank them)

HOW TO CREATE A GOOGLE VOICE NUMBER

 HOW TO CREATE A GOOGLE VOICE NUMBER


- Firstly download tunnelbear VPN from store
-Goto voice.google.com and click on "GET FREE NUMBER" , pick one number according to area code you want and continue to next step.
-To verify number download Textplus app from store , to get a virtual USA number.
-paste the number generated on Textplus to verify your Google voice number.
-enter verification code sent to your Textplus number on your Google voice page .
-now you have successfully gotten a Google voice number.

Introduction of Ubuntu Linux Tutorial For Beginners In Hindi | 2021



Hello Friends, In This Video Lecture :- I am Teaching about introduction of Ubuntu Linux. How to Try Ubuntu Before you install Ubuntu on top of your current operating system, it's a good idea to try it out first. How to Download Ubuntu Linux ISO File & Make Bootable Pen Drive step by step tutorial: - Link :- https://youtu.be/NiggmThbrkQ How to Install Ubuntu Linux Step by Step The following guide will help you install Ubuntu on a hard drive: Link :- https://youtu.be/Pq9bjgJv4BY How to Navigate the Ubuntu Desktop A quick glance at the Ubuntu desktop shows a panel at the top of the screen and a quick launch bar on the left side. The Ubuntu GNOME Shell The GNOME Shell is the graphical display belonging to the GNOME desktop environment, but this section covers the GNOME overview screens, both the activities and the applications. Connect to the Internet To connect to the internet, press the network icon on the top panel. This displays a list of wireless networks. Select the network to which you wish to connect, then enter its security key. If you are connected to a router using an Ethernet cable, you are connected to the internet automatically. You can browse the web using Firefox (the default browser that ships with Ubuntu) or whatever browser you prefer. How to Keep Ubuntu up to Date How to update upgrade Kali Linux system. Link :- https://youtu.be/2oBYx4LmF-8 Ubuntu notifies you when updates are available for installation. You can change the settings so that the updates work the way you want. Unlike the process that Windows uses, you have full control as to when the updates are applied so you won't suddenly turn on your computer to find that update 1 of 465 is installing. You can also manually update the system by running the graphical Software Updater application. If you prefer the command line, which is an option on Ubuntu, open a terminal window, then enter the command below to update the system. sudo apt update && sudo apt upgrade -y How to Browse the Web With Ubuntu Launch Firefox by selecting its icon on the launcher or by going to the Applications Overview and searching for Firefox. If you prefer, you can install Google Chrome by downloading it from the Google website. How to Create Documents, Spreadsheets, and Presentations The default office suite for Ubuntu is LibreOffice. LibreOffice is the standard for Linux-based office software. Icons reside in the quick launch bar for the word processing, spreadsheet, and presentation packages. For everything else, the product offers a help guide. Linux software is available from repositories—servers that hold software that can be installed for a particular distribution. A repository is stored on one or more servers known as mirrors. Each item of software within a repository is called a package. There are many package formats, but Ubuntu uses the Debian package format. You'll find most of the things you need in the default repositories, but you can add and enable some extra repositories to acquire additional software. Using graphical packages such as Ubuntu Software and Synaptic aren't the only ways to install software using Ubuntu. You also can install packages from the command line using apt-get. While the command line may seem daunting, you will come to appreciate the power of apt-get after using it for a bit.

Thursday, 25 February 2021

The Complete Beginner's Guide to Ubuntu Linux

 



The Complete Beginner's Guide to Ubuntu Linux

Ubuntu (pronounced "oo-boon-too") is one of the most popular desktop Linux operating systems. The term Ubuntu derives from South Africa and roughly translates to "humanity toward others." The name is a nod to the Ubuntu project's commitment to the principles of open-source software development. It is free to install and free to modify, although donations to the project are welcome.

About Ubuntu

Ubuntu first burst onto the scene in 2004 and quickly shot to the top of the Distrowatch rankings, mostly because it's easy to install and use.

The default desktop environment in Ubuntu is GNOME, a modern desktop environment with a powerful search tool for finding all your applications and documents. It integrates well with common applications such as audio players, video players, and social media.

Other desktop environments are available in the package manager, including Cinnamon, LXDE, XFCE, KDE, and MATE. In addition, specific versions of Ubuntu are designed to work and integrate well with desktop environments such as Lubuntu, Xubuntu, Kubuntu, and Ubuntu MATE.

The large company Canonical employs the core Ubuntu developers, who earn money in various ways that include providing support services.

How to Get Ubuntu

How to Download Ubuntu Linux ISO File & Make Bootable Pen Drive step by step tutorial

https://youtu.be/NiggmThbrkQ

You can download Ubuntu free of charge. For desktop computers, two versions of Ubuntu are available, a long-term support (LTS) release that stays supported for five years and a regular release that arrives every six months and is only supported for around nine months.

The LTS version of Ubuntu is better for people who don't like to upgrade an operating system regularly. On LTS systems, everything stays the same as long as possible. The system receives updates for security and bug fixes only. You can download older LTS versions from the alternative downloads page if that's your preference.

The regular Ubuntu release provides up-to-date software and a recently developed Linux kernel, which means you get better hardware support. Not only that, but you also get the latest versions of the applications you use every day. Because the regular release refreshes quickly, you'll have the newest version of your favorite programs.

How to Try Ubuntu

Before you install Ubuntu on top of your current operating system, it's a good idea to try it out first. There are various ways to try Ubuntu, and the following guides will help:

How to Install Ubuntu

The following guide will help you install Ubuntu on a hard drive:

https://youtu.be/Pq9bjgJv4BY

How to Navigate the Ubuntu Desktop

A quick glance at the Ubuntu desktop shows a panel at the top of the screen and a quick launch bar on the left side.

Ubuntu offers many keyboard shortcuts that save time and effort, so these shortcuts are worth learning. To display a list of shortcuts, press Super key+Esc. The Super key varies with the type of computer:

  • On a Windows keyboard, the Super key is denoted by the Windows logo and is located next to the left ALT key.
  • On a Mac keyboard, look for the Command key.
  • On a Chromebook, the Super key has a magnifying glass logo on it.

The other way to navigate Ubuntu is to use the mouse. Each icon on the launch bar points to an application such as the file manager, web browser, office suite, or software center. Like on mobile devices, use the Applications icon in the lower-left corner of the desktop to display a list of installed apps. Then, select the icon of the app you want to open.

Like anything, using the Ubuntu desktop is the best way to familiarize yourself with it. The layout is different from both Windows and macOS, despite the similar appearance to the current Mac design. That said, everything is designed to be intuitive to navigate with a mouse or a touch screen. And, the chance of breaking something is slim. Once you dive in and see what everything does, you'll realize just how simple it is.

The Ubuntu GNOME Shell

The GNOME Shell is the graphical display belonging to the GNOME desktop environment, but this section covers the GNOME overview screens, both the activities and the applications.

Start by pressing Activities in the upper-left corner of the Ubuntu desktop. When you do, the screen darkens and displays a new set of controls:

  • In the middle of the screen, open windows are arranged in a convenient way to show what's running, select what you want, or close something you're done with.
  • To the right, you can switch workspaces. Ubuntu, and Linux in general, have multiple virtual desktops that you can switch between at any time, giving you more screen space.
  • At the top, you'll find a search that looks through the applications, files, and apps available for download.

To launch the GNOME Applications Overview, select the Applications icon at the lower-left corner of the screen. This looks similar to the previous overview screen. This time, though, there is a listing of all the applications in icon form.

The same search option as before appears at the top of the screen. At the bottom, you can switch between all apps and the ones you commonly use.

Connect to the Internet

To connect to the internet, press the network icon on the top panel. This displays a list of wireless networks. Select the network to which you wish to connect, then enter its security key. If you are connected to a router using an Ethernet cable, you are connected to the internet automatically. You can browse the web using Firefox (the default browser that ships with Ubuntu) or whatever browser you prefer.

How to Keep Ubuntu up to Date

Ubuntu notifies you when updates are available for installation. You can change the settings so that the updates work the way you want. Unlike the process that Windows uses, you have full control as to when the updates are applied so you won't suddenly turn on your computer to find that update 1 of 465 is installing.

You can also manually update the system by running the graphical Software Updater application. If you prefer the command line, which is an option on Ubuntu, open a terminal window, then enter the command below to update the system.

sudo apt update && sudo apt upgrade -y

How to Browse the Web With Ubuntu

Launch Firefox by selecting its icon on the launcher or by going to the Applications Overview and searching for Firefox. If you prefer, you can install Google Chrome by downloading it from the Google website.

 

How to Create Documents, Spreadsheets, and Presentations

The default office suite for Ubuntu is LibreOffice. LibreOffice is the standard for Linux-based office software. Icons reside in the quick launch bar for the word processing, spreadsheet, and presentation packages. For everything else, the product offers a help guide.

How to Manage Photos or View Images

Ubuntu has a number of packages for managing photos and viewing and editing images. For example:

  • Shotwell is a dedicated photo manager. This guide by OMGUbuntu has a good overview of its features.
  • A basic image viewer, Eye Of Gnome, allows you to view photos in a folder, zoom in and out, and rotate images.
  • The LibreOffice draw package is part of the full office suite.

You can launch each of these programs from the Dash by searching for them.

How To Listen To Music Within Ubuntu

The default audio package for Ubuntu is called Rhythmbox. It provides all of the features expected of an audio player: the ability to import music from various folders, create and edit playlists, connect with external media devices, and listen to online radio stations. You also can set up Rhythmbox as a Digital Audio Access Protocol (DAAP) server, and play music on a computer from a phone and other devices.

To run Rhythmbox, press ALT+F2, then enter Rhythmbox or search for it.

How to Watch Videos in Ubuntu

GNOME Videos is the default movie player for Ubuntu. It's a great basic option, but video players like VLC and Kodi are available on Ubuntu. Both can be found in GNOME Software, or you can install these apps from the command line.

If you want a good, all-around video player on Ubuntu, VLC is the recommended option.

How to Install Software Using Ubuntu

The main graphical tool to use when installing the software in Ubuntu is Ubuntu Software. It is fairly clunky, but it is functional. One of the first tools you should install using Ubuntu Software is Synaptic, which provides a powerful base for installing other software.

Linux software is available from repositories—servers that hold software that can be installed for a particular distribution. A repository is stored on one or more servers known as mirrors. Each item of software within a repository is called a package. There are many package formats, but Ubuntu uses the Debian package format. You'll find most of the things you need in the default repositories, but you can add and enable some extra repositories to acquire additional software.

Using graphical packages such as Ubuntu Software and Synaptic aren't the only ways to install software using Ubuntu. You also can install packages from the command line using apt-get. While the command line may seem daunting, you will come to appreciate the power of apt-get after using it for a bit.

How to Customize Ubuntu

The GNOME Desktop isn't as customizable as other Linux desktop environments. However, you can do basic things such as change the wallpaper and choose whether menus appear as part of the application or in the top panel. There are also tons of GNOME extensions and themes to help make your desktop your own.

How to Customize Ubuntu With the Unity Tweak Tool

Other Major Software Packages

There are some widely used packages that you probably will want to use. For example:

  • Skype: Skype is now owned by Microsoft, so it's understandable if you were thinking it wouldn't work with Linux. But you can install Skype on Linux.
  • Dropbox: Dropbox is an online file storage facility, which you can use as an online backup or as a collaborative tool for sharing files among colleagues or friends. You can install Dropbox in Ubuntu.
  • Steam: Steam is a popular platform for multiplayer gaming, video streaming, and social networking. Either install Synaptic and search for it from there or follow the apt-get tutorial and install Steam via apt-get. The package requires a 250 MB update, but once this is installed, Steam works perfectly in Ubuntu.
  • Minecraft: Microsoft also bought Minecraft, a popular video game. You can now install Minecraft using Ubuntu.
  • Wine and Lutris: Wine is not an emulator. That's what the name stands for, but it sure acts like one. If you want to play your Windows games on Ubuntu, you'll need Wine. Lutris is a game organizer and installer that makes getting games to run with Wine nearly as simple as installing those games on Windows.
  • NVIDIA Drivers: Graphics drivers work differently on Linux. If you have a card from NVIDIA, you'll need the latest drivers. There's an excellent PPA repository to help get you what you need for your graphics card.
  • Spotify: Streaming music on Ubuntu is easy too. You're free to stream from Spotify in a browser or integrate it with one of the media players that support it. You also have the option to install the official Spotify client on an Ubuntu PC.