Monday 21, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Sunday, 9 July 2017

Change Directory cd Linux Command

Change Directory cd Linux Command

NAME

cd - Change working directory

SYNOPSIS

cd <dirName>

DESCRIPTION

Change the current working directory to dirName, or to the home directory (as specified in the HOME environment variable) if dirName is not given.
Returns an empty string. Note that the current working directory is a per-process resource; the cd command changes the working directory for all
interpreters and (in a threaded environment) all threads.

EXAMPLES

Change to the home directory of the user fred:

cd ~fred

Change to the directory lib that is a sibling directory of the current one:

cd ../lib

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • sha1sum Linux Command sha1sum sha1sum [option] [files] sah1sum [option] --check [file] Compute or check 160-bit SHA1 checksums to verify file integrity. If the file is not specified, or specified as -, read from standard input. Options -b, --b… Read More
  • chown Linux Command chown chown [options] newowner files chown [options] --reference=filename files Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also … Read More
  • locale Linux Command locale locale [options] [name] Print report on current locale settings. Locales determine the country-specific settings for a system, including character encodings, the formatting of dates, honorifics, diagnostic messages,… Read More
  • compress Linux Command compress compress [options] files Compress one or more files, replacing each with the compressed file of the same name with .Z appended. If no file is specified, compress standard input. Each file specified is compressed s… Read More
  • lftp Linux Command lftp lftp [options] [url] File transfer program with more features than ftp. The lftp command allows FTP and HTTP protocol transfers, plus other protocols including FISH (SSH based), FTPS, and HTTPS. It uses a shell-like c… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: Change Directory cd Linux Command Rating: 5 Reviewed By: eHowToNow