Basic Linux Commands

cod500's version from 2017-04-18 12:06

Section 1

Question Answer
ls List directory contents
grepFind text in a file
cd Change current directory
shutdown Shut the system down
pwd Displays the current working directory path
passwd Change a user account password
mv Move (rename) a file
cp Copy a file
rm Remove files or directories
mkdir Make a directory

Section 2

Question Answer
chmod Change mode of a file system object (r=read, w=write, x=execute)
chown Change file owner and group
iwconfig View or change wireless network configuration
ifconfig View or configure a interface and IP configuration
ps View the current processes
su Become super user
sudo Execute a command as the super user
apt-getHandles the management of application packages
vi Visual mode editor (Full screen editing with copy, paste, and more)
dd Backup and restore an entire partition

Recent badges