What are UNIX commands and directory names?

Asked 2 years ago, Updated 2 years ago, 106 views

Recently, I've been fiddling with servers, and I've had more opportunities to use Unix and Linux commands.By the way, I'm curious.

Commands such as ls, rm, cd, mkdir, grep, dd, chmod, and su Directory names such as /var, /usr, /bin, /sbin, /tmp, etc.

What is the origin of these?

Until just now
dd stands for data dump
su stands for super user
I thought /usr stands for user

However, from a friend
dd stands for dataset definition
su stands for switch user
/usr stands for User Services and Routines

When I was informed, I wanted to know the origin and the abbreviation of the word

linux unix

2022-09-30 21:14

1 Answers

I summarized it. I will post it as a wiki.
Please feel free to add and edit

  • command

ls=list
mv=move
cd=change directory
cp=copy
rm=remove
mkdir=make directory
rmdir=remove directory
chown=changeowner
chmod=change mode
cat=catenate||concatenate
grep="g/RE/p"||global search a regular expression and print
ping=Packet InterNet Groper
sh=shell
bash=Bourne Again Shell
su=Super User||Switch User||Substite User
sudo=superuser do
vi=visual
sed=Stream Editor
unique=unique
awk=Aho, Weinberger, Kernighan #3 Author Names
man=manual
pwd=print working directory
bg=background
fg=foreground
ps=process status
du=disk usage
df=disk free
dd=Dump Data/Data Definition
passwd=password
tar=Tape Archive
wall=Write to ALL users
xargs=eXecute ARGmentS#Source Required
uname=UNIX Name

  • directory

/bin=binary
/sbin=System Binary
/usr=User Services and Routines#Not short for User
/var=variable
/lib=library
/tmp=temporary
/dev=device
/etc=Et Cetra
/proc=process
/sys=system
/ucb=University of California at Berkeley

  • Other

tty=TeleTYpe
stdin=Standard In
SQL=Structured English Query Language
rc=Run Command#.bashrc

Source
Linux commands become much more familiar when you understand the meaning of words
New UNIX Originating/Reading Dictionary
UNIX Terminology Origin/Reading Dictionary version 1.6 (Feb131995)


2022-09-30 21:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.