Found 499 Articles for File System

Difference between Substitution Cipher Technique and Transposition Cipher Technique

Kiran Kumar Panigrahi
Updated on 22-Aug-2022 14:30:07

8K+ Views

Both Substitution Cipher and Transposition Cipher are traditional techniques used in cryptography to encrypt a plaintext into ciphertext in order to prevent it from getting tampered. Read through this article to find out more about Substitution cipher and Transposition cipher and how they are different from each other.What is Substitution Cipher Technique?In the Substitution Cipher technique, each character is substituted with other character/number or other symbol. This technique changes the identity of a character but not its position in the string.A substitution cipher encrypts a text sequence by replacing letters or units of text with other letters or units of ... Read More

Difference between Steganography and Cryptography

Kiran Kumar Panigrahi
Updated on 04-Aug-2022 08:30:16

5K+ Views

Steganography, or cover writing, is a method where a secret method is converted into fake looking message. This technique helps to keep a message secret. It is pretty difficult to use and understand. The structure of data remains unaltered in Steganography. It is used in text, audio, video or images. Cryptography, or secret writing, is a method where a secret method is converted in cipher text and sent to other person who then decrypt the cipher text into plain text. Cryptography can be classified as Symmetric key cryptography or Asymmetric key cryptography. Read through this article to find out more ... Read More

How to Find a Specific String or Word in Files and Directories in Linux

Pradeep Elance
Updated on 25-Feb-2020 06:20:08

2K+ Views

Many times we need to search for a particular string which may be present in multiple files. In this article we'll see which commands to use to find all the files that contains a particular string or Word.Using grepIt is a powerful regular expression search tool. At a basic level , it will match an input string with the list of files that contain that string.Below is the syntax and the example.grep 'string' directory-path/*.* #Example grep 'config' hadoop-2.6.5/etc/hadoop/*.*Running the above code gives us the following result −hadoop-2.6.5/etc/hadoop/capacity-scheduler.xml: hadoop-2.6.5/etc/hadoop/core-site.xml: hadoop-2.6.5/etc/hadoop/hadoop-policy.xml: hadoop-2.6.5/etc/hadoop/hdfs-site.xml: hadoop-2.6.5/etc/hadoop/httpfs-site.xml: hadoop-2.6.5/etc/hadoop/kms-acls.xml: hadoop-2.6.5/etc/hadoop/kms-site.xml: hadoop-2.6.5/etc/hadoop/mapred-site.xml.template: hadoop-2.6.5/etc/hadoop/ssl-client.xml.example: hadoop-2.6.5/etc/hadoop/ssl-server.xml.example: hadoop-2.6.5/etc/hadoop/yarn-site.xml:Using grep -rIn ... Read More

How to Create a New Ext4 File System in Linux?

Pradeep Elance
Updated on 25-Feb-2020 06:14:54

4K+ Views

The hard disk in a computer is formatted with specific file system so that the operating system can read and write into it. For UNIX based systems we have various type of file systems. In this article we will see how to format a new partition in hard disk with ext4 file system.Available Filesystem typesFirst we see what are the different file systems available for the current operating system. The below command lists all those file systems.$ ls -1 /sbin/mkfs*Running the above code gives us the following result −/sbin/mkfs /sbin/mkfs.bfs /sbin/mkfs.cramfs /sbin/mkfs.ext2 /sbin/mkfs.ext3 /sbin/mkfs.ext4 /sbin/mkfs.ext4dev /sbin/mkfs.fat /sbin/mkfs.minix /sbin/mkfs.msdos /sbin/mkfs.ntfs /sbin/mkfs.vfatLook ... Read More

Display Command Output or File Contents in Column Format in Linux

Pradeep Elance
Updated on 25-Feb-2020 05:58:07

498 Views

Sometimes there may be too many columns crammed into a single file. That makes it difficult to read the content of the file and point out which data belongs to which column. In order to have a better view, we ca use certain commands that will allocate space between the columns and also mark some separation characters that will make it clear to see the beginning and end of the column.Sample FileLets’ look at the below sample file which we will use to demonstrate the column command. We can get the file from kaggle.here.$ cat iris.dataRunning the above code gives ... Read More

Facebook introduces video as your profile pic!

Samual Sam
Updated on 28-Jan-2020 12:29:39

187 Views

Now you can upload a 7-second video as your profile pic. Isn’t that great? You can upload a fun-filled video or just a formal introduction in just that small little profile space describing you.Along with the profile video, you can now, highlight your bio-data with a 100-character bio field.And we have an updated mobile-centric design with centered profile photos. You want more? Facebook has Big sections for photos and friends, temporary profile pics, option to pin feature photos to the top of the profile! What more can you ask for?This helps you to highlight the most important things in your ... Read More

How to Access your Computer Files from Anywhere

Samual Sam
Updated on 28-Jan-2020 10:22:05

8K+ Views

Do you wish to access your personal documents remotely, or music / videos, photos stored on your personnel computer, or on your mobile phone while you are travelling or when you are in office? The simplest solution is to copy all your data from the source to a portable hard drive and then carry it around. However, this is a cumbersome approach as you would require syncing manually the home computer with your portable disk.There are many other innovative ways these days. In this article, let us explore to see some technologies, tools to make this job easier whenever & ... Read More

How to Add Cinematic Effects On Selfies

Samual Sam
Updated on 31-Jan-2020 07:30:10

96 Views

Along with food, shelter and money internet and smart phone have become our basic necessities. Talking about smart phones along with all other criteria one unspoken necessity we all expect from our phone is front camera for selfies. A selfie for every mood, every moment happy, sad, angry or busy doing nothing.Earlier after taking a selfie limited editing options were available, but thanks to advancement in technology we can make our picture more beautiful or funny just as we want. A new app Lollicam helps us apply cinematic effects in selfies that makes picture more appealing. Pictures give you complete ... Read More

How to Copy a File to Multiple Directories in Linux?

Samual Sam
Updated on 28-Jan-2020 10:12:38

496 Views

Did you get to take one file on a Linux or Unix approach and replicate it to a whole bunch of alternative directories? Then, this article is for you to copy a file to multiple directories in Linux/Ubuntu.Using with cp and xargsTo copy a file to multiple directories in Linux/Ubuntu, use the following in command –$ echo dir1 dir2 dir3 | xargs -n 1 cp file1In the above command, we are copying file1 to dir1, dir2, and dir3 directories.The sample example of the above command is as shown below −$ echo Music Videos Desktop | xargs -n 1 cp httpstat.pyIn ... Read More

How to Increase Swap Space on Linux Ubuntu?

karthikeya Boyini
Updated on 27-Jan-2020 07:23:20

3K+ Views

In this article, we will learn how to increase the swap space, which will solve the memory errors in applications. This will cover how to add a swap file to an Ubuntu Linux.Anyway, this is recommended to utilize the spinning hard disk drivers for swap as SSD can cause issues with hardware degradation over time. Due to this reason, do not enable swap on Cloud where the SSD storage is provided.What is Swap file?The Swap is a place where the OS can store temporary data as it can no longer holds in RAM. Basically, this will increase the ability of ... Read More

Advertisements