There are seven fields in the password file on each line for each user. They are:
login name
· optional encrypted password
· numerical user ID
· numerical group ID
· user name or comment field
· user home directory
· optional user command interpreter
For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.
The 'touch' command creates a new empty file in Unix.
The 'file' command in Unix attempts to guess what type of file you are looking at by reading the first several sections of the file and comparing it to a list of known contents for files. It is a useful command if you just want to know what type of file something is without having to examine it yourself. The command is not perfect because it does not detect all types of files but it does a reasonable job of guessing. It is used because in Unix there are no file extension types to tell us what kind of file a given file might be; you have to look inside the file to tell how it might be used.
A Unix memory dump is usually placed in a file called 'core'. You merely delete the file with the 'rm' command, as you would any other file on the system. For Linux/Unix on the mainframe, the file is called CEEDUMP (if the C plus plus runtime LE library is being used), and you delete it the same way.
it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.
The most common between Unix systems would be NFS Network File System.
The Unix pathname format uses the forward slash (/) to separate the component parts of the path.
echo "This is my text" > myfile.txt
If you are asking about how can you find the type of file something is, the command is 'file' followed by the filename. This command will attempt to tell you something about the file and how it might be used.
Structureless files - There is no internal structure imposed on the contents of a file. Any structure desired by the user can be used.
Most Unix systems no longer store the passwords in the password file; it is stored in a private file called /etc/shadow, only accessible by the root account. The passwords are stored in encrypted form in that file.
It depends on the version of Unix you are interested in. Some general files that are used are /etc/resolv.conf, which resolves queries to DNS, and also the /etc/hosts file, which can also resolve static queries (but probably wouldn't be used for this purpose).