-->

Common Linux Commands

Common Linux Commands

The next listing describes roughly of the most useful together with pop Linux commands. This is non a comprehensive listing yesteryear whatsoever means, only this should give you lot a quick reference to roughly of the mutual Linux commands. Bookmark this article for your futurity reference.
Consult the homo page for each ascendancy to larn close additional arguments together with details of operation.


CommandDescription
cat [filename]Display file’s contents to the measure output device (usually your monitor).
cd /directorypathChange to directory.
chmod [options] way filenameChange a file’s permissions.
chown [options] filenameChange who owns a file.
clearClear a ascendancy describe screen/window for a fresh start.
cp [options] root destinationCopy files together with directories.
date [options]Display or laid upwardly the organisation appointment together with time.
df [options]Display used together with available disk space.
du [options]Show how much infinite each file takes up.
file [options] filenameDetermine what type of information is inside a file.
find [pathname] [expression]Search for files matching a provided pattern.
grep [options] designing [filesname]Search files or output for a special pattern.
kill [options] pidStop a process. If the procedure refuses to stop, use kill -9 pid.
less [options] [filename]View the contents of a file 1 page at a time.
ln [options] root [destination]Create a shortcut.
locate filenameSearch a re-create of your filesystem for the specified filename.
lpr [options]Send a impress job.
ls [options]List directory contents.
man [command]Display the help information for the specified command.
mkdir [options] directoryCreate a novel directory.
mv [options] root destinationRename or motion file(s) or directories.
passwd [name [password]]Change the password or allow (for the organisation administrator) to alter whatsoever password.
ps [options]Display a snapshot of the currently running processes.
pwdDisplay the pathname for the electrical current directory.
rm [options] directoryRemove (delete) file(s) and/or directories.
rmdir [options] directoryDelete empty directories.
ssh [options] user@machineRemotely log inwards to roughly other Linux machine, over the network. Leave an ssh session yesteryear typing exit.
su [options] [user [arguments]]Switch to roughly other user account.
tail [options] [filename]Display the last n lines of a file (the default is 10).
tar [options] filenameStore together with extract files from a tarfile (.tar) or tarball (.tar.gz or .tgz).
topDisplays the resources existence used on your system. Press q to exit.
touch filenameCreate an empty file alongside the specified name.
who [options]Display who is logged on.


Additional References
Top 10 Best Cheat Sheets together with Tutorials for Linux / UNIX Commands

Blogger
Disqus
Pilih Sistem Komentar

No comments

Advertiser