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:
3111
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:
Write a shell script to reverse the contents of a file
Write a shell program to exchange the values of two variables
Overview of UNIX
Changing current directory - cd
Shell Script to check file is ordinary or not
Wild cards and examples in unix
List all files start with a or A
Rename a file from first1.txt to first2.txt
Write a shell program to count number of words, characters,white spaces and special symbols in a givin text
Write a script to find the value of one number raised to the power of another
Write a menu driven program to display message, user name, terminal name, login date and time
Input mode command in unix
Write a shell program to count number of words, characters, white spaces and special symbols in a given text
Give example of cut command?
Write a shell program to exchange the values of two variables
Program to calculate the factorial of a number
Shell Script to read data from a file
Shell Script for generating a mark sheet
Collect system diagnostic message to from error log - dmesg
Execute the command which display login name, the name of your terminal and date and time of since user logged in
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