List All The Files Beginning With A?
To list all the files beginning with A command: ls A*
Which Of The Quoting Or Escape Characters Allows The Dollar Sign ($) To Retain Its Special Meaning?
The double quote (") allows the dollar sign ($) to retain its special meaning. Both the backslash (\) and single quote (') would remove the special meaning of the dollar sign.
What Is A Faster Way To Do The Same Command? Mv Fileo.txt Newdir Mv Filel.txt Newdir Mv File2.txt Newdir Mv File3.txt Newdir?
A shortcut method would be: mv file?.txt newdir
List Two Ways To Create A New File
a.Copy a file to make a new file.
b. Use the output operator e.g. ls -l > newfile.txt
What Is The Difference Between > And >> Operators?
The operator > either overwrites the existing file (WITHOUT WARNING) or creates a new file.
The operator >> either adds the new contents to the end of an existing file or creates a new file.
How Can You See All Mounted Drives?
mount -l
How Can You Find A Path To The File In The System?
locate file_name (locate - list files in databases that match a pattern)
What Linux Hotkeys Do You Know?
Ctrl-Alt-F1 Exit to command prompt
Ctrl-Alt-F7 or F8 Takes you back to KDE desktop from command prompt
Crtl-Alt-Backspace Restart XWindows
Ctrl-Alt-D Show desktop
What Can You Tell About The Tar Command?
The tar program is an immensely useful archiving utility. It can combine an entire directory tree into one large file suitable for transferring or compression.
What Types Of Files You Know?
Files come in eight flavors
Normal files
Directories
Hard links
Symbolic links
Sockets
Named pipes
Character devices
Block devices
How You Will Uncompress The File?
Use tar command (The GNU version of the tar archiving utility)
tar -zxvf file_name.tar.gz
What Does Grep() Stand For?
General Regular Expression Parser.
Explain Mysql Locks.
Table-level locks allow the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most granular and allow locking of specific rows.
Explain Mysql Architecture.
The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.)
List The Main Applications Of 8 Bit Microprocessors?
8 bit microprocessors are used in a variety of applications such as appliances automobiles ,industrial process and control applications.
What Is Nv-ram?
Nonvolatile Read Write Memory, also called Flash memory. It is also know as shadow RAM.
Can Rom Be Used As Stack?
ROM cannot be used as stack because it is not possible to write to ROM.
What Is Stack?
Stack is a portion of RAM used for saving the content of Program Counter and general purpose registers.
What Is Flag?
Flag is a flip-flop used to store the information about the status of a processor and the status of the instruction executed most recently .
Which Processor Structure Is Pipelined?
All x86 processors have pipelined structure.
What Is A Compiler?
Compiler is used to translate the high-level language program into machine code at a time. It doesn’t require special instruction to store in a memory, it stores automatically. The Execution time is less compared to Interpreter.
Differentiate Between Ram And Rom?
RAM: Read / Write memory, High Speed, Volatile Memory. ROM: Read only memory, Low Speed, Non Voliate Memory.
What Is A Microprocessor?
Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor is single- chip devices.
What Command Would You Use To Create An Empty File Without Opening It To Edit It?
You use the touch command to create an empty file without needing to open it. s a and e point to invalid commands, though either of these might actually be aliased to point to a real command. s b and c utilize editors, and so do not satisfy the requirements of the . actually touch is used to change the timestamps of a file if its exits, otherwise a new file with current timestamps will be created.
What Do You Type To Stop A Hung Process That Resists The Standard Attempts To Shut It Down?
The kill command by itself tries to allow a process to exit cleanly. You type kill -9 PID, on the other hand, to abruptly stop a process that will not quit by any other means. Also, pressing CtrI+C works for many programs. s b and d are only valid in some contexts, and even in those contexts will not work on a hung process.
Which Two Commands Can You Use To Delete Directories?
You can use rmdir or rm -rf to delete a directory. a is incorrect, because the rm command without any specific flags will not delete a directory, it will only delete files. s d and e point to a non-existent command.
What Is Difference Between At And Cron?
Cron command is used to schedule the task daily at the same time repeatedly ,“at” command is used to schedule the task only once i.e. to run only one time.
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.
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.
To list all the files beginning with A command: ls A*
Which Of The Quoting Or Escape Characters Allows The Dollar Sign ($) To Retain Its Special Meaning?
The double quote (") allows the dollar sign ($) to retain its special meaning. Both the backslash (\) and single quote (') would remove the special meaning of the dollar sign.
What Is A Faster Way To Do The Same Command? Mv Fileo.txt Newdir Mv Filel.txt Newdir Mv File2.txt Newdir Mv File3.txt Newdir?
A shortcut method would be: mv file?.txt newdir
List Two Ways To Create A New File
a.Copy a file to make a new file.
b. Use the output operator e.g. ls -l > newfile.txt
What Is The Difference Between > And >> Operators?
The operator > either overwrites the existing file (WITHOUT WARNING) or creates a new file.
The operator >> either adds the new contents to the end of an existing file or creates a new file.
Daum Frequently Asked Linux Interview Questions Answers |
How Can You See All Mounted Drives?
mount -l
How Can You Find A Path To The File In The System?
locate file_name (locate - list files in databases that match a pattern)
What Linux Hotkeys Do You Know?
Ctrl-Alt-F1 Exit to command prompt
Ctrl-Alt-F7 or F8 Takes you back to KDE desktop from command prompt
Crtl-Alt-Backspace Restart XWindows
Ctrl-Alt-D Show desktop
What Can You Tell About The Tar Command?
The tar program is an immensely useful archiving utility. It can combine an entire directory tree into one large file suitable for transferring or compression.
What Types Of Files You Know?
Files come in eight flavors
Normal files
Directories
Hard links
Symbolic links
Sockets
Named pipes
Character devices
Block devices
How You Will Uncompress The File?
Use tar command (The GNU version of the tar archiving utility)
tar -zxvf file_name.tar.gz
What Does Grep() Stand For?
General Regular Expression Parser.
Explain Mysql Locks.
Table-level locks allow the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most granular and allow locking of specific rows.
Explain Mysql Architecture.
The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.)
List The Main Applications Of 8 Bit Microprocessors?
8 bit microprocessors are used in a variety of applications such as appliances automobiles ,industrial process and control applications.
What Is Nv-ram?
Nonvolatile Read Write Memory, also called Flash memory. It is also know as shadow RAM.
Can Rom Be Used As Stack?
ROM cannot be used as stack because it is not possible to write to ROM.
What Is Stack?
Stack is a portion of RAM used for saving the content of Program Counter and general purpose registers.
What Is Flag?
Flag is a flip-flop used to store the information about the status of a processor and the status of the instruction executed most recently .
Which Processor Structure Is Pipelined?
All x86 processors have pipelined structure.
What Is A Compiler?
Compiler is used to translate the high-level language program into machine code at a time. It doesn’t require special instruction to store in a memory, it stores automatically. The Execution time is less compared to Interpreter.
Differentiate Between Ram And Rom?
RAM: Read / Write memory, High Speed, Volatile Memory. ROM: Read only memory, Low Speed, Non Voliate Memory.
What Is A Microprocessor?
Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor is single- chip devices.
What Command Would You Use To Create An Empty File Without Opening It To Edit It?
You use the touch command to create an empty file without needing to open it. s a and e point to invalid commands, though either of these might actually be aliased to point to a real command. s b and c utilize editors, and so do not satisfy the requirements of the . actually touch is used to change the timestamps of a file if its exits, otherwise a new file with current timestamps will be created.
What Do You Type To Stop A Hung Process That Resists The Standard Attempts To Shut It Down?
The kill command by itself tries to allow a process to exit cleanly. You type kill -9 PID, on the other hand, to abruptly stop a process that will not quit by any other means. Also, pressing CtrI+C works for many programs. s b and d are only valid in some contexts, and even in those contexts will not work on a hung process.
Which Two Commands Can You Use To Delete Directories?
You can use rmdir or rm -rf to delete a directory. a is incorrect, because the rm command without any specific flags will not delete a directory, it will only delete files. s d and e point to a non-existent command.
What Is Difference Between At And Cron?
Cron command is used to schedule the task daily at the same time repeatedly ,“at” command is used to schedule the task only once i.e. to run only one time.
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.
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.
Post a Comment