Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Explain the difference between the commands cd ~smart and cd ~/smart Post 302469110 by Scott on Thursday 4th of November 2010 06:52:42 PM
Old 11-04-2010
Hi.

Yes.

The first (cd ~smart) will cd to the home directory or user smart.

The second will cd to a directory called smart in the current user's home directory. cd ~ will cd to the current user's home directory.
This User Gave Thanks to Scott For This Post:
 

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

smart question

eg. : there is a file - 322 bytes, how can I (or you) view just a half of file (161 bytes)? (3 Replies)
Discussion started by: zylwyz
3 Replies

2. Shell Programming and Scripting

smart script?

First, I know that's a bad title. I couldn't think of anything short enough. ... I wrote the following script to let me know when various parts of the network are down. It used to look like this before last weekend when I got over 500 emails about 1 host being down all weekend: this is in the... (1 Reply)
Discussion started by: raidzero
1 Replies

3. Shell Programming and Scripting

Smart Backup Script

Hello Im pretty new to scripting in linux but am keen to learn. I'm trying to create a backup script similar to a batch script I developed for windows (dos) where the backup is to a usb drive. no problems with the backup process but what I would like to do is automatically remove old files if... (2 Replies)
Discussion started by: TheGacko
2 Replies

4. Shell Programming and Scripting

Need smart script !

Hi, I need a script to assign variables the below paths /appl/user_projects/domains/<xxx>/servers/<yyy>/logs Where <xxx> can be any number and name of directories. <yyy> can be another set of any number of names and directories. I want to neglect all the <xxx> and <yyy>... (3 Replies)
Discussion started by: mohtashims
3 Replies
smart(8)																  smart(8)

NAME
smart - The Smart Package Manager SYNOPSIS
smart command [options] [arguments] DESCRIPTION
The Smart Package Manager project has the ambitious objective of creating smart and portable algorithms for solving adequately the problem of managing software upgrading and installation. This tool works in all major distributions, and will bring notable advantages over native tools currently in use (APT, APT-RPM, YUM, URPMI, etc). Action commands update install reinstall upgrade remove check fix download clean Setup commands channel priority mirror flag Query commands search query info stats Run "smart command --help" for more information. Options --version Show program's version number and exit --config-file=FILE Configuration file (default is <data-dir>/config) --data-dir=DIR Specifies the config file location - can take http, ftp urls and local file Data directory (default is /var/lib/smart/) --log-level=LEVEL Set the log level to level (debug, info, warning, error) --gui Use the default graphic interface --shell Use the default shell interface --interface=NAME Use the given interface --ignore-locks Don't respect locking -o OPT, --option=OPT Set the option given by a name=value pair Examples smart install --help smart install pkgname smart --gui smart --gui install pkgname smart --shell FILES
/etc/smart/ /var/lib/smart/ /usr/lib/smart/ /usr/lib/smart/plugins/ SEE ALSO
http://labix.org/smart AUTHOR
Gustavo Niemeyer <gustavo@niemeyer.net> Christoph Thiel 2006 Jun 16 smart(8)
All times are GMT -4. The time now is 03:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy