Basic Linux Commands
Basic Linux Commands
vlsijunction.com/2015/08/basic-linux-commands.html
Below are Basic command which may be useful for Physical Design Engineers while
working in Linux Environment
cd - change directories
1/5
u - User who owns the file.
g - Group that owns the file.
o - Other.a - All.r - Read the file.
w - Write or edit the file.
x - Execute or run the file as a program.Numeric
Permissions: CHMOD can also to attributed by using Numeric
Permissions:
400 read by owner040 read by group004 read by anybody (other)
200 write by owner020 write by group002 write by anybody100
execute by owner010 execute by group001 execute by anybody
cp - Copy files
cp myfile yourfileCopy the files "myfile" to the file "yourfile" in the
current working directory. This command will create the file
"yourfile" if it doesn't exist. It will normally overwrite it without
warning if it exists.cp -i myfile yourfileWith the "-i" option, if the
file "yourfile" exists, you will be prompted before it is overwritten.
2/5
files are different with different inodes. Typing "ls -l test symlink"
will show that symlink points to the file test.locate - A fast
database driven file locator.
bg
bg jobs Places the current job (or, by using the alternative form,
the specified jobs) in the background, suspending its execution so
that a new user prompt appears immediately. Use
the jobs command to discover the identities of background jobs.
3/5
fg
fg jobs - Brings the current job (or the specified jobs) to the
foreground.file files - Determines and prints a description of the
type of each specified file.find path -name pattern -printSearches
the specified path for files with names matching the specified
pattern (usually enclosed in single quotes) and prints their names.
The findcommand has many other arguments and functions; see
the online documentation.
shutdown minutes
4/5
sleep time - Causes the command interpreter to pause for the
specified number of seconds.
sort files - Sorts the specified files. The command has many useful
arguments; see the online documentation.
split file - Splits a file into several smaller files. The command has
many arguments; see the online documentation
5/5