Skip to main content
Bumped by Community user
Bumped by Community user
edited tags
Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
fixed some grammar to make it a little easier to understand
Source Link

I am the root user and I am setting up a menu for another user to use. This other user will only get this menu.

There are two options inter linkedthat are interlinked: the first option is to search users the. The code I got is:

last | awk '{print $1,$4,$5,$6,$7} ' 

I have checked this code and it works, it shows me the users nameusernames and the day they last logged on.

For the second option: I want to be able to set a date, and them delete users who haven't been active since that date those users will have been checked by, using the previousoutput of the above command.

I am using Linux Mint and Vim text editor.

I am the root user and I am setting up a menu for another user to use. This other user will only get this menu.

There are two options inter linked the first is search users the code is

last | awk '{print $1,$4,$5,$6,$7} ' 

I have checked this code it works it shows me the users name and the day they last logged on

For the second option I want to be able to set a date, and them delete users who haven't been active since that date those users will have been checked by the previous command

I am using Linux Mint and Vim text editor

I am the root user and I am setting up a menu for another user to use. This other user will only get this menu.

There are two options that are interlinked: the first option is to search users. The code I got is:

last | awk '{print $1,$4,$5,$6,$7} ' 

I have checked this code and it works, it shows me the usernames and the day they last logged on.

For the second option: I want to be able to set a date, and them delete users who haven't been active since that date, using the output of the above command.

I am using Linux Mint and Vim text editor.

fixed capitalization mess
Source Link

iI am the root user iand I am setting up a menu for another user to use. thisThis other user will only get this menu.

thereThere are two options inter linked the first is search users the code is

last | awk '{print $1,$4,$5,$6,$7} ' 

iI have checked this code it works it shows me the users name and the day they last logged on

forFor the second option iI want to be able to set a date, and them delete users who haven't been active since that date those users will have been checked by the previous command

iI am using linux mint vimLinux Mint and Vim text editor

any ideas would be greatly appreciated.

i am the root user i am setting up a menu for another user to use. this other user will only get this menu.

there are two options inter linked the first is search users the code is

last | awk '{print $1,$4,$5,$6,$7} ' 

i have checked this code it works it shows me the users name and the day they last logged on

for the second option i want to be able to set a date, and them delete users who haven't been active since that date those users will have been checked by the previous command

i am using linux mint vim text editor

any ideas would be greatly appreciated.

I am the root user and I am setting up a menu for another user to use. This other user will only get this menu.

There are two options inter linked the first is search users the code is

last | awk '{print $1,$4,$5,$6,$7} ' 

I have checked this code it works it shows me the users name and the day they last logged on

For the second option I want to be able to set a date, and them delete users who haven't been active since that date those users will have been checked by the previous command

I am using Linux Mint and Vim text editor

added 8 characters in body
Source Link
muru
  • 77.9k
  • 16
  • 212
  • 317
Loading