Utility Use-Cases: start stop restart vsftpd

Published on July 2020 | Categories: Documents | Downloads: 9 | Comments: 0 | Views: 132
of 6
Download PDF   Embed   Report

Comments

Content

 

Utility

Use-Cases

sudo man su service service service

Run as administrator Manual / Help fle Switch User start a service stop a service restart a service

service top top mount umount dis dis sc ms d du

start stop restart vsftpd CPU / Memory / Process details Kill a rogue process mount a cdrom un mount a cdrom list the flesystem details wor on a !"SK   #ile System Chec Utility $ Chec partition #ormat a partition !is #ilesystem Usage% &human reada'le orm( !is Usage% )ist si*e o +ll fles/olders 'eneath

du umas eit passwd rpm rpm rpm rpm yum yum yum

!is Usage% )ist si*es UP,- . level display deault permission set in /etc/profle logout o current user change password install a standalone rpm pacage upgrade a standalone rpm pacage remove a standalone rpm pacage list pacages installed on system install upgrade remove

yum yum yum up0date up0date up0date up0date up0date up0date vstpd vstpd

list pacages that need updates list pacages availa'le rom sources list pacages installed on system install upgrade remove list pacages that need updates list pacage availa'le orm sources install with dependency solved ena'le u us ser access on #,P server /etc/vstpd1con   ena'le upload access on #,P /etc/vstpd1con  

vstpd lso lso

restart vstpd server )ist o opened fles $ which process $2 which fle )ist o fles opened 'y a process &eg1 !rop'o(

 

tar

'acup a directory into a tar'all&compressed(

tar

'acup a directory &ecluding some fles(

tar cronta' useradd passwd useradd

restore 'acup &to another directory preera'ly( 3dit the cronta' fle $ /etc/cronta'1con   Create a new user 4arvind4 unloc the new user 4arvind4 create a user with !"##3R35, H-M3 !ir1

useradd useradd useradd chage useradd useradd

Create user with Create user with Create user with 7eriy the age o Create user with Create user with

specifc U"! and 6U"! multiple groups account epiry date an account password epiry date specifc SH3))

 

Command sudo rpm -i vsftpd man ping sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 restart

sudo service vsftpd restart sudo top run top, press 'k' and enter the PID mount -t iso9660 /dev/cdrom /mnt/cdrom umount /mnt/cdrom or umount /dev/cdrom fdisk - fdisk /dev/sda fsck /dev/sda2 mkfs -! -t vfat /dev/sda2 df -h du -h du --ma"-depth#$ -h umask -% e"it pass&d sudo rpm -ivh package.rpm sudo rpm -vh package.rpm sudo rpm -e package sudo rpm -(a )um insta package )um update package )um remove package )um ist updates )um ist avaia*e )um ist instaed up2date -i package up2date -u package up2date - up2date --sho&-avaia*e --sho&-avaia*e up2date --sovedeps#package --sovedeps#package oca+ena*e#)es &rite+ena*e#)es sudo service vsftpd restart sof sof -i -n -P  grep drop*o"

 

tar -cvpf &&&*ackup.tar.g /var/&&& tar -cvpf root*ackup.tar.g root*ackup.tar.g --exclude=/mnt / tar -"vpf &&&*ackup.tar.g &&&*ackup.tar.g -C /var/recover) sudo cronta* -e useradd arvind pass&d arvind useradd -d /data/proects arvind useradd -u $000 -g 0$ arvind useradd - admins,&e*admin,deveopers admins,&e*admin,deveopers arvind useradd -e 20$-0-10 aparna chage - aparna useradd -f  arvind useradd -s /s*in/csh techmahindra

 

Comments use 484 to eit a man page

C+U,"-5% partition should 'e unmounted

'eneath pwd

 

p is very imp1 Preserving permissions

9 mm hh !oM M !o: cmd user arvind in loced state unlocs and prompts your or new password

value o ; will inactive the account as soon as password in epired

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close