In regards to linux
“who” command will display only user loginIDs and the number of the users who are currently on the system
$ who ________________________________________
ANSWER : As we know that who command is used to get information of the users which are currently logged in the system below are the details about the user.
Syntax of the command: who [options] [filename]
Below is the output: Here in the below output first is showing username second is terminal line numbers and last is the current time of the system

In regards to linux “who” command will display only user loginIDs and the number of the...
In some cases, people who are not strong in Linux may need to run specific Linux commands. To make this easier, you can create a menu-driven program that runs these Linux commands. Such a program allows users to execute the commands without having to actually know about how to execute them. For this scenario, create a menu-driven program that has the following options: 1. List users who are logged in (using the who command) 2. List system information (using the...
What unix / linux command would I use to execute this: Display only the fifth field on each line in the file myclass using a delimiter of :
Need Linux Commands and instructions for the following:
6. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint: use "read" command to accept user input. a) Display the source code in an editor (#4-9) b) Execute your script in the terminal, and display the command and the result (#4-10)
3. The ____________ UNIX/Linux command will display to the screen a list of the current environmental variables.
Linux System Administration What files are used by the “finger” command? What command did you use? The “uname” command will display certain information about the Linux machine you are using. What option on this command will print the “machine hardware name”? What is the machine hardware name on “loki”? Pay attention to the keyword “machine hardware name”.
Write a linux command that will add a "#" character to the start of every line that does not already start with a "#" character. Write a linux command that will append all lines of the /etc/passwd file that contain the word "STUDENT" to the end of the file. Write a linux command that will move the last word of each line to the start of the line. Write a linux command that will add the line number to the...
Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following tasks based on the Linux Fundamentals lecture. For this lab, take screenshots for all major steps completed to illustrate that each task was successfully completed the same method as would be used for other labs). Tasks: 1. Create a new user named Billy Bob using the command linter face 2. Add Billy Bob to the sudoers group 3. Update and upgrade your Linux distribution...
The usermod command is used to change a Linux user account settings. There are a few of parmeters (ex. "-l" to change the user name) require considerations before using with the usermod command. Discuss a specific parameter you would used with the usermod and what you need to consider either before or after applying your usermod. Also, provide an example of your usermod command including the parameter.
In Ububtu/linux, Which command would be typed in order to view only UDP listening sockets, along with the associated PID? Which command would be typed in order to view only UDP listening sockets, the associated PID, and the associated user account
I need help with the following Linux bash assignment: Display the value of all environment variables to the screen. Add a temporary environment variable called Semester with a value of Spring to your currently running shell only. Modify your .bashrc file to create an environment variable called CLASS with a value of "CIS 220" that is available to all processes. Modify your .bashrc file to add $HOME/scripts to your path without removing any other items from your path. Modify your...