vikasjson / linux-commands

linux commands to perform operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                                              # linux-commands
                                    linux commands to perform operations 
  1. check internet connecton in centos by below command :

nmcli d

  1. connect internet in centos :

nmtui

  1. get default target which is selected Graphical/Command line :

systemctl get-default

  1. set default target graphical :

systemctl set-default graphical.target

  1. install GUI in centos :

yum -y group install "GNOME Desktop" "Graphical Administrative Tools"

  1. Zip a directory or file :

zip -r [new file name] [directory or file name which is to zip]

  1. unzip a file :

unzip [file_name]

  1. install screen recorder in linux :

sudo yum install recordmydesktop

  1. start recording :

    recordmydesktop

  2. install graphics for recordmydesktop :

yum install gtk-recordmydesktop

  1. Use the usermod command to add the user to the wheel group(Make sudo user).

usermod -aG wheel username

  1. Check Nginx Status.

nginx -t

  1. Check Disk Space

    df -h

  2. Un-mount all the devices permanantly

sudo nano /etc/fuse.conf // and uncomment the user_allow_other

About

linux commands to perform operations