Sudo passwd “user id”

Ls -sShow file Size
Ps – aux whoShow users against process’s files open Shows What users are currently logged in and what time the logged in at
Ps -ef | grep “service”Show process running with “service name”
Ps -e -f Command 1 | command 2 Grep processname list processes Show all processes, not just those belonging to user Show processes in full format (more detailed then default) Pass output of command 1 as input to command 2   Find lines containing a pattern The pattern for grep to search the output of ps -ef
cat /proc/versionShow what version of Linux you are running
Crontab -lShow cron jobs scheduled on the device
Ls -lList file details incl date
Ls -laShows swap files in a given directory for any open files via vi
FreeMemory Allocation and how much is free
Ls -aShow hidden Directory’s (beginning with a .)
PwdShow path you are currently in
Df – hPartitions and there Size
Grep -RTo search for text in all Directorys from Base Directory
 E.g grep -R “snmp-server host” /home/rtrmgmt/rtrinfo/switches
~Tilda (used in front of a directory when you don’t know where it is
MtrLinux Ping /Tracert utility (mytraceroute) “mtr x.x.x.x” where x is ip
grep -vmeans show all lines not matching.
grep -L means show all FILENAMES not matching
 grep -R -L  “snmp-server host” /home/rtrmgmt/rtrinfo/switches/ |grep running.txt
service –status-allList running Services
service httpd statusPrint Status of any service (replace httpd with service name)
chkconfig –listList All Known Services
sudo su – dzdo su  –Another method to change into root profile As of 2018 in Centrify use this instead of sudo
ls -lrt ~crojasList files in a particular home directory
xzfgrepGrep inside a .xz archive without uncompressing
ManManual then follow by the command you want information on
Snmpwalksnmpwalk -c citcowan -v1 atl0navpn01.routers.citco.com system
ps -ef |grep -i lofShows Process and its associated PID if still running
Kill *****Where ***** is the PID (will kill the service use -9 to force kill , use with caution
Ls -lsaSo date time of file last modified and file permissions
Df -kDisplay File System
/srv/tftpbootTFTP Directory in Linux
ntpq -pShow the NTP time source and if in sync
PasswdChange your password in Linux
Passwd “username”As Root change a usernames password
chownChange ownership of Directory / File
ChmodChange rights of Directory / File
usermod -a -G wheel xxxAdd an existing user to the wheel group (xxx is user id)
snmpwalk -c citcowan -v2c atl0fwprd03a 1.3.6.1.4.1.25461.2.1.2 
dzinfo rojonesRun as run on any centryfy box to verify access for that user acount