Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Homework Help
RSS Feeds
Rename a file from first1.txt to first2.txt
Posted By:
Madison Campbell
Category:
Unix / Linux / Ubuntu
Views:
3119
Rename a file from first1.txt to first2.txt.
Code for Rename a file from first1.txt to first2.txt in Unix / Linux / Ubuntu
$ mv first1.txt first2.txt
Share:
Previous Post:
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Next Post:
Convert first1.txt file to hidden file
Didn't find what you were looking for? Find more on
Rename a file from first1.txt to first2.txt
Or get
search suggestion and latest updates
.
Madison Campbell
author of Rename a file from first1.txt to first2.txt is from Toronto,
Canada
.
View All Articles
Related Articles and Code:
Convert first1.txt file to hidden file
Sort file abc.txt and save this sorted file in xyz.txt
Append abc.txt, xyz .txt
Copy abc.txt into xyz
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Move or Rename file and directories - mv
Example to rename table name
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
Write a shell script to search all files and rename them such that they do not contain the shell PID.
Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Split a large file into small files
Combine two files to a single file
Program of reading data from one text file and writing in new text file
File handling program to copy bytes from one file to another
File handling program to copy characters from one file to another
File handling program to count number of characters in a file
Program to describe The Functionality of merging two files in a single file
PROGRAM TO READ THE STUDENT DETAILS FROM THE STUDENT INFORMATION FILE USING FILE READ OPERATION
PROGRAM TO WRITE THE STUDENT DETAILS IN STUDENT INFORMATION FILE USING FILE WRITE OPERATION
Other Interesting Articles in Unix / Linux / Ubuntu:
Shell Script combine file in one file horizontally and vertically
Shell Script to create a pyramid of number
Program to perform all ADDITION on two operands : (decimal, binary, octal,hexadecimal)
Shell script to print first 5 odd numbers
Write a shell program to convert all the contents into the uppercase in a particular file
Shell script to change extension of an existing file
How would u get today’s date?
Add a new group to the system - groupadd
For joining the line
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Remove a directory - rmdir
Copy abc.txt into xyz
Write a script to count and report the number of entries in each subdirectory mentioned in the path, which is supplied as a command-line argument
Shell Script for generating a mark sheet
Shell Script to make a menu driven calculator using case
Write a shell script to find the sum, the average and the product of the four integers entered
Shell script that takes filename or the filename with its full path as an input during execution and display ls -l command result for inputted file
Find the lines containing a number in a file
Suppose four filenames are supplied then the first file should get copied into second file, the third file should get copied into four
Copy file and directory subtrees - cp
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint