Ubuntu :: Change File Property Using Command Line?
Jan 16, 2011i want to know how to change file property using linux command line?
View 3 Repliesi want to know how to change file property using linux command line?
View 3 RepliesI'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
I just searching a way to modify a hotkey like in system->preference->keyboard shortcuts but in command line, because I want to make a configuration file and I need to delete a hotkey.
View 3 Replies View RelatedI understand the basics, where certain files are located, how to change basic things, and very basic stuff with the command line (I use it to organize my files mainly). If at all possible could you supply me with a guide - be a website or a book to:
1) Just the general layout of the system (whats in the depth of the /etc folder and what naught)
2) How to more efficiently use the command line. As in where I am not giving in and using the GUI all the time.
3) What programming language(s) should I learn. I am thinking C and Python to start.
I decided to install Chromium OS to my dad's netbook, and it works perfectly. The only problem is that i can't change the time. Luckily, I can access a command line by pressing CTRL+ALT+T. So maybe I can change it from the command line.
View 5 Replies View RelatedI upgraded to Ubuntu 10.4 and for various reasons I found myself selecting a KDE session without KDE being installed. This has locked me into a situation where I can't boot up/log in properly. I can get to a command line and start the x environment as root. How can I re-set any user's preferences to default (via the CL)? Ie, I'd like to re-set a user (myself) so that I can again choose the log in to a gnome session.
View 2 Replies View RelatedWhat is the command to change a desktop icon's image to a custom image? Also, is it the same for a link and launchers?
View 4 Replies View Relatedwhat is the command or man/info page that show how to change screen/monitor resolution while in the bash shell?
View 1 Replies View RelatedI built Ubuntu desktop up from a server install. I'm using Gnome. I want to change the system's language, and I have no menu option to enter System>Preferences>Language Support. I need to either:1.) Install whatever will place that option in the menu.2.) Affect the change via the command line (preferable).I just can't figure out what to install and Google only produces GUI tutorials. =/
View 2 Replies View RelatedDoes anyone know if there's a command I can put in Terminal to change the screen resolution?
View 3 Replies View Relatedis there a way to change the gdm login screen (either the background image or the text in the login window) from the command line?i'd like to check several things at boot and report that on the gdm login screnn.
View 8 Replies View RelatedI installed the latest version off the download site yesterday, when first booting an error message came up that my hardware does not support the most recent desktop environment so I should switch to classic. After a bit of googling I found out how to do this.
The problem is that my hardware really doesn't support the current desktop environmet, I can't get the windows to appear, I just get black rectangles in the middle of the screen instead, so the GUI is inaccessable.
I am looking for instructions on changing the desktop environment from a command line (which I can boot to).
I had chosen automatic logon. Then updated to 10.04. During logout to change Desktop Environment/Session, I noticed that GDM login screen had an option for KDE session although I had not installed KDE. I got curious. So I tried it. System hangs. Restart does not help because somehow gdm proceeds to the KDE session although I did not choose it to be default session. So I had only CLI left.
I got over it by stopping gdm (/etc/init.d/gdm stop) and removing gdm and installing xdm. Anyway, what is the proper way? How to order desktop environment from CLI and/or where is the default desktop environment option written in a file?
Is there a complete mirror list you can choose from the command line. There is good way doing it from Administration > Software Sources. However.. if you don't have X.. is there an easy way to choose between different sources(mirrors) without editing the sources.lst manually, but choosing for example main mirror or some other faster one let's say in your region?
View 3 Replies View RelatedOn Ubuntu Desktop editions, there is a GUI application which allows easily changing to a different server. It can even find out how one is the fastest update server.Is there a corresponding command line tool available to do this? Because I'm using the Server edition without GUI. I hate to manually edit /etc/apt/source.list.
View 4 Replies View RelatedI'd to know how to change ubuntu's default window manager through command line.
View 1 Replies View RelatedI'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.
My preferred terminal is terminator, but it doesn't really matter at this point.
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option
View 4 Replies View RelatedI am using debian 5.04(base) + lxde. I am using gdm to login. I want to change the gdm to commandline login only, which similar to (ctrl +alt + f2) but whenever computer restart, it boot into gdm. what is the file to change the boot level?
View 1 Replies View RelatedI would like to convert a .ods file to a .csv file via command line on a server running ubuntu with no graphical interface.
xls2csv does a perfect job on xls files; is there something similar for ods files?
The problem relates only to the configuration of services in text mode ("setup", part of the setuptool package). The setuptool package is "setuptool-1.19.4-2.fc9.x86_64". There is no "Services configuration" menu when I start "setup". The tools listed in the setup window are:
- Authentication configuration
- Firewall configuration
- Keyboard configuration
[code].....
IMHO, the reason I don't have a services configuration tool is the missing services configuration files "98services" and/or 99"services" (or something like that) from the setuptool's configuration directory. (Please correct me if I am wrong.) Can someone please let me know what information should be in those two files, and what are the correct file names? Without them I cannot change the services on this computer. (FYI, the GUI (system-config-services) works, however, I need to run this computer in text mode.)
I have a Debian Linux desktop. I want to change the screen's brightness without pressing the brightness button of my monitor. How can I do this? is this possible in command line or is there an application to be installed?
View 3 Replies View RelatedI'm trying to automate OS installation. I've setup PXE and able to do network installation. For installation, I'm changing the BIOS boot order to boot from network.Once the OS installation is over, I need to manually change the BIOS boot order to boot from hard-disk. Can BIOS boot order be changed using programs/command-line so that i can eliminate human intervention in the installation process by changing back to the original boot order by program/commands?
View 2 Replies View RelatedMy .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.
View 5 Replies View RelatedI need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
OS: CentOS 5.3 Enterprise Server
Red Hat Nash Version 5.1.19.6
I need to find a command-line program to randomly change my MAC address. I know on Ubuntu there is a program called 'macchanger'. And on Windows another one called 'macshift'. I just can't find one for CentOS 5.3 Enterprise Edition.
I have a virtual machine with SUSE Linux Entperise 10 SP2 (I586) installed. However, the default setting is using command line based interface.
Is it possible to change it to be GNOME or KDE based interface ?
is it possible to open a file with a terminal without specifying the application it will use ? In fact I mean what is the equivalent of the double click on the file manager for a terminal.
View 9 Replies View RelatedI'm trying to run a perl script found at http://wiki.scribus.net/index.php/Web_optimised_PDF.
running "compress-newsletter.pl input.pdf" produces the result:
-bash: compress-newsletter.pl: command not found
I have some large log files that I would like to search for a specific text via command line in the file. I know I can open the file in GUI but is there command that I can run against the file path then make it search in the file in command line?
View 7 Replies View Related