chage -m
Q: Given the following PHP code: 1. Şedt="2020-11-30"; // sale end date 2. $cdts=time(; // current time...
A: Required: An incomplete Code is given, we need to complete it to print the required output. Requir...
Q: Assignment2: Analyse the case study given in chapter 4 stackAnswer the following questions from the ...
A: Import statements are:-
Q: Write an SQL query to print details of the employees whose first_name contains 'a'. • Write an SQL q...
A: 1st SELECT * FROM employees WHERE first_name LIKE '%a%'; 2nd SELECT * FROM employees WHE...
Q: EXPLAIN DEEPLY NO HANDWRITING NO SIMILARITY THANK YOU explain the advantages and disadvantages of ...
A: Advantage and Disadvantage of Text:- The upside of Text will be text informing is the capacity to ha...
Q: I need answer for F
A: Answer for option F : The given Function H=A'B'C+A'BC'+A'BC+ABC'+ABC Consider A=1 and A'=0,B=1,B'=0,...
Q: How to draw a rose in c ++ computer graphics
A: C++ program to draw Rose :- #include <iostream>#include <cmath>#include<stdio.h>FI...
Q: 4:\ The graphic user interface (GUI) enables the user to interact with the computer using graphic el...
A: Please find the answer below :
Q: Solve using JAVA
A: These programs can be asked from control statements, array, string, oops etc. Java basic programs li...
Q: Write a program in Java to read a one- dimensional array of 20 elements of the correct type and prin...
A: import java.util.*;public class Main{ public static void main(String[] args) { Scanner sc = new ...
Q: What is a "display picture"?
A: A picture in a frame on the desk that is just there for display.
Q: SOLVE IN "C#" Create a class for “Plane” having functionalities (methods) startengine(), fly() and l...
A: Above problem can be resolved by taking the approach of Class in C#.
Q: QLAB/ Write m-file to find a solution for the exponential series below, x2 x e*=1+x+++..- make the o...
A: Initialize x to any value. Take the exponent as exp(x) and the sum of series as 1. Take the Differen...
Q: Please do it fast Copy constructor definition requires __________________ i) Object to be passed b...
A: Question. Copy constructor definition requires __________________ i) Object to be passed by value i...
Q: Starting with an empty Circul Queue, what will be the state of Circular Queue, front, rare, size and...
A: Front: Get the front item from queue. Rear: Get the last item from queue. Size: Number of elements i...
Q: Discussion: Two word wide unsigned integers are stored at the memory addresses OA00 H and OA02 H res...
A: 1.mov 3 to eax and mov 4 to ebx and also use mul ebx to put 12 in eax2. now mov eax to ecx to displa...
Q: In c++, write a unit conversion program that asks which unit to convert from and which unit to conve...
A: #include<bits/stdc++.h>using namespace std;int main() { float mag; cout<<"Enter the...
Q: How level of binary tree is calculated, , explain with example. Calculate the level of a binary tree...
A: Trees are hierarchical data structures unlike arrays, stacks, or queues which are linear data struct...
Q: 6. Design an adder/ subtracter combo (A+B/ A-B) using full-adder by adding another signal S. when S=...
A: truth table, S B C SUM/DIFF CARRY/BORROW 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 ...
Q: Could someone please tell me the chromatic number of the following graphs below? Thanks! a) L6 b) L3...
A: Chromatic number of the following graphs? a)L6 b)L3,4 c)X6 d)D5 Chromatic number Definition: The mi...
Q: Q1: Write a C++ program to Calculate the Area of Circle?
A: NOTE: As per our guidelines we are supposed to answer only one question. Kindly repost other questio...
Q: Please answer #2
A: he context diagram is used to establish the context and boundaries of the system to be modelled: whi...
Q: With the aid of diagrams explain the concepts of Object-Oriented Programming (OOP)
A: Object Oriented Programming: It is a programming language that makes use of the objects. Real world...
Q: what is the application of matrixes in computer science or in information technology
A: GIVEN: what is the application of matrixes in computer science or in information technology ...
Q: In which areas PSP will help in the overall process of software product development and management i...
A: The personal Software process is the process by which the engineers and human resources learn how to...
Q: If infinite resources can theoretically run a program 8 times faster than a single processor, how mu...
A: SPEC - Standard Performance Evaluation Corporation base class execution time SP...
Q: 1.Tell whether or not the following constants can be loaded into an ARM7TDMI register without creati...
A: a. No. This instruction cannot be loaded into register without using literal pool 0x000040B0 Literal...
Q: What are the differences between a Type 1 hypervisor and a Type 2 hypervisor? Name one example and d...
A: Virtualization is made possible by a piece of software known as a hypervisor. It hides the actual te...
Q: 1. Declare a variable named title.2. Assign title the value "President".3. Initialize a variable nam...
A: Note: Programming Language not specified declaring and assigning values and variables using C++ #inc...
Q: QUESTION 14 What is the output of the following code segment? s = 6; while(s > 0) if(s % 2 ==1) Writ...
A: Here the while loop will iterate or run untill the condition of loop holds TRUE That is, untill the ...
Q: Example3: Figure below shows precedence diagram for a small project .Determine ES,EF,LF,LF for all a...
A: Precedence diagram The precedence diagram method (PDM) is a tool for scheduling activities in a proj...
Q: Create an array of integer type.Find its upper bound and count the total number of its elements.Mult...
A: Add the necessary header files declare the array integer variable and its size. declare a variable t...
Q: Q1/ Fill out the following blanks 1- Central processing unit has the components.2- translate the inf...
A: Note: As per our company guidelines we are supposed to answer only first 3 sub-parts, so we did firs...
Q: Consider a system with 3 I/O devices •Printer (priority of 2) •Disk (priority of 4) •Communication l...
A: Step 1:- Given:- Consider a system with 3 I/O devices •Printer (priority of 2) •Disk (priority of 4)...
Q: The shorter the ___ is, the more force the lever will apply. (simple Machines: Lever)
A: This is a part of engineering mechanincs
Q: The programming language is Python.
A: Get the input file name Get the output file name Open the input file in reading mode Open the output...
Q: Please give a detailed answer below.
A: HTTP verbs are the methods that are used to perform CRUD operations GET - access data POST - cre...
Q: Question 03: Google what is meant by precedence of operators in programming? Question 04: Arith...
A: Hey, since there are multiple questions posted, we will answer first question. If you want any speci...
Q: Q: Write import statements used in ( library.java ) ?
A: Note : If library.java is implemented by using linked list then following import statements should b...
Q: Java: Class: MiddleStr Write a method public static String middle(String str) that returns a string ...
A: public class MiddleStr{ public static void main(String[] args) { System.out.println("Middle element...
Q: Do this question without using loop like for and while. Use python language
A: A Palindrome String is a collection of alphabets which remains the exact same way when read backw...
Q: What are the mantissa and exponent values if 6.75 is represented in 8-bit binary floating-point repr...
A: Change of decimal to 8-bit floating point representation: Stage 1: Convert the whole number piece o...
Q: Which one of the following sentences holds true about Web Services (select all the correct answers, ...
A: A) Security is a functional entity implemented in the Service Registry B)SOAP passes XML-encoded dat...
Q: Q1/ If you know that the values of x are the odd numbers from 1-100, calculate the value of y from t...
A: FORTAN code: Program Helloprint 100100 format (2x,'x', 6x, 'y')do x = 1, 100, 2 y = (x+2)/SQ...
Q: A publishing company produces books on various subjects. The books are written by authors who specia...
A: EER diagram is an Enhanced Entity-Relationship Diagram which is used to represent the data in visual...
Q: After Executing: MOV SP-30000 MOV AX,0AABBH MOV CX,0CCDDH MOV DX,0EEFFH
A: Microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of perf...
Q: Write a Reverse Polish Notation (RPN) calculator in Java. Write a Stack class for doubles: constru...
A: Program in Java: import java.util.*; public class RPN { /** * Computes the outcome of a give...
Q: Processing Lists Create a new program in Repl.it called "Lists." Your goal for this program is to cr...
A: #python list are using inbuilt class named as an Abstract class for data abstraction#same code is us...
Q: Problem 1.6: Add constraints to the EMP1 table to check the EMPNO value while entering (i.e) EMPNO >...
A: Since you have posted a question with multiple sub-parts, according to the company's policy we will ...
Q: Write a program that replaces each line of a file with its reverse. For example, if you run java Rev...
A: JAVA program that replaces each line of file with its reverse import java.util.*;import java.io.*;im...
Q: Database Systems - Database Design
A: Since multiple staff ID and staffName exist with single report, hence in 1NF, we need to seperate th...
Explain what each of the following commands are attempting to accomplish. Assume that you have proper permissions and are in any appropriate directory.
2. chage -m 1 -M 90 -I 15 -W 14 hrturner
________________________________________________________________________________
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- 1. What are the command(s) to • Assign the variable t the value of 20. • Next, assign the variable s the value of t+30. • Finally, display the contents of t and s to verify you have correctly defined these variables. 2. Switch to your source directory (created in the homework assignment). Display the contents of the PATH variable. What command would you use to add the current working directory to the PATH variable. 3. After completing the above question list all the different commands that can be used to run the phmenu (in the homework assignment, phmenu was placed in the source directory). 4. What are the commands to • Create a variable called iam and assign the results of the whoami command to it. • Display the contents of the iam variable to verify your results. 5. At the command line, use a for loop that uses the variable sandwiches and then displays a line at a time each of the following sandwiches: chicken, ham, hummus, tomato. 6. Create a script that uses case logic to have…What chmod command would you use to impose the following permissions?a. on a directory such that: the owner would have read, write, and execute; the groupwould have read and execute; and others would have readb. on a file such that: the owner would have read and write; the group would have nopermissions; and others would have writec. on a file such that: the owner would have write; the group would have read, write,and execute; and others would have read and writed. on a file such that: the owner would have read and execute; the group would haveread, write, and execute; and others would have executee. on a directory such that: the owner would have execute; the group would haveread, write, and execute; and others would have no permissionsf. on a directory such that: the owner would have write; the group would have read,write, and execute; and others would have read, write, and executeg. on a directory such that: the owner would have read, write, and execute; the groupwould have read; and…cmd command Answer in the single command line. Follow the diagram in question 1 a: Display the list of files in the reptiles directory using a relative path. b: Display the list of files in the shape directory sorted by its name in reverse order using an absolute path. c: Display the contents of mydir directory which includes subdirectories as well. d: Display the contents of the windows directory without scrolling down immediately. e: Display the contents of the system32 directory column-wise. quation 1 is in the picture
- unix Read the description at the end of Part I that shows the relationship between directory content, inode table and file content before doing this question. Change your working directory to your login directory Create the file called share using cat command under your login directory. Enter one or two lines of text in it. Display the content of the share file Display the number of hard links to the share file ONLY using the long option Using echo command, answer how many hard links (hard link count) the share file has. Display the inode number for the share file using appropriate option. Create the subdirectory, linkdir under your login directory Change working directory to Stay in this directory until the rest of this question. Create a hard link called share2 to the share Remember that the share file is the parent directory and NOT in the current working directory. Hence, you need to specify correct relative or absolute pathname for share file in your hard link command.…Create the given directory structure below in drive D:,then using copy con command create all the files in their respective subdirectories. Write all the commands needed to do this.BELOW MCQ GIVEN ANSWER CAN BE MORE THAN ONE OPTION. PLEASE PROVIDE CORRECT ANSWERS. ------------------- Which of the following statements correctly describe execution of the highlighted command? $qrep ^root /etc/passwd root:qqed262w7tvxq:0:0:0000~admin(0000), ,258, :/:/bin/tcsh $su A) the current directory will be changed to '/' B) the environment will be the same as though root (super user ) had logged onto the system. C) the user will be prompted for a password and then /bin/tcsh will be executed . D) the system will execute /bin/sh . the current directory will not be changed. E) the user will be prompted for a password and then /bin/sh will be executed.
- i.Write a command that copies all files in the current working directory that start with b and have a .txt extension to a directory called data that is a subdirectory of your home directory. ii.Write a command to move all of the files in /tmp/downloads whose names contain the string 2020 to the current working directory. iii.Write a command to display a directory listing of all files in the current working directory that consists of two characters, followed by a . (period), followed by another 3 characters.Write the command that will locate all files that are larger than 10 megabytes in size, and copy each one to the directory "/overflow".j) Find the number of lines in the password file, on the server. /etc/passwd k) Create a directory called PROJECT1 and copy all the hidden files from your home directory into the PROJECT1 directory. IMPORTANT: Do NOT use the -r switch on the cp command when copying the hidden files. It is NOT required and will cause other directory structures to be copied and then they can not be removed! l) Show the directory listing for the PROJECT1 directory in reverse alphabetical order. m) Remove the PROJECT1 directory and all files in that directory. n) Print the calendar for June 2000 and November 2005. You must show the calendar entries side-by-side.
- I need to write a notepad script to run as a batch file for windows. How would one write the script from the pseudocode to organize a semester? I have the pseudocode below: Ask for the semester and build a directory for the semester under the Documents folder Ask for the first course to set up. Create a directory for the course under the semester's directory and create 2 subdirectories called Assignments and Notes under each course directory. Ask for the next course to add. If the course entered is "end", you are done. If it is not end, go back to step 3. Display the tree structure of the completed semester directory Display a message saying "All Done, See you next semester" at the end of the scriptWrite the answer of the following command below: a. Write a command to change the permission (others can read, owner can write and group members can execute only) of all the files and directories within the directory XYZ. b. Write a command to list all the installed packages with their version number, whose name conations a pattern “Linux”. c. Write a command to display the disk usage of all the files and directories under directory TEST in human readable format. d. Write a command to search all the files in ending with .doc, whose does not contains a pattern “package” with line number before it. e. Write a command to search all the files in your parent directory whose name is starting from a number in between 9 to 10.…Write the commands required for the following tasks. Try out each command on yoursystem to ensure that it is correct:a. Make a hierarchical directory structure under /root that consists of one directorycontaining three subdirectories.b. Copy two files into each of the subdirectories.c. Create one more directory with three subdirectories beneath it and move files fromthe subdirectories containing them to the counterparts you just created.d. Hard-link three of the files. Examine their inodes.e. Symbolically link two of the files and examine their link count and inode information.f. Make symbolic links from your home directory to two directories in this structureand examine the results.g. Delete the symbolic links in your home directory and the directory structure youcreated under /root.