January 28, 2019

Srikaanth

Workday Frequently Asked Linux Interview Questions Answers

Which Of The Following Tasks Cannot Be Accomplished With The Touch Command?

The touch command is usually used to modify either a file’s access or modification time. It can also be used to create a new file.

You Want To Copy The User's Home Directories To A New Location. Which Of The Following Commands Will Accomplish This?

The -r option tells the cp command to recurs the directories. The -P option retains the original permissions.

You Read An Article That Lists The Following Command: Dd If=/dev/fdo Bs=512 Of=/new What Does This Accomplish?

The dd command is a special copy command often used for floppy disks and tapes. The if= option specifies the source; the bs= is the block size; and the of= option is the output.

Which Transistor Is Used In Each Cell Of Eprom?

Floating .gate Avalanche Injection MOS (FAMOS) transistor is used in each cell of EPROM.

What Is Called .scratch Pad Of Computer.?

Cache Memory is scratch pad of computer.

Define Hcmos?

High-density n- type Complimentary Metal Oxide Silicon field effect transistor.

What Is 1st / 2nd / 3rd / 4th Generation Processor?

The processor made of PMOS I NMOS / HMOS I HCMOS technology is called 1st / 2nd / 3rd / 4th generation processor, and it is made up of 4 / 8 / 16 / 32 bits.

Why 8085 Processor Is Called An 8 Bit Processor?

Because 8085 processor has 8 bit ALU (Arithmetic Logic Review). Similarly 8086 processor has 16 bit ALU.

Give Examples For 8 I 16 / 32 Bit Microprocessor?

8-bit Processor - 8085 I Z80 / 6800; 16-bit Processor - 8086 / 68000 / Z8000; 32-bit Processor - 80386 I 80486.
Workday Frequently Asked Linux Interview Questions Answers
Workday Frequently Asked Linux Interview Questions Answers

You Attempt To Delete A File Called Sales.mem Using The Rm Command But The Command Fails. What Could Be The Problem?


In order to delete a file, you must have write rights to the directory containing the file.

You Want To Search For Sale And Sales. What Regular Expression Should You Use?

Use the asterick (*) to match to zero or more characters. The ‘$‘ matches to any one character so sale$ would not find sale.

You Want To Know How Many Lines In The Kickoff File Contains 'prize'. Which Of The Following Commands Will Produce The Desired Results?

Using the -c option with the grep command will show the total number of lines containing the specified pattern rather than displaying the lines containing the pattern.

You Want To Verify Which Lines In The File Kickoff Contain 'bob'. Which Of The Following Commands Will Accomplish This?

The -n option when used with sed prints only the lines containing the pattern. In this case, the pattern is ‘Bob’ and the file to be searched is kickoff.

You Have A File Called Docs.z But Do Not Know What It Is. What Is The Easiest Way To Look At The Contents Of The File?

The .Z extension indicates that this is a file that has been compressed using the compress utility. The zcat utility provides the ability to display the contents of a compressed file.

After Copying A File To A Floppy Disk, What Should You Do Before Removing The Disk?

If you do not unmount the floppy before removing it, the files on the floppy may become corrupted.

You Have Set Quotas For All Your Users But Half Of Your Users Are Using More Space Than They Have Been Allotted. Which Of The Following Could Be The Problem?

Quotas are set on a partition by partition basis. If your users have home directories on different partitions, you will need to configure quotas for each partition.

What Is The Real Mean Of Dhcp?

Dynamic addressing simplifies network administration because the s/w keeps track of IP addresses rather than requiring an administrator to manage the task. That means new computer can be added to the network without any risk of manually assigning unique IP address.

What Is Nfs? What Is Its Job?

NFS stands for Network File System. NFS enables filesystems physically residing on one computer system to be used by other computers in the network, appearing to users on the remote host as just another local disk.

In Linux Os, What Is The File Server?

The file server is a machine that shares its disk storage and files with other machines on the network.

What Are The Techniques That You Use To Handle The Collisions In Hash Tables?

We can use two major techniques to handle the collisions. They are open addressing and separate chaining. In open addressing, data items that hash to a full array cell are placed in another cell in the array. In separate chaining, each array element consists of a linked list. All data items hashing to a given array index are inserted in that list.

What Is The Major Advantage Of A Hash Table?

The major advantage of a hash table is its speed. Because the hash function is to take a range of key values and transform them into index values in such a way that the key values are distributed randomly across all the indices of a hash table.

What Is Write Command?

The write command enables you to write an actual message on the other terminal online. You have to issue the write command with the login ID of the user with whom you want to communicate. The write command informs the user at the other end that there is a message from another user. write pastes that message onto the other user’s terminal if their terminal’s write permissions are set. Even if they are in the middle of an edit session, write overwrites whatever is on the screen. The edit session contents are not corrupted; you can restore the original screen on most editors with Ctrl-L. write is mostly used for one-way communication, but you can have an actual conversation as well.

Why You Shouldn't Use The Root Login?

The root login does not restrict you in any way. When you log in as root, you become the system. The root login is also sometimes called the super user login. With one simple command, issued either on purpose or by accident, you can destroy your entire Linux installation. For this reason, use the root login only when necessary. Avoid experimenting with commands when you do log in as root.

How Big Should The Swap-space Partition Be?

Swap space is used as an extension of physical RAM, the more RAM you have, the less swap space is required. You can add the amount of swap space and the amount of RAM together to get the amount of RAM Linux will use. For example, if you have 8MB of RAM on your machine’s motherboard, and a 16MB swap-space partition, Linux will behave as though you had 24MB of total RAM.

What Command Should You Use To Check The Number Of Files And Disk Space Used And Each User's Defined Quotas?

The repquota command is used to get a report on the status of the quotas you have set including the amount of allocated space and amount of used space.

You Have A Large Spreadsheet Located In The /data Directory That Five Different People Need To Be Able To Change. How Can You Enable Each User To Edit The Spreadsheet From Their Individual Home Directories?

By creating a link to the file in each user’s home directory, each user is able to easily open and edit the spreadsheet. Also, any changes that are made are seen by all the users with access.

You Have A File Called Sales Data And Create Symbolic Links To It In Bob's Home Directory. Bob Calls You And Says That His Link No Longer Works. How Can You Fix The Link?

Because the link in bob’s directory is a symbolic link, if the file sales data in the /data directory is deleted, the symbolic link will no longer work.

What Is Meant By Sticky Bit?

When the sticky bit is set on a world writable directory, only the owner can delete any file contained in that directory.

Your Default Umask Is 002. What Does This Mean?

The digits of your umask represent owner, group and others in that order.
The 0 gives read and write for files and the 2 gives read only for files.

Which Of The Following Commands Will Replace All Occurrences Of The Word Rate With The Word Speed In The File Racing?

When using sed to do a search and replace, its default action is to only replace the first occurrence in each line. Adding the ‘g’ makes sed replace all occurrences of the search term even when it occurs multiple times on the same line.

You Have A Tab Delimited File Called Phonenos And Want To Change Each Tab To Four Spaces. What Command Can You Use To Accomplish This?

By default, expand converts tabs to eight spaces. Use the -t option to change this behavior.

You Issue The Command Head * What Would The Resulting Output Be?

If the number of lines to display is not specified, the first ten lines of the specified file are displayed. The asterick tells head to display the content of each file in the present working directory.

What Text Filter Can You Use To Display A Binary File In Octal Numbers?

The od text filter will dumpt the contents of a file and display it in 2-byte octal numbers.

What Would Be The Result Of The Command Paste -s Dog Cat?

The paste text filter usually joins two files separating the corresponding lines with a tab. The -s option, however, will cause paste to display the first file, dog, then a new line character, and then the file cat.

Subscribe to get more Posts :