GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

It must have been ____ who locked up last night.

It must have been ____ who locked up last night.

Read Details

Me is an example of a(n) ____ pronoun.

Me is an example of a(n) ____ pronoun.

Read Details

Please place your smartphone on ____ charger when you are fi…

Please place your smartphone on ____ charger when you are finished.

Read Details

____ responded to the customer’s complaint promptly.

____ responded to the customer’s complaint promptly.

Read Details

I have a text file named blehbleh.txt and I want to use a co…

I have a text file named blehbleh.txt and I want to use a command line to display the number of lines that it contains. How do I achieve this with a single command line?

Read Details

We have a folder named “/home/tux/pictures” that contains al…

We have a folder named “/home/tux/pictures” that contains all our photos. Over the years, we have imported them from various sources and various formats. We want to move out of this folder all the photos who are not of a well-known format like gif jpg or jpeg, and put them into a subfolder name “/home/tux/pictures/unknown_formats/”. Provide one line of shell that will move these files in the appropriate subfolder, regardless of what our current working directory is. Along with this one line of shell, provide any command to set specific options of the shell so that your solution works regardless of the default options being turned on right now.

Read Details

We want to list all the processes running on our system but,…

We want to list all the processes running on our system but, instead of displaying the default information on each, we want to display the following columns (in that specific order): Username of the user who started the process Niceness level of the process Process Identifier Start time of the process Name of the command that was issued to start it (along with its arguments) Please note: it is part of this exercise to have you search through the ps manpage for some of the necessary syntax if it has not all been introduced in the slides examples.

Read Details

We have a plain-text data file named stuff.txt in which each…

We have a plain-text data file named stuff.txt in which each line contains a 9-digit long social security number, followed by a single space, a first name of variable length but containing no spaces, another single space, a similarly structured last name, yet another single space, and finally a variable-length single word representing a password.  Provide a way to generate a file stuff-revised.txt in which the last name and first name have been swapped positions.   For instance, the following line from the original file:   555993333 Malfurion Stormrage azeroth  Would be transformed to:   555993333 Stormrage Malfurion azeroth 

Read Details

We want to setup the following hierarchy of folders in our h…

We want to setup the following hierarchy of folders in our home directory (/home/tux/): EDU COP4610 slides videos exercises COP2512 slides videos exercises COP2513 slides videos exercises CIS4930 slides videos exercises CEN6084 slides videos exercises COP3515 slides videos exercises This could take a lot of shell commands. Try to obtain the same results with as small of an effort as possible. Your grade will be commensurate to how much your solution uses the shell syntax to avoid repetitive work. You will also make sure that your command works when invoked from any current working directory.

Read Details

We want to use the whatis tool to figure out what the comman…

We want to use the whatis tool to figure out what the command named foobar does. We know it exists both in sections 3 & 9 of the manual so we’d like to specify for whatis to only look into section 9. The textbook mentions that man -f or whatis can not be that specific but the whatis tool is actually able to let you specify a section number. Which of the following syntax will allow you to do so?

Read Details

Posts pagination

Newer posts 1 … 37,387 37,388 37,389 37,390 37,391 … 78,840 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top